I'm not sure if this is the same bug, but neither lightdm or gdm will
start a session for me.  For both lightdm and gdm with any kind of
session (unity, unity2d, classic, xfce ...) the gui dies and flashes
what was on console 7 and then restarts.  My only way in is console 1
text login, stopping lightdm and running startx.

It happened about not quite 2 weeks ago - I am running 12.04 beta.  I
had hoped the 12.04 release would fix it but no dice.

The .xsession-errors follows but isn't particularly enlightening

No protocol specified
No protocol specified
xrdb: Resource temporarily unavailable
xrdb: Can't open display ':0'
No protocol specified
No protocol specified
xrdb: Resource temporarily unavailable
xrdb: Can't open display ':0'
No protocol specified
No protocol specified
xhost:  unable to open display ":0"
No protocol specified
No protocol specified
xhost:  unable to open display ":0"
openConnection: connect: No such file or directory
cannot connect to brltty at :0
No protocol specified
No protocol specified
No protocol specified
No protocol specified

** (gnome-session:5675): WARNING **: Cannot open display:

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to lightdm in Ubuntu.
https://bugs.launchpad.net/bugs/951404

Title:
  Ubuntu 12.04 session don't open with lightdm

Status in “lightdm” package in Ubuntu:
  Incomplete
Status in “lightdm” source package in Precise:
  Incomplete

Bug description:
  
  Ubuntu 12.04 Beta1

  lightdm 1.1.7-0ubuntu1

  After ugraded from Oneiric to Pangolin 12.04 beta1 the session don't
  open with lightdm, it autoclose and goes back to lightdm login screen.
  here are some log

  [+75.89s] DEBUG: Greeter start authentication for guy

  [+75.89s] DEBUG: Started session 4115 with service 'lightdm', username
  'guy'

  [+75.92s] DEBUG: Session 4115 got 1 message(s) from PAM

  [+75.92s] DEBUG: Prompt greeter with 1 message(s)

  [+101.80s] DEBUG: Continue authentication

  [+101.83s] DEBUG: Session 4115 authentication complete with return
  value 0: Success

  [+101.83s] DEBUG: Authenticate result for user guy: Success

  [+101.84s] DEBUG: User guy authorized

  [+101.84s] DEBUG: Greeter requests session gnome-classic

  [+101.84s] DEBUG: Using session gnome-classic

  [+101.84s] DEBUG: Stopping greeter

  [+101.84s] DEBUG: Session 4046: Sending SIGTERM

  [+101.93s] DEBUG: Session 4046 exited with return value 0

  [+101.93s] DEBUG: Greeter quit

  [+102.00s] DEBUG: Dropping privileges to uid 1000

  [+102.00s] DEBUG: Restoring privileges

  [+102.01s] DEBUG: Dropping privileges to uid 1000

  [+102.01s] DEBUG: Writing /home/guy/.dmrc

  [+102.04s] DEBUG: Restoring privileges

  [+102.08s] DEBUG: Starting session gnome-classic as user guy

  [+102.08s] DEBUG: Session 4115 running command /usr/sbin/lightdm-
  session gnome-session --session=gnome-classic

  [+102.12s] DEBUG: Registering session with bus path
  /org/freedesktop/DisplayManager/Session2

  [+102.12s] DEBUG: Greeter closed communication channel

  [+102.13s] DEBUG: Session 4115 exited with return value 1

  [+102.13s] DEBUG: User session quit

  [+102.13s] DEBUG: Stopping display

  [+102.13s] DEBUG: Sending signal 15 to process 4043

  [+102.22s] DEBUG: Process 4043 exited with return value 0

  [+102.22s] DEBUG: X server stopped

  [+102.22s] DEBUG: Removing X server authority /var/run/lightdm/root/:0

  [+102.22s] DEBUG: Releasing VT 7

  [+102.22s] DEBUG: Display server stopped

  [+102.22s] DEBUG: Display stopped

  [+102.22s] DEBUG: Active display stopped, switching to greeter

  [+102.22s] DEBUG: Switching to greeter

  [+102.22s] DEBUG: Starting new display for greeter

  [+102.22s] DEBUG: Starting local X display

  [+102.22s] DEBUG: Using VT 7

  [+102.22s] DEBUG: Logging to /var/log/lightdm/x-0.log

  [+102.22s] DEBUG: Writing X server authority to
  /var/run/lightdm/root/:0

  [+102.23s] DEBUG: Launching X Server

  [+102.23s] DEBUG: Launching process 5421: /usr/bin/X :0 -auth
  /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch

  [+102.23s] DEBUG: Waiting for ready signal from X server :0

  [+102.54s] DEBUG: Got signal 10 from process 5421

  [+102.54s] DEBUG: Got signal from X server :0

  [+102.54s] DEBUG: Connecting to XServer :0

  [+102.54s] DEBUG: Starting greeter

  [+102.54s] DEBUG: Started session 5424 with service 'lightdm',
  username 'lightdm'

  [+102.59s] DEBUG: Session 5424 authentication complete with return
  value 0: Success

  [+102.59s] DEBUG: Greeter authorized

  [+102.62s] DEBUG: Launching process 5436: /usr/bin/numlockx on

  [+102.62s] DEBUG: Process 5436 exited with return value 0

  [+102.62s] DEBUG: Exit status of /usr/bin/numlockx on: 0

  [+102.62s] DEBUG: Logging to /var/log/lightdm/x-0-greeter.log

  [+102.63s] DEBUG: Session 5424 running command /usr/lib/lightdm
  /lightdm-greeter-session /usr/sbin/unity-greeter

  [+102.90s] DEBUG: Greeter connected version=1.1.7

  [+102.90s] DEBUG: Greeter connected, display is ready

  [+102.90s] DEBUG: New display ready, switching to it

  [+102.90s] DEBUG: Activating VT 7

  [+102.90s] DEBUG: Stopping greeter display being switched from

  [+103.91s] DEBUG: Greeter start authentication for guy

  [+103.91s] DEBUG: Started session 5494 with service 'lightdm',
  username 'guy'

  [+103.93s] DEBUG: Session 5494 got 1 message(s) from PAM

  [+103.93s] DEBUG: Prompt greeter with 1 message(s)

  [+230.27s] DEBUG: Session 5424 exited with return value 9

  [+230.27s] DEBUG: Greeter quit

  [+230.27s] DEBUG: Failed to start greeter

  [+230.27s] DEBUG: Stopping display

  [+230.27s] DEBUG: Sending signal 15 to process 5421

  [+230.29s] DEBUG: Process 5421 exited with return value 0

  [+230.29s] DEBUG: X server stopped

  [+230.29s] DEBUG: Removing X server authority /var/run/lightdm/root/:0

  [+230.29s] DEBUG: Releasing VT 7

  [+230.29s] DEBUG: Display server stopped

  [+230.29s] DEBUG: Display stopped

  [+230.29s] DEBUG: Active display stopped, switching to greeter

  [+230.29s] DEBUG: Switching to greeter

  [+230.29s] DEBUG: Starting new display for greeter

  [+230.29s] DEBUG: Starting local X display

  [+230.29s] DEBUG: Using VT 7

  [+230.29s] DEBUG: Logging to /var/log/lightdm/x-0.log

  [+230.29s] DEBUG: Writing X server authority to
  /var/run/lightdm/root/:0

  [+230.29s] DEBUG: Launching X Server

  [+230.29s] DEBUG: Launching process 9103: /usr/bin/X :0 -auth
  /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch

  [+230.29s] DEBUG: Waiting for ready signal from X server :0

  [+230.62s] DEBUG: Got signal 10 from process 9103

  [+230.62s] DEBUG: Got signal from X server :0

  [+230.62s] DEBUG: Connecting to XServer :0

  [+230.62s] DEBUG: Starting greeter

  [+230.62s] DEBUG: Started session 9108 with service 'lightdm',
  username 'lightdm'

  [+230.62s] DEBUG: Greeter closed communication channel

  [+230.62s] DEBUG: Session 9108 exited with return value 1

  [+230.62s] DEBUG: Session 9108 failed during authentication

  [+230.62s] DEBUG: Greeter failed authentication

  [+230.62s] DEBUG: Greeter failed to start

  [+230.62s] DEBUG: Stopping display

  [+230.62s] DEBUG: Sending signal 15 to process 9103

  [+230.71s] DEBUG: Process 9103 exited with return value 0

  [+230.71s] DEBUG: X server stopped

  [+230.71s] DEBUG: Removing X server authority /var/run/lightdm/root/:0

  [+230.71s] DEBUG: Releasing VT 7

  [+230.71s] DEBUG: Display server stopped

  [+230.71s] DEBUG: Display stopped

  [+230.71s] DEBUG: Stopping X local seat, failed to start a display

  [+230.71s] DEBUG: Stopping seat

  [+230.71s] DEBUG: Seat stopped

  [+230.71s] DEBUG: Required seat has stopped

  [+230.71s] DEBUG: Stopping display manager

  [+230.71s] DEBUG: Display manager stopped

  [+230.71s] DEBUG: Stopping daemon

  [+230.71s] DEBUG: Exiting with return value 1

  If I use gdm I can open session after a freeze of almost 40 secondes
  with the totally pink picture.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/951404/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to