*** This bug is a duplicate of bug 944736 ***
    https://bugs.launchpad.net/bugs/944736

Had same problem. The cause was that ~/.ICEauthority was owned by root:root. 
Fixed it by doing
$ sudo chown user:user /home/user/.ICEauthority

-- 
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/944784

Title:
  ligthdm immediately returns to greeter after succesful login

Status in “lightdm” package in Ubuntu:
  Confirmed

Bug description:
  On ubuntu 12.04 beta ligthdm immediately returns from session to greeter 
after succesful login.
  This came with a bunch of updates today. Had to switch to gdm to log into a 
session at all.

  [+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
  [+0.00s] DEBUG: Starting Light Display Manager 1.1.4, UID=0 PID=3504
  [+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.00s] DEBUG: Using VT 7
  [+0.00s] DEBUG: Activating VT 7
  [+0.01s] DEBUG: Logging to /var/log/lightdm/x-0.log
  [+0.01s] DEBUG: Writing X server authority to /var/run/lightdm/root/:0
  [+0.01s] DEBUG: Launching X Server
  [+0.01s] DEBUG: Launching process 3508: /usr/bin/X :0 -auth 
/var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
  [+0.01s] DEBUG: 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.29s] DEBUG: Got signal 10 from process 3508
  [+0.29s] DEBUG: Got signal from X server :0
  [+0.29s] DEBUG: Connecting to XServer :0
  [+0.29s] DEBUG: Starting greeter
  [+0.29s] DEBUG: Started session 3515 with service 'lightdm', username 
'lightdm'
  [+0.34s] DEBUG: Session 3515 authentication complete with return value 0: 
Success
  [+0.34s] DEBUG: Greeter authorized
  [+0.34s] DEBUG: Logging to /var/log/lightdm/x-0-greeter.log
  [+0.34s] DEBUG: Session 3515 running command 
/usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter
  [+0.45s] DEBUG: Greeter connected version=1.1.4
  [+0.45s] DEBUG: Greeter connected, display is ready
  [+0.45s] DEBUG: New display ready, switching to it
  [+0.45s] DEBUG: Activating VT 7
  [+0.78s] DEBUG: Greeter start authentication for hub
  [+0.78s] DEBUG: Started session 3629 with service 'lightdm', username 'hub'
  [+0.79s] DEBUG: Session 3629 got 1 message(s) from PAM
  [+0.79s] DEBUG: Prompt greeter with 1 message(s)
  [+23.45s] DEBUG: Continue authentication
  [+23.48s] DEBUG: Session 3629 authentication complete with return value 0: 
Success
  [+23.48s] DEBUG: Authenticate result for user hub: Success
  [+23.48s] DEBUG: User hub authorized
  [+23.48s] DEBUG: Greeter requests session ubuntu
  [+23.48s] DEBUG: Using session ubuntu
  [+23.48s] DEBUG: Stopping greeter
  [+23.48s] DEBUG: Session 3515: Sending SIGTERM
  [+23.52s] DEBUG: Session 3515 exited with return value 0
  [+23.52s] DEBUG: Greeter quit
  [+23.52s] DEBUG: Dropping privileges to uid 1000
  [+23.53s] DEBUG: Restoring privileges
  [+23.53s] DEBUG: Dropping privileges to uid 1000
  [+23.53s] DEBUG: Writing /home/hub/.dmrc
  [+23.53s] DEBUG: Restoring privileges
  [+23.53s] DEBUG: Starting session ubuntu as user hub
  [+23.53s] DEBUG: Session 3629 running command /usr/sbin/lightdm-session 
/usr/bin/gnome-session --session=ubuntu
  [+23.56s] DEBUG: Registering session with bus path 
/org/freedesktop/DisplayManager/Session0
  [+23.56s] DEBUG: Session 3629 exited with return value 1
  [+23.56s] DEBUG: User session quit
  [+23.56s] DEBUG: Stopping display
  [+23.56s] DEBUG: Sending signal 15 to process 3508
  [+23.77s] DEBUG: Process 3508 exited with return value 0
  [+23.77s] DEBUG: X server stopped
  [+23.77s] DEBUG: Removing X server authority /var/run/lightdm/root/:0
  [+23.77s] DEBUG: Releasing VT 7
  [+23.77s] DEBUG: Display server stopped
  [+23.77s] DEBUG: Display stopped
  [+23.77s] DEBUG: Active display stopped, switching to greeter
  [+23.77s] DEBUG: Switching to greeter
  [+23.77s] DEBUG: Starting new display for greeter
  [+23.77s] DEBUG: Starting local X display
  [+23.77s] DEBUG: Using VT 7
  [+23.77s] DEBUG: Logging to /var/log/lightdm/x-0.log
  [+23.77s] DEBUG: Writing X server authority to /var/run/lightdm/root/:0
  [+23.77s] DEBUG: Launching X Server
  [+23.77s] DEBUG: Launching process 3825: /usr/bin/X :0 -auth 
/var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
  [+23.77s] DEBUG: Waiting for ready signal from X server :0
  [+24.10s] DEBUG: Got signal 10 from process 3825
  [+24.10s] DEBUG: Got signal from X server :0
  [+24.10s] DEBUG: Connecting to XServer :0
  [+24.10s] DEBUG: Starting greeter
  [+24.10s] DEBUG: Started session 3829 with service 'lightdm', username 
'lightdm'
  [+24.12s] DEBUG: Session 3829 authentication complete with return value 0: 
Success
  [+24.12s] DEBUG: Greeter authorized
  [+24.12s] DEBUG: Logging to /var/log/lightdm/x-0-greeter.log
  [+24.12s] DEBUG: Session 3829 running command 
/usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter
  [+24.22s] DEBUG: Greeter connected version=1.1.4
  [+24.22s] DEBUG: Greeter connected, display is ready
  [+24.22s] DEBUG: New display ready, switching to it
  [+24.22s] DEBUG: Activating VT 7
  [+24.22s] DEBUG: Stopping greeter display being switched from
  [+24.61s] DEBUG: Greeter start authentication for hub
  [+24.62s] DEBUG: Started session 3897 with service 'lightdm', username 'hub'
  [+24.62s] DEBUG: Session 3897 got 1 message(s) from PAM
  [+24.62s] DEBUG: Prompt greeter with 1 message(s)
  [+114.51s] DEBUG: Continue authentication
  [+114.53s] DEBUG: Session 3897 authentication complete with return value 0: 
Success
  [+114.53s] DEBUG: Authenticate result for user hub: Success
  [+114.53s] DEBUG: User hub authorized
  [+114.54s] DEBUG: Greeter requests session ubuntu
  [+114.54s] DEBUG: Using session ubuntu
  [+114.54s] DEBUG: Stopping greeter
  [+114.54s] DEBUG: Session 3829: Sending SIGTERM
  [+114.58s] DEBUG: Session 3829 exited with return value 0
  [+114.58s] DEBUG: Greeter quit
  [+114.59s] DEBUG: Dropping privileges to uid 1000
  [+114.59s] DEBUG: Restoring privileges
  [+114.59s] DEBUG: Dropping privileges to uid 1000
  [+114.59s] DEBUG: Writing /home/hub/.dmrc
  [+114.59s] DEBUG: Restoring privileges
  [+114.60s] DEBUG: Starting session ubuntu as user hub
  [+114.60s] DEBUG: Session 3897 running command /usr/sbin/lightdm-session 
/usr/bin/gnome-session --session=ubuntu
  [+114.62s] DEBUG: Registering session with bus path 
/org/freedesktop/DisplayManager/Session1
  [+114.63s] DEBUG: Session 3897 exited with return value 1
  [+114.63s] DEBUG: User session quit
  [+114.63s] DEBUG: Stopping display
  [+114.63s] DEBUG: Sending signal 15 to process 3825
  [+114.85s] DEBUG: Process 3825 exited with return value 0
  [+114.85s] DEBUG: X server stopped
  [+114.85s] DEBUG: Removing X server authority /var/run/lightdm/root/:0
  [+114.85s] DEBUG: Releasing VT 7
  [+114.85s] DEBUG: Display server stopped
  [+114.85s] DEBUG: Display stopped
  [+114.85s] DEBUG: Active display stopped, switching to greeter
  [+114.85s] DEBUG: Switching to greeter
  [+114.85s] DEBUG: Starting new display for greeter
  [+114.85s] DEBUG: Starting local X display
  [+114.85s] DEBUG: Using VT 7
  [+114.85s] DEBUG: Logging to /var/log/lightdm/x-0.log
  [+114.85s] DEBUG: Writing X server authority to /var/run/lightdm/root/:0
  [+114.85s] DEBUG: Launching X Server
  [+114.85s] DEBUG: Launching process 4181: /usr/bin/X :0 -auth 
/var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
  [+114.85s] DEBUG: Waiting for ready signal from X server :0
  [+115.13s] DEBUG: Got signal 10 from process 4181
  [+115.13s] DEBUG: Got signal from X server :0
  [+115.13s] DEBUG: Connecting to XServer :0
  [+115.13s] DEBUG: Starting greeter
  [+115.13s] DEBUG: Started session 4185 with service 'lightdm', username 
'lightdm'
  [+115.15s] DEBUG: Session 4185 authentication complete with return value 0: 
Success
  [+115.15s] DEBUG: Greeter authorized
  [+115.15s] DEBUG: Logging to /var/log/lightdm/x-0-greeter.log
  [+115.15s] DEBUG: Session 4185 running command 
/usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter
  [+115.25s] DEBUG: Greeter connected version=1.1.4
  [+115.25s] DEBUG: Greeter connected, display is ready
  [+115.25s] DEBUG: New display ready, switching to it
  [+115.25s] DEBUG: Activating VT 7
  [+115.25s] DEBUG: Stopping greeter display being switched from
  [+115.65s] DEBUG: Greeter start authentication for hub
  [+115.65s] DEBUG: Started session 4255 with service 'lightdm', username 'hub'
  [+115.66s] DEBUG: Session 4255 got 1 message(s) from PAM
  [+115.66s] DEBUG: Prompt greeter with 1 message(s)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/944784/+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