2

I failed to read the release notes before upgrading to 15.10, I still had fglrx drivers installed. When rebooting after the upgrade it would hang indefinitely in the splash screen, I couldn't open a console with 'ctrl alt f1-6'. I was able to solve this by booting into recovery mode, opening up a root console purging the fglrx driver and installing the open source radeon driver. Now it hangs in this screen http://i.imgur.com/qAzaUtu.jpg

                               **System info**
  • memory 15GiB System memory processor AMD FX(tm)-8350 Eight-Core
  • Processor bridge RD890 PCI to PCI bridge (external gfx0 port B)
  • bridge RD890 PCI to PCI bridge (PCI express gpp port B) display
  • Tahiti XT Radeon HD 7970/8970 OEM / R9 280X] multimedia Tahiti XT
  • HDMI Audio Radeon HD 7970 Series

                              **lightdm.log**
    

    [+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
    [+0.00s] DEBUG: Starting Light Display Manager 1.16.4, UID=0 PID=6021
    [+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
    [+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
    [+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
    [+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
    [+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf
    [+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
    [+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
    [+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
    [+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
    [+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
    [+0.00s] DEBUG: Registered seat module xlocal
    [+0.00s] DEBUG: Registered seat module xremote
    [+0.00s] DEBUG: Registered seat module unity
    [+0.00s] DEBUG: Monitoring logind for seats
    [+0.00s] DEBUG: New seat added from logind: seat0
    [+0.00s] DEBUG: Seat seat0: Loading properties from config section Seat:*
    [+0.00s] DEBUG: Seat seat0: Starting
    [+0.00s] DEBUG: Seat seat0: Creating greeter session
    [+0.00s] DEBUG: Seat seat0: Creating display server of type x
    [+0.00s] DEBUG: Using VT 7
    [+0.00s] DEBUG: Seat seat0: Starting local X display on VT 7
    [+0.00s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
    [+0.00s] DEBUG: DisplayServer x-0: Writing X server authority to /var/run/lightdm/root/:0
    [+0.00s] DEBUG: DisplayServer x-0: Launching X Server
    [+0.01s] DEBUG: Launching process 6033: /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
    [+0.01s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
    [+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
    [+0.01s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
    [+0.01s] DEBUG: Loading users from org.freedesktop.Accounts
    [+0.01s] DEBUG: User /org/freedesktop/Accounts/User1001 added
    [+0.01s] DEBUG: User /org/freedesktop/Accounts/User1000 added
    [+0.28s] DEBUG: Got signal 10 from process 6033
    [+0.28s] DEBUG: DisplayServer x-0: Got signal from X server :0
    [+0.28s] DEBUG: DisplayServer x-0: Connecting to XServer :0
    [+0.28s] DEBUG: Seat seat0: Display server ready, starting session authentication
    [+0.28s] DEBUG: Session pid=6149: Started with service 'lightdm-greeter', username 'lightdm'
    [+0.29s] DEBUG: Session pid=6149: Authentication complete with return value 0: Success
    [+0.29s] DEBUG: Seat seat0: Session authenticated, running command
    [+0.29s] DEBUG: Session pid=6149: Running command /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter
    [+0.29s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
    [+0.29s] DEBUG: Session pid=6149: Logging to /var/log/lightdm/x-0-greeter.log
    [+0.31s] DEBUG: Activating VT 7
    [+0.31s] DEBUG: Activating login1 session c15
    [+0.31s] DEBUG: Seat seat0 changes active session to c15
    [+0.31s] DEBUG: Session c15 is already active
    [+0.31s] DEBUG: Session pid=6149: Greeter closed communication channel
    [+0.31s] DEBUG: Session pid=6149: Exited with return value 1
    [+0.31s] DEBUG: Seat seat0: Session stopped
    [+0.31s] DEBUG: Seat seat0: Stopping; failed to start a greeter
    [+0.31s] DEBUG: Seat seat0: Stopping
    [+0.31s] DEBUG: Seat seat0: Stopping display server
    [+0.31s] DEBUG: Sending signal 15 to process 6033
    [+0.76s] DEBUG: Process 6033 exited with return value 0
    [+0.76s] DEBUG: DisplayServer x-0: X server stopped
    [+0.76s] DEBUG: Releasing VT 7
    [+0.76s] DEBUG: DisplayServer x-0: Removing X server authority /var/run/lightdm/root/:0
    [+0.76s] DEBUG: Seat seat0: Display server stopped
    [+0.76s] DEBUG: Seat seat0: Stopped
    [+0.76s] DEBUG: Required seat has stopped
    [+0.76s] DEBUG: Stopping display manager
    [+0.76s] DEBUG: Display manager stopped
    [+0.76s] DEBUG: Stopping daemon
    [+0.76s] DEBUG: Exiting with return value 1

                           x-0-greeter.log

error writing X authority: Failed to open X authority /var/lib/lightdm/.Xauthority: No such file or directory

  • It is possible that the folder /var/lib/lightdm has not been created. You could try: mkdir -p /var/lib/lightdm; chown -R lightdm:lightdm /var/lib/lightdm ; chmod 0750 /var/lib/lightdm with root permission if needed. – Prolix Nov 1 '15 at 14:43
5

It is possible that the folder /var/lib/lightdm has not been created.

You could try: mkdir -p /var/lib/lightdm; chown -R lightdm:lightdm /var/lib/lightdm ; chmod 0750 /var/lib/lightdm with root permission if needed.

  • /var/lib/lightdm-data/lightdm exists. Maybe a symlink is a better idea? – tokam Nov 23 '15 at 17:55
  • @tokam If it works with a symlink it might be a better option, I did not test it. In my install, where I did not change anything by hand, I have the 2 lightdm directories and the one in lightdm-data stays empty. /var/lib/lightdm-data – Prolix Dec 8 '15 at 16:23
  • I do not know if it work, in #ubuntu-de they recommended me not to use a symlink as I did then. – tokam Dec 16 '15 at 14:26
  • After creating the directory, I had to also create the Xauthority file with sudo touch /var/lib/lightdm/.Xauthority && sudo chown lightdm:lightdm /var/lib/lightdm/.Xauthority – Gabriel Grant Oct 3 '16 at 14:11
1

A different tack on the same problem. I ended up looking at the same error messages after tracking through a broken / low graphics mode outcome during startup.

I had reinstalled lightdm as part of attempting to fix this. I found after reinstalling lightdm the directory /var/lib/lightdm-data/lightdm, but the user "lightdm" gets given "/var/lib/lightdm" as it's home directory. ie. It's home directory does not exist!

I got mine to work by changing lightdm's home directory to "/var/lib/lightdm-data/lightdm" in /etc/passwd.

Then restart lightdm and off it went as per usual.

16.04.3 LTS for your info.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.