Noticed while diagnosing why X wasn't starting up on my desktop, it seems that lightdm expects /var/lib/lightdm-data to exist and be writable, but the ebuild does not create that directory: [+0.05s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0 [+0.05s] WARNING: Could not enumerate user data directory /var/lib/lightdm-data: No such file or directory [+0.05s] DEBUG: Acquired bus name org.freedesktop.DisplayManager [+0.05s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0 [+2.59s] DEBUG: Got signal 10 from process 2476 [+2.59s] DEBUG: DisplayServer x-0: Got signal from X server :0 [+2.59s] DEBUG: DisplayServer x-0: Connecting to XServer :0 [+2.59s] DEBUG: Seat: Display server ready, starting session authentication [+2.59s] DEBUG: Session pid=2662: Started with service 'lightdm-greeter', username 'root' [+2.82s] DEBUG: Session pid=2662: Authentication complete with return value 0: Success [+2.82s] DEBUG: Seat: Session authenticated, running command [+2.82s] DEBUG: Session pid=2662: Running command /usr/sbin/lightdm-gtk-greeter [+2.82s] DEBUG: Loading users from org.freedesktop.Accounts [+2.82s] DEBUG: User /org/freedesktop/Accounts/User1000 added [+2.83s] DEBUG: User /org/freedesktop/Accounts/User1001 added [+2.83s] DEBUG: User /org/freedesktop/Accounts/User1002 added [+2.83s] DEBUG: User /org/freedesktop/Accounts/User1003 added [+2.84s] DEBUG: Creating shared data directory /var/lib/lightdm-data/root [+2.84s] WARNING: Could not create user data directory /var/lib/lightdm-data/root: Error creating directory: No such file or directory [+2.84s] DEBUG: Session pid=2662: Logging to /var/log/lightdm/x-0-greeter.log Reproducible: Always Steps to Reproduce: Start lightdm
I have no such directory on my system ~$ ls /var/lib/|grep lightdm ~$ and everything work as expected. Are you sure this is your problem? After all, this is just a warning according to the log... Does lightdm work if you create that directory yourself?
(In reply to Markos Chandras from comment #1) > I have no such directory on my system > > ~$ ls /var/lib/|grep lightdm > ~$ > > and everything work as expected. Are you sure this is your problem? After > all, this is just a warning according to the log... > > Does lightdm work if you create that directory yourself? The directory is not required for lightdm to work, but if present, lightdm does store stuff there. The bug is about the warning, lightdm does expect that directory to be available and writable. My failure was nouveau still loading even though it was blacklisted via /etc/modprobe.d/. Removing nouveau (and then using nvidia binary drivers) allowed X to start.
ok i added a simple dodir /var/lib/lightdm-data to the 1.12.1 ebuild. Thanks