View previous topic :: View next topic |
Author |
Message |
rickj Guru


Joined: 06 Feb 2003 Posts: 403 Location: Calgary, Alberta, Canada
|
Posted: Tue Jan 12, 2021 8:33 pm Post subject: Xorg.0.log has moved [SOLVED] |
|
|
Unaccountably, my Xorg.0.log in /var/log is way out of date. The current one is found in ~/.local/share/xorg/Xorg.0.log. This is true of at least two systems i maintain.
Is this something odd in my configuration? Have I missed a trick here?
Last edited by rickj on Tue Jan 12, 2021 8:57 pm; edited 1 time in total |
|
Back to top |
|
 |
dmpogo Advocate

Joined: 02 Sep 2004 Posts: 2993 Location: Canada
|
Posted: Tue Jan 12, 2021 8:34 pm Post subject: Re: Xorg.0.log has moved |
|
|
rickj wrote: | Unaccountably, my Xorg.0.log in /var/log is way out of date. The current one is found in ~/.local/share/xorg/Xorg.0.log. This is true of at least two systems i maintain.
Is this something odd in my configuration? Have I missed a trick here? |
I guess you started running X as a user, and not as root (suid) as before. Running as a user it cannot write into /var/log |
|
Back to top |
|
 |
rickj Guru


Joined: 06 Feb 2003 Posts: 403 Location: Calgary, Alberta, Canada
|
Posted: Tue Jan 12, 2021 8:39 pm Post subject: |
|
|
Indeed I did. I have habitually started X as a user, these many years, but have always in the past found a current /var/log/Xorg.0.log. Something must have changed. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 47626 Location: 56N 3W
|
Posted: Tue Jan 12, 2021 8:49 pm Post subject: |
|
|
rickj,
Xorg used to run as root. It had the suid bit set. That's still an option if you build it with USE=suid
It still needs to be root for some of the setup. Now, by default, that's managed by systemd or elogind.
See the news item.
Code: | [49] N 2020-06-24 xorg-server dropping default suid |
_________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
rickj Guru


Joined: 06 Feb 2003 Posts: 403 Location: Calgary, Alberta, Canada
|
Posted: Tue Jan 12, 2021 8:57 pm Post subject: |
|
|
Ah, right, thank you Neddy Seagoon. I missed the implication of that change. |
|
Back to top |
|
 |
|