[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-user
Subject:    Re: [gentoo-user] Thumbnail thingy generating large xorg-session.log file
From:       Dale <rdalek1967 () gmail ! com>
Date:       2023-12-05 20:51:16
Message-ID: 071af6b3-2efb-3768-a425-47248f784ae8 () gmail ! com
[Download RAW message or body]

Michael wrote:
> On Sunday, 3 December 2023 02:18:34 GMT Dale wrote:
>> Michael wrote:
>>> On Saturday, 2 December 2023 05:41:06 GMT Dale wrote:
>>>
>>> Unless you create your own sddm config file in /etc, the sddm package uses
>>> a default config file.  From the man page:
>>>
>>> FILES
>>>
>>>        /usr/share/sddm/sddm.conf.d
>>>        
>>>               System configuration directory
>>>        
>>>        /etc/sddm.conf.d
>>>        
>>>               Local configuration directory
>>>        
>>>        /etc/sddm.conf
>>>        
>>>               Local configuration file for compatibility
>>>        
>>>        /usr/share/sddm/themes
>>>        
>>>               Where sddm looks for themes
>>>
>>> Search in the above paths and you should find the default sddm config
>>> file,
>>> which you can copy over to /etc and tweak it to stop it recording events
>>> in
>>> your user xsession log file.
>> For the first file, not here.  I have this but no config file that I
>> see.  Others below that.
>>
>>
>> root@fireball / # ls /usr/share/sddm/
>> total 44
>> drwxr-xr-x   7 root root  4096 Jul  2 11:05 .
>> drwxr-xr-x 411 root root 20480 Dec  2 19:20 ..
>> drwxr-xr-x   2 root root  4096 Dec  5  2022 faces
>> drwxr-xr-x   2 root root  4096 Jul  2 11:05 flags
>> drwxr-xr-x   2 root root  4096 Jul  2 11:05 scripts
>> drwxr-xr-x   8 root root  4096 Nov  4  2019 themes
>> drwxr-xr-x   2 root root  4096 Jul  2 11:05 translations
>> root@fireball / #
>>
>> cat /etc/sddm.conf.d/01gentoo.conf
>> [General]
>> # Remove qtvirtualkeyboard as InputMethod default
>> InputMethod=
>> root@fireball / #
>>
>> cat /etc/sddm.conf
>> [Autologin]
>> Relogin=false
>> Session=
>> User=
>>
>> [General]
>> HaltCommand=
>> RebootCommand=
>>
>> [Theme]
>> Current=maldives
>> CursorTheme=Adwaita
>>
>> [Users]
>> MaximumUid=60000
>> MinimumUid=1000
>> root@fireball / #
>>
>>
>> This may help give ideas on what I do have. 
> My apologies, your files are correct as you've shown, mine are from a previous 
> sddm version 0.18.1-r8.  I had to mask the latest version 0.20.0-r1, because 
> it won't launch fully on this PC to allow me to login.
>
> This is what you can do easily and without having to add your own new 
> 02_dale_sddm.conf file just to specify the log file path for sddm:
>
> mv ~/.local/share/sddm/xorg-session.log ./
> ln -s /dev/null ~/.local/share/sddm/xorg-session.log
>
> then login into Plasma and the problem of an ever growing log file will be 
> gone.  You will need to remove the symlink and restore the log file if you 
> want to troubleshoot the sddm or desktop in the future.
>
>  


Well, I got sidetracked on the ffmpeg thing.  Now that it is fixed, this
file isn't filling with anything.  It just sorta sits there.  I did
empty it at one point and it has stayed that way for a bit now.  Maybe
recompiling some packages and getting everything up to date given other
issue with opencascade and such fixed whatever it was that caused it. 

If it starts filling itself with useless stuff again, back to the
solution you gave. 

Thanks for the help.  :-D

Dale

:-)  :-) 

[Attachment #3 (text/html)]

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Michael wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:2914278.e9J7NaK4W3@rogueboard">
      <pre class="moz-quote-pre" wrap="">On Sunday, 3 December 2023 02:18:34 GMT Dale \
wrote: </pre>
      <blockquote type="cite" style="color: #000000;">
        <pre class="moz-quote-pre" wrap="">Michael wrote:
</pre>
        <blockquote type="cite" style="color: #000000;">
          <pre class="moz-quote-pre" wrap="">On Saturday, 2 December 2023 05:41:06 \
GMT Dale wrote:

Unless you create your own sddm config file in /etc, the sddm package uses
a default config file.  From the man page:

FILES

       /usr/share/sddm/sddm.conf.d
       
              System configuration directory
       
       /etc/sddm.conf.d
       
              Local configuration directory
       
       /etc/sddm.conf
       
              Local configuration file for compatibility
       
       /usr/share/sddm/themes
       
              Where sddm looks for themes

Search in the above paths and you should find the default sddm config
file,
which you can copy over to /etc and tweak it to stop it recording events
in
your user xsession log file.
</pre>
        </blockquote>
        <pre class="moz-quote-pre" wrap="">For the first file, not here.  I have this \
but no config file that I see.  Others below that.


root@fireball / # ls <i class="moz-txt-slash"><span \
class="moz-txt-tag">/</span>usr/share/sddm<span class="moz-txt-tag">/</span></i> \
total 44 drwxr-xr-x   7 root root  4096 Jul  2 11:05 .
drwxr-xr-x 411 root root 20480 Dec  2 19:20 ..
drwxr-xr-x   2 root root  4096 Dec  5  2022 faces
drwxr-xr-x   2 root root  4096 Jul  2 11:05 flags
drwxr-xr-x   2 root root  4096 Jul  2 11:05 scripts
drwxr-xr-x   8 root root  4096 Nov  4  2019 themes
drwxr-xr-x   2 root root  4096 Jul  2 11:05 translations
root@fireball / #

cat /etc/sddm.conf.d/01gentoo.conf
[General]
# Remove qtvirtualkeyboard as InputMethod default
InputMethod=
root@fireball / #

cat /etc/sddm.conf
[Autologin]
Relogin=false
Session=
User=

[General]
HaltCommand=
RebootCommand=

[Theme]
Current=maldives
CursorTheme=Adwaita

[Users]
MaximumUid=60000
MinimumUid=1000
root@fireball / #


This may help give ideas on what I do have. 
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">My apologies, your files are correct as \
you've shown, mine are from a previous  sddm version 0.18.1-r8.  I had to mask the \
latest version 0.20.0-r1, because  it won't launch fully on this PC to allow me to \
login.

This is what you can do easily and without having to add your own new 
02_dale_sddm.conf file just to specify the log file path for sddm:

mv ~/.local/share/sddm/xorg-session.log ./
ln -s /dev/null ~/.local/share/sddm/xorg-session.log

then login into Plasma and the problem of an ever growing log file will be 
gone.  You will need to remove the symlink and restore the log file if you 
want to troubleshoot the sddm or desktop in the future.

 
</pre>
    </blockquote>
    <br>
    <br>
    Well, I got sidetracked on the ffmpeg thing.  Now that it is fixed,
    this file isn't filling with anything.  It just sorta sits there.  I
    did empty it at one point and it has stayed that way for a bit now. 
    Maybe recompiling some packages and getting everything up to date
    given other issue with opencascade and such fixed whatever it was
    that caused it.  <br>
    <br>
    If it starts filling itself with useless stuff again, back to the
    solution you gave.  <br>
    <br>
    Thanks for the help.  :-D <br>
    <br>
    Dale <br>
    <br>
    :-)  :-)  <br>
  </body>
</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic