cyberwizzard
April 26th, 2012, 04:13 PM
LightDM does not start up properly on a fresh PP install. I see the Ubuntu logo at the end of the bootup (using nvidia drivers, so plymouth is useless) and then it goes back to console.
Looking at the logs, LightDM shuts down because its greeter shuts down. The greeter shuts down with a message that is not quite helpful.
LightDM.log:
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.2.1, UID=0 PID=1127
[+0.00s] DEBUG: Loaded 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: Adding default seat
[+0.00s] DEBUG: Starting seat
[+0.00s] DEBUG: Starting new display for greeter
[+0.00s] DEBUG: Starting local X display
[+0.04s] DEBUG: X server :0 will replace Plymouth
[+0.06s] DEBUG: Using VT 7
[+0.06s] DEBUG: Activating VT 7
[+0.06s] DEBUG: Logging to /var/log/lightdm/x-0.log
[+0.06s] DEBUG: Writing X server authority to /var/run/lightdm/root/:0
[+0.06s] DEBUG: Launching X Server
[+0.06s] DEBUG: Launching process 1145: /usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch -background none
[+0.06s] DEBUG: Waiting for ready signal from X server :0
[+0.06s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.06s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+1.73s] DEBUG: Got signal 10 from process 1145
[+1.73s] DEBUG: Got signal from X server :0
[+1.73s] DEBUG: Stopping Plymouth, X server is ready
[+1.75s] DEBUG: Connecting to XServer :0
[+1.75s] DEBUG: Starting greeter
[+1.75s] DEBUG: Started session 1257 with service 'lightdm', username 'lightdm'
[+1.88s] DEBUG: Session 1257 authentication complete with return value 0: Success
[+1.88s] DEBUG: Greeter authorized
[+1.88s] DEBUG: Logging to /var/log/lightdm/x-0-greeter.log
[+1.88s] DEBUG: Session 1257 running command /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter
[+2.21s] DEBUG: Greeter closed communication channel
[+2.21s] DEBUG: Session 1257 exited with return value 0
[+2.21s] DEBUG: Greeter quit
[+2.21s] DEBUG: Failed to start greeter
[+2.21s] DEBUG: Stopping display
[+2.21s] DEBUG: Sending signal 15 to process 1145
[+2.85s] DEBUG: Process 1145 exited with return value 0
[+2.85s] DEBUG: X server stopped
[+2.85s] DEBUG: Removing X server authority /var/run/lightdm/root/:0
[+2.85s] DEBUG: Releasing VT 7
[+2.85s] DEBUG: Display server stopped
[+2.85s] DEBUG: Display stopped
[+2.85s] DEBUG: Stopping X local seat, failed to start a display
[+2.85s] DEBUG: Stopping seat
[+2.85s] DEBUG: Seat stopped
[+2.85s] DEBUG: Required seat has stopped
[+2.85s] DEBUG: Stopping display manager
[+2.85s] DEBUG: Display manager stopped
[+2.85s] DEBUG: Stopping daemon
[+2.85s] DEBUG: Exiting with return value 1
x-0-greeter.log:
Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 key
(unity-greeter:1356): Gtk-WARNING **: cannot open display: :0
Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 key
x-0.log:
X.Org X Server 1.11.3
Release Date: 2011-12-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-29-server x86_64 Ubuntu
Current Operating System: Linux localhost 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-23-generic root=UUID=704dd6ee-0eed-436d-8fd7-dbf263bf1b39 ro quiet splash vt.handoff=7
Build Date: 05 April 2012 04:32:37AM
xorg-server 2:1.11.4-0ubuntu10 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.24.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Apr 26 17:00:46 2012
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) Failed to load module "nv" (module does not exist, 0)
(EE) Failed to load module "nv" (module does not exist, 0)
ddxSigGiveUp: Closing log
Server terminated successfully (0). Closing log file.
Before I get the suggestion again: this is a new/fresh install of Precise Pangolin. Reinstalling will not help (nor is it an option since this is a computer which is going into production and has cost a full day to set up).
Edit: I forgot to mention that I *can* start LightDM by hand as root. This is currently my workaround: use rc.local and a 10 second delay to start LightDM after the Upstart-LightDM has stopped.
Looking at the logs, LightDM shuts down because its greeter shuts down. The greeter shuts down with a message that is not quite helpful.
LightDM.log:
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.2.1, UID=0 PID=1127
[+0.00s] DEBUG: Loaded 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: Adding default seat
[+0.00s] DEBUG: Starting seat
[+0.00s] DEBUG: Starting new display for greeter
[+0.00s] DEBUG: Starting local X display
[+0.04s] DEBUG: X server :0 will replace Plymouth
[+0.06s] DEBUG: Using VT 7
[+0.06s] DEBUG: Activating VT 7
[+0.06s] DEBUG: Logging to /var/log/lightdm/x-0.log
[+0.06s] DEBUG: Writing X server authority to /var/run/lightdm/root/:0
[+0.06s] DEBUG: Launching X Server
[+0.06s] DEBUG: Launching process 1145: /usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch -background none
[+0.06s] DEBUG: Waiting for ready signal from X server :0
[+0.06s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.06s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+1.73s] DEBUG: Got signal 10 from process 1145
[+1.73s] DEBUG: Got signal from X server :0
[+1.73s] DEBUG: Stopping Plymouth, X server is ready
[+1.75s] DEBUG: Connecting to XServer :0
[+1.75s] DEBUG: Starting greeter
[+1.75s] DEBUG: Started session 1257 with service 'lightdm', username 'lightdm'
[+1.88s] DEBUG: Session 1257 authentication complete with return value 0: Success
[+1.88s] DEBUG: Greeter authorized
[+1.88s] DEBUG: Logging to /var/log/lightdm/x-0-greeter.log
[+1.88s] DEBUG: Session 1257 running command /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter
[+2.21s] DEBUG: Greeter closed communication channel
[+2.21s] DEBUG: Session 1257 exited with return value 0
[+2.21s] DEBUG: Greeter quit
[+2.21s] DEBUG: Failed to start greeter
[+2.21s] DEBUG: Stopping display
[+2.21s] DEBUG: Sending signal 15 to process 1145
[+2.85s] DEBUG: Process 1145 exited with return value 0
[+2.85s] DEBUG: X server stopped
[+2.85s] DEBUG: Removing X server authority /var/run/lightdm/root/:0
[+2.85s] DEBUG: Releasing VT 7
[+2.85s] DEBUG: Display server stopped
[+2.85s] DEBUG: Display stopped
[+2.85s] DEBUG: Stopping X local seat, failed to start a display
[+2.85s] DEBUG: Stopping seat
[+2.85s] DEBUG: Seat stopped
[+2.85s] DEBUG: Required seat has stopped
[+2.85s] DEBUG: Stopping display manager
[+2.85s] DEBUG: Display manager stopped
[+2.85s] DEBUG: Stopping daemon
[+2.85s] DEBUG: Exiting with return value 1
x-0-greeter.log:
Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 key
(unity-greeter:1356): Gtk-WARNING **: cannot open display: :0
Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 key
x-0.log:
X.Org X Server 1.11.3
Release Date: 2011-12-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-29-server x86_64 Ubuntu
Current Operating System: Linux localhost 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-23-generic root=UUID=704dd6ee-0eed-436d-8fd7-dbf263bf1b39 ro quiet splash vt.handoff=7
Build Date: 05 April 2012 04:32:37AM
xorg-server 2:1.11.4-0ubuntu10 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.24.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Apr 26 17:00:46 2012
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) Failed to load module "nv" (module does not exist, 0)
(EE) Failed to load module "nv" (module does not exist, 0)
ddxSigGiveUp: Closing log
Server terminated successfully (0). Closing log file.
Before I get the suggestion again: this is a new/fresh install of Precise Pangolin. Reinstalling will not help (nor is it an option since this is a computer which is going into production and has cost a full day to set up).
Edit: I forgot to mention that I *can* start LightDM by hand as root. This is currently my workaround: use rc.local and a 10 second delay to start LightDM after the Upstart-LightDM has stopped.