[Bug 936842] GNOME/GDM fails to start on openSUSE 42 (permission to X)
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.novell.com/show_bug.cgi?id=936842
http://bugzilla.novell.com/show_bug.cgi?id=936842#c8
--- Comment #8 from Federico Mena Quintero
Interesting, it shouldn't be trying to write the log file to /var/log but to ~gdm/.local/share/xorg/Xorg.0.log
So the reason the -logfile /dev/null got removed is, we now start the X session as the user instead of as root, and Xorg doesn't allow -logfile to be specified in that case (since in some cases, Xorg runs setuid root, and giving the user control of filenames has security implications). Xorg could probably be improved to accept /dev/null in this case, or to add a -nologfile or something, but I never followed up to make that happen.
Still it should be going to /var/lib/gdm/.local/share/xorg/Xorg.0.log or something like that.
Make sure the X server is built with logind support. failing that, maybe the Xwrapper config has needs_root_rights=yes and that's somehow gunking up the works? Not sure, but i'd start by looking at the X server code and see what conditions the config file gets written to ~/.local/share/xorg and see why those aren't being met for you.
-- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com