Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xorg.0.log has moved [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
rickj
Guru
Guru


Joined: 06 Feb 2003
Posts: 403
Location: Calgary, Alberta, Canada

PostPosted: Tue Jan 12, 2021 8:33 pm    Post subject: Xorg.0.log has moved [SOLVED] Reply with quote

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
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2993
Location: Canada

PostPosted: Tue Jan 12, 2021 8:34 pm    Post subject: Re: Xorg.0.log has moved Reply with quote

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
View user's profile Send private message
rickj
Guru
Guru


Joined: 06 Feb 2003
Posts: 403
Location: Calgary, Alberta, Canada

PostPosted: Tue Jan 12, 2021 8:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 47626
Location: 56N 3W

PostPosted: Tue Jan 12, 2021 8:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
rickj
Guru
Guru


Joined: 06 Feb 2003
Posts: 403
Location: Calgary, Alberta, Canada

PostPosted: Tue Jan 12, 2021 8:57 pm    Post subject: Reply with quote

Ah, right, thank you Neddy Seagoon. I missed the implication of that change.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum