Help can't login!

Pete Smout smoutpete at gmail.com
Mon Sep 16 09:18:44 UTC 2013


Hi,

Thanks for confirming my hunch that it's not passwd related! I have
made a 3rd user with full privileges, I have also run 'sudo chown -R
pete:pete /home/pete' which did not produce any output or errors and
did take approx 10 sec to complete.

Having tried to post logs requested in this mail, and the mail
bouncing due to being over size! I will paste lightdm.log here (note
maybe a failed login at start of log due to clumsy fingers!) and
.Xsession onto pastebin link at bottom of post. HMMM file too big for
pastebin as well, will look into and remove duplicate lines then put
on here!

Light DM log:

[+0.13s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.13s] DEBUG: Starting Light Display Manager 1.6.0, UID=0 PID=1463
[+0.13s] DEBUG: Loaded configuration from /etc/lightdm/lightdm.conf
[+0.13s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.13s] DEBUG: Registered seat module xlocal
[+0.13s] DEBUG: Registered seat module xremote
[+0.13s] DEBUG: Adding default seat
[+0.13s] DEBUG: Starting seat
[+0.13s] DEBUG: Starting new display for greeter
[+0.13s] DEBUG: Starting local X display
[+0.16s] DEBUG: X server :0 will replace Plymouth
[+0.20s] DEBUG: Using VT 7
[+0.20s] DEBUG: Logging to /var/log/lightdm/x-0.log
[+0.20s] DEBUG: Writing X server authority to /var/run/lightdm/root/:0
[+0.20s] DEBUG: Launching X Server
[+0.20s] DEBUG: Launching process 1503: /usr/bin/X :0 -core -auth
/var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch -background
none
[+0.20s] DEBUG: Waiting for ready signal from X server :0
[+0.20s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.20s] DEBUG: Registering seat with bus path
/org/freedesktop/DisplayManager/Seat0
[+4.26s] DEBUG: Got signal 10 from process 1503
[+4.26s] DEBUG: Got signal from X server :0
[+4.26s] DEBUG: Stopping Plymouth, X server is ready
[+4.29s] DEBUG: Connecting to XServer :0
[+4.29s] DEBUG: Starting greeter
[+4.30s] DEBUG: Started session 1520 with service 'lightdm-greeter',
username 'lightdm'
[+5.54s] DEBUG: Session 1520 authentication complete with return value
0: Success
[+5.54s] DEBUG: Greeter authorized
[+5.54s] DEBUG: Logging to /var/log/lightdm/x-0-greeter.log
[+5.59s] DEBUG: Session 1520 running command
/usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter
[+6.84s] DEBUG: Greeter connected version=1.6.0
[+6.84s] DEBUG: Greeter connected, display is ready
[+6.84s] DEBUG: New display ready, switching to it
[+6.84s] DEBUG: Activating VT 7
[+14.51s] DEBUG: Greeter start authentication for test
[+14.51s] DEBUG: Started session 1865 with service 'lightdm', username 'test'
[+14.71s] DEBUG: Greeter start authentication for test
[+14.71s] DEBUG: Session 1865: Sending SIGTERM
[+14.71s] DEBUG: Started session 1866 with service 'lightdm', username 'test'
[+14.71s] DEBUG: Session 1865 terminated with signal 15
[+14.71s] DEBUG: Session 1865 failed during authentication
[+14.79s] DEBUG: Session 1866 got 1 message(s) from PAM
[+14.79s] DEBUG: Prompt greeter with 1 message(s)
[+136.08s] DEBUG: Greeter start authentication for pete
[+136.08s] DEBUG: Session 1866: Sending SIGTERM
[+136.08s] DEBUG: Started session 5469 with service 'lightdm', username 'pete'
[+136.08s] DEBUG: Session 1866 terminated with signal 15
[+136.08s] DEBUG: Session 1866 failed during authentication
[+136.09s] DEBUG: Session 5469 got 1 message(s) from PAM
[+136.09s] DEBUG: Prompt greeter with 1 message(s)
[+141.47s] DEBUG: Continue authentication
[+141.54s] DEBUG: Session 5469 authentication complete with return
value 0: Success
[+141.54s] DEBUG: Authenticate result for user pete: Success
[+141.55s] DEBUG: User pete authorized
[+141.57s] DEBUG: Greeter requests session ubuntu
[+141.57s] DEBUG: Using session ubuntu
[+141.57s] DEBUG: Stopping greeter
[+141.57s] DEBUG: Session 1520: Sending SIGTERM
[+141.61s] DEBUG: Session 1520 exited with return value 0
[+141.61s] DEBUG: Greeter quit
[+141.64s] DEBUG: Dropping privileges to uid 1000
[+141.64s] DEBUG: Calling setresgid
[+141.64s] DEBUG: Calling setresuid
[+141.64s] DEBUG: Restoring privileges
[+141.64s] DEBUG: Calling setresuid
[+141.64s] DEBUG: Calling setresgid
[+141.64s] DEBUG: Dropping privileges to uid 1000
[+141.64s] DEBUG: Calling setresgid
[+141.64s] DEBUG: Calling setresuid
[+141.64s] DEBUG: Writing /home/pete/.dmrc
[+141.73s] DEBUG: Restoring privileges
[+141.73s] DEBUG: Calling setresuid
[+141.73s] DEBUG: Calling setresgid
[+141.80s] DEBUG: Starting session ubuntu as user pete
[+141.80s] DEBUG: Session 5469 running command
/usr/sbin/lightdm-session gnome-session --session=ubuntu
[+141.83s] DEBUG: Registering session with bus path
/org/freedesktop/DisplayManager/Session0
[+141.83s] DEBUG: Greeter closed communication channel
[+141.83s] DEBUG: Session 5469 exited with return value 1
[+141.83s] DEBUG: User session quit
[+141.83s] DEBUG: Stopping display
[+141.83s] DEBUG: Sending signal 15 to process 1503
[+141.95s] DEBUG: Process 1503 exited with return value 0
[+141.95s] DEBUG: X server stopped
[+141.95s] DEBUG: Removing X server authority /var/run/lightdm/root/:0
[+141.95s] DEBUG: Releasing VT 7
[+141.95s] DEBUG: Display server stopped
[+141.95s] DEBUG: Switching to greeter
[+141.95s] DEBUG: Starting new display for greeter
[+141.95s] DEBUG: Starting local X display
[+141.95s] DEBUG: Using VT 7
[+141.95s] DEBUG: Logging to /var/log/lightdm/x-0.log
[+141.95s] DEBUG: Writing X server authority to /var/run/lightdm/root/:0
[+141.95s] DEBUG: Launching X Server
[+141.95s] DEBUG: Launching process 6159: /usr/bin/X :0 -core -auth
/var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+141.95s] DEBUG: Waiting for ready signal from X server :0
[+142.84s] DEBUG: Got signal 10 from process 6159
[+142.84s] DEBUG: Got signal from X server :0
[+142.84s] DEBUG: Connecting to XServer :0
[+142.84s] DEBUG: Starting greeter
[+142.84s] DEBUG: Started session 6164 with service 'lightdm-greeter',
username 'lightdm'
[+142.88s] DEBUG: Session 6164 authentication complete with return
value 0: Success
[+142.88s] DEBUG: Greeter authorized
[+142.88s] DEBUG: Logging to /var/log/lightdm/x-0-greeter.log
[+142.88s] DEBUG: Session 6164 running command
/usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter
[+143.07s] DEBUG: Greeter connected version=1.6.0
[+143.07s] DEBUG: Greeter connected, display is ready
[+143.07s] DEBUG: New display ready, switching to it
[+143.07s] DEBUG: Activating VT 7
[+143.35s] DEBUG: Greeter start authentication for pete
[+143.35s] DEBUG: Started session 6237 with service 'lightdm', username 'pete'
[+143.36s] DEBUG: Session 6237 got 1 message(s) from PAM
[+143.36s] DEBUG: Prompt greeter with 1 message(s)
[+143.45s] DEBUG: Greeter start authentication for pete
[+143.45s] DEBUG: Session 6237: Sending SIGTERM
[+143.45s] DEBUG: Started session 6238 with service 'lightdm', username 'pete'
[+143.45s] DEBUG: Session 6237 terminated with signal 15
[+143.45s] DEBUG: Session 6237 failed during authentication
[+143.46s] DEBUG: Session 6238 got 1 message(s) from PAM
[+143.46s] DEBUG: Prompt greeter with 1 message(s)
[+160.84s] DEBUG: Continue authentication
[+160.92s] DEBUG: Session 6238 authentication complete with return
value 0: Success
[+160.92s] DEBUG: Authenticate result for user pete: Success
[+160.93s] DEBUG: User pete authorized
[+160.95s] DEBUG: Greeter requests session ubuntu
[+160.95s] DEBUG: Using session ubuntu
[+160.95s] DEBUG: Stopping greeter
[+160.95s] DEBUG: Session 6164: Sending SIGTERM
[+161.00s] DEBUG: Session 6164 exited with return value 0
[+161.00s] DEBUG: Greeter quit
[+161.02s] DEBUG: Dropping privileges to uid 1000
[+161.02s] DEBUG: Calling setresgid
[+161.02s] DEBUG: Calling setresuid
[+161.02s] DEBUG: Restoring privileges
[+161.02s] DEBUG: Calling setresuid
[+161.02s] DEBUG: Calling setresgid
[+161.02s] DEBUG: Dropping privileges to uid 1000
[+161.02s] DEBUG: Calling setresgid
[+161.02s] DEBUG: Calling setresuid
[+161.02s] DEBUG: Writing /home/pete/.dmrc
[+161.08s] DEBUG: Restoring privileges
[+161.08s] DEBUG: Calling setresuid
[+161.08s] DEBUG: Calling setresgid
[+161.12s] DEBUG: Starting session ubuntu as user pete
[+161.12s] DEBUG: Session 6238 running command
/usr/sbin/lightdm-session gnome-session --session=ubuntu
[+161.16s] DEBUG: Registering session with bus path
/org/freedesktop/DisplayManager/Session1
[+161.16s] DEBUG: Greeter closed communication channel
[+161.16s] DEBUG: Session 6238 exited with return value 1
[+161.16s] DEBUG: User session quit
[+161.16s] DEBUG: Stopping display
[+161.16s] DEBUG: Sending signal 15 to process 6159
[+161.25s] DEBUG: Process 6159 exited with return value 0
[+161.25s] DEBUG: X server stopped
[+161.25s] DEBUG: Removing X server authority /var/run/lightdm/root/:0
[+161.25s] DEBUG: Releasing VT 7
[+161.25s] DEBUG: Display server stopped
[+161.25s] DEBUG: Switching to greeter
[+161.25s] DEBUG: Starting new display for greeter
[+161.25s] DEBUG: Starting local X display
[+161.25s] DEBUG: Using VT 7
[+161.25s] DEBUG: Logging to /var/log/lightdm/x-0.log
[+161.25s] DEBUG: Writing X server authority to /var/run/lightdm/root/:0
[+161.25s] DEBUG: Launching X Server
[+161.26s] DEBUG: Launching process 7013: /usr/bin/X :0 -core -auth
/var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+161.26s] DEBUG: Waiting for ready signal from X server :0
[+162.15s] DEBUG: Got signal 10 from process 7013
[+162.15s] DEBUG: Got signal from X server :0
[+162.15s] DEBUG: Connecting to XServer :0
[+162.15s] DEBUG: Starting greeter
[+162.15s] DEBUG: Started session 7018 with service 'lightdm-greeter',
username 'lightdm'
[+162.18s] DEBUG: Session 7018 authentication complete with return
value 0: Success
[+162.18s] DEBUG: Greeter authorized
[+162.18s] DEBUG: Logging to /var/log/lightdm/x-0-greeter.log
[+162.18s] DEBUG: Session 7018 running command
/usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter
[+162.37s] DEBUG: Greeter connected version=1.6.0
[+162.37s] DEBUG: Greeter connected, display is ready
[+162.37s] DEBUG: New display ready, switching to it
[+162.37s] DEBUG: Activating VT 7
[+162.65s] DEBUG: Greeter start authentication for pete
[+162.65s] DEBUG: Started session 7090 with service 'lightdm', username 'pete'
[+162.66s] DEBUG: Session 7090 got 1 message(s) from PAM
[+162.66s] DEBUG: Prompt greeter with 1 message(s)
[+162.76s] DEBUG: Greeter start authentication for pete
[+162.76s] DEBUG: Session 7090: Sending SIGTERM
[+162.76s] DEBUG: Started session 7091 with service 'lightdm', username 'pete'
[+162.76s] DEBUG: Session 7090 terminated with signal 15
[+162.76s] DEBUG: Session 7090 failed during authentication
[+162.77s] DEBUG: Session 7091 got 1 message(s) from PAM
[+162.77s] DEBUG: Prompt greeter with 1 message(s)
[+166.20s] DEBUG: Greeter start authentication for test
[+166.20s] DEBUG: Session 7091: Sending SIGTERM
[+166.20s] DEBUG: Started session 7169 with service 'lightdm', username 'test'
[+166.20s] DEBUG: Session 7091 terminated with signal 15
[+166.20s] DEBUG: Session 7091 failed during authentication
[+166.21s] DEBUG: Session 7169 got 1 message(s) from PAM
[+166.21s] DEBUG: Prompt greeter with 1 message(s)
[+170.13s] DEBUG: Continue authentication
[+170.20s] DEBUG: Session 7169 authentication complete with return
value 0: Success
[+170.20s] DEBUG: Authenticate result for user test: Success
[+170.21s] DEBUG: User test authorized
[+170.21s] DEBUG: Greeter requests session ubuntu
[+170.21s] DEBUG: Using session ubuntu
[+170.21s] DEBUG: Stopping greeter
[+170.21s] DEBUG: Session 7018: Sending SIGTERM
[+170.27s] DEBUG: Session 7018 exited with return value 0
[+170.27s] DEBUG: Greeter quit
[+170.29s] DEBUG: Dropping privileges to uid 1001
[+170.29s] DEBUG: Calling setresgid
[+170.29s] DEBUG: Calling setresuid
[+170.29s] DEBUG: Restoring privileges
[+170.29s] DEBUG: Calling setresuid
[+170.29s] DEBUG: Calling setresgid
[+170.30s] DEBUG: Dropping privileges to uid 1001
[+170.30s] DEBUG: Calling setresgid
[+170.30s] DEBUG: Calling setresuid
[+170.30s] DEBUG: Writing /home/test/.dmrc
[+170.35s] DEBUG: Restoring privileges
[+170.35s] DEBUG: Calling setresuid
[+170.35s] DEBUG: Calling setresgid
[+170.40s] DEBUG: Starting session ubuntu as user test
[+170.40s] DEBUG: Session 7169 running command
/usr/sbin/lightdm-session gnome-session --session=ubuntu
[+170.44s] DEBUG: Registering session with bus path
/org/freedesktop/DisplayManager/Session2
[+170.44s] DEBUG: Greeter closed communication channel


Xsession.errors File too large for pastebin, will trim and paste
relevant info here

Thanks again!

Pete S




More information about the ubuntu-users mailing list