← Back to team overview

dx-packages team mailing list archive

[Bug 1228570] Re: Login often fails

 

I am also logging into my Thinkpad Twist via SSH (with "-X" option to be
able to use X apps) and indeed this influences whether I can log in. If
I am able to log in directly on my laptop's screen, I am able to log in
again and again as long as I do not log in via SSH. If I log in via SSH
from another machine while I am logged in on the laptop's own screen and
then log out on the laptop's screen I cannot log in again on the
laptop's screen. To be able to log in again, I have to log out of the
SSH session and log in again via SSH, after that I can log in again on
the laptop's screen.

My .Xauthority file is most probably the culprit. The laptop's screen is
DISPLAY :0, the SSH session has DISPLAY :10 (see DISPLAY variable in
terminal). The .Xauthority file has up to three lines. Most is
unreadable binary data, all contain "till-twist" (the host name of the
laptop) near the beginning, some binary bytes, a number, some more
binary bytes, "MIT-MAGIC-COOKIE-1", and more binary bytes. In a healthy
(I can log in from the laptop's native screen) .XAuthority all lines
have different numbers, usually 0, 10, 11 in arbitrary order, or there
are only two lines, also with different numbers out of 0, 10, and 11. A
broken (I cannot log in) .Xauthority contains two lines with the number
10 and one with 11.


** Also affects: xorg (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: xorg (Ubuntu)
   Importance: Undecided => Critical

** Changed in: xorg (Ubuntu)
       Status: New => Confirmed

** Changed in: xorg (Ubuntu)
    Milestone: None => ubuntu-13.10

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1228570

Title:
  Login often fails

Status in “lightdm” package in Ubuntu:
  Confirmed
Status in “unity” package in Ubuntu:
  Confirmed
Status in “xorg” package in Ubuntu:
  Confirmed

Bug description:
  I am using the Lenovo Thinkpad Twist with Saucy and the standard Unity
  desktop. Often when I log in, after entering the password the screen
  gets black and within one second I am back in LightDM. I have to enter
  my password three or four times until getting a successful login.
  Logging in right after reboot works more often. Logging into the guest
  account always works.

  There are no messages in .xsession-errors. /var/log/syslog adds the
  following lines after pressing Enter after entering the password until
  LightDM re-appearing:

  First failed attempt:

  Sep 21 13:28:05 till-twist colord: device removed: xrandr-LVDS1
  Sep 21 13:28:05 till-twist colord: Profile removed: icc-212ca362d5002958378e8fefb0ad7943
  Sep 21 13:28:05 till-twist colord: Profile removed: icc-f5a7781aa544aba4d0654c67690ec8d4
  Sep 21 13:28:05 till-twist colord: Profile removed: icc-42cf0f25cbd914f2177438317b72f222
  Sep 21 13:28:05 till-twist NetworkManager[1705]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.139': no such name
  Sep 21 13:28:05 till-twist acpid: client 7242[0:0] has disconnected
  Sep 21 13:28:05 till-twist acpid: client connected from 7493[0:0]
  Sep 21 13:28:05 till-twist acpid: 1 client rule loaded
  Sep 21 13:28:05 till-twist dbus[574]: [system] Activating service name='org.freedesktop.systemd1' (using servicehelper)
  Sep 21 13:28:05 till-twist dbus[574]: [system] Successfully activated service 'org.freedesktop.systemd1'
  Sep 21 13:28:06 till-twist colord: Device added: xrandr-LVDS1
  Sep 21 13:28:06 till-twist colord: Profile added: icc-212ca362d5002958378e8fefb0ad7943
  Sep 21 13:28:06 till-twist colord: Automatic metadata add icc-f5a7781aa544aba4d0654c67690ec8d4 to xrandr-LVDS1
  Sep 21 13:28:06 till-twist colord: Profile added: icc-f5a7781aa544aba4d0654c67690ec8d4
  Sep 21 13:28:06 till-twist colord: Profile added: icc-42cf0f25cbd914f2177438317b72f222

  Second failed attempt:

  Sep 21 13:34:42 till-twist colord: device removed: xrandr-LVDS1
  Sep 21 13:34:42 till-twist colord: Profile removed: icc-212ca362d5002958378e8fefb0ad7943
  Sep 21 13:34:42 till-twist colord: Profile removed: icc-f5a7781aa544aba4d0654c67690ec8d4
  Sep 21 13:34:42 till-twist colord: Profile removed: icc-42cf0f25cbd914f2177438317b72f222
  Sep 21 13:34:42 till-twist NetworkManager[1705]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.protected: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.160': no such name
  Sep 21 13:34:42 till-twist NetworkManager[1705]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.160': no such name
  Sep 21 13:34:43 till-twist acpid: client 7493[0:0] has disconnected
  Sep 21 13:34:43 till-twist acpid: client connected from 7737[0:0]
  Sep 21 13:34:43 till-twist acpid: 1 client rule loaded
  Sep 21 13:34:43 till-twist dbus[574]: [system] Activating service name='org.freedesktop.systemd1' (using servicehelper)
  Sep 21 13:34:43 till-twist dbus[574]: [system] Successfully activated service 'org.freedesktop.systemd1'
  Sep 21 13:34:43 till-twist colord: Device added: xrandr-LVDS1
  Sep 21 13:34:43 till-twist colord: Profile added: icc-212ca362d5002958378e8fefb0ad7943
  Sep 21 13:34:43 till-twist colord: Automatic metadata add icc-f5a7781aa544aba4d0654c67690ec8d4 to xrandr-LVDS1
  Sep 21 13:34:43 till-twist colord: Profile added: icc-f5a7781aa544aba4d0654c67690ec8d4
  Sep 21 13:34:43 till-twist colord: Profile added: icc-42cf0f25cbd914f2177438317b72f222

  Third failed attempt:

  Sep 21 13:34:53 till-twist whoopsie[1969]: online
  Sep 21 13:35:43 till-twist colord: device removed: xrandr-LVDS1
  Sep 21 13:35:43 till-twist colord: Profile removed: icc-212ca362d5002958378e8fefb0ad7943
  Sep 21 13:35:43 till-twist colord: Profile removed: icc-f5a7781aa544aba4d0654c67690ec8d4
  Sep 21 13:35:43 till-twist colord: Profile removed: icc-42cf0f25cbd914f2177438317b72f222
  Sep 21 13:35:43 till-twist NetworkManager[1705]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.protected: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.175': no such name
  Sep 21 13:35:43 till-twist NetworkManager[1705]: <warn> error requesting auth for org.freedesktop.NetworkManager.wifi.share.open: (3) GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.175': no such name
  Sep 21 13:35:44 till-twist acpid: client 7737[0:0] has disconnected
  Sep 21 13:35:44 till-twist acpid: client connected from 7948[0:0]
  Sep 21 13:35:44 till-twist acpid: 1 client rule loaded
  Sep 21 13:35:45 till-twist dbus[574]: [system] Activating service name='org.freedesktop.systemd1' (using servicehelper)
  Sep 21 13:35:45 till-twist dbus[574]: [system] Successfully activated service 'org.freedesktop.systemd1'
  Sep 21 13:35:45 till-twist colord: Device added: xrandr-LVDS1
  Sep 21 13:35:45 till-twist colord: Profile added: icc-212ca362d5002958378e8fefb0ad7943
  Sep 21 13:35:45 till-twist colord: Automatic metadata add icc-f5a7781aa544aba4d0654c67690ec8d4 to xrandr-LVDS1
  Sep 21 13:35:45 till-twist colord: Profile added: icc-f5a7781aa544aba4d0654c67690ec8d4
  Sep 21 13:35:45 till-twist colord: Profile added: icc-42cf0f25cbd914f2177438317b72f222

  And this gets added to /var/log/syslog when the login succeeds
  starting from after pressing Enter after entering the password until
  the desktop being ready to use:

  Sep 21 13:37:45 till-twist colord: device removed: xrandr-LVDS1
  Sep 21 13:37:45 till-twist colord: Profile removed: icc-212ca362d5002958378e8fefb0ad7943
  Sep 21 13:37:45 till-twist colord: Profile removed: icc-f5a7781aa544aba4d0654c67690ec8d4
  Sep 21 13:37:45 till-twist colord: Profile removed: icc-42cf0f25cbd914f2177438317b72f222
  Sep 21 13:37:45 till-twist dbus[738]: [system] Activating service name='org.freedesktop.systemd1' (using servicehelper)
  Sep 21 13:37:45 till-twist dbus[738]: [system] Successfully activated service 'org.freedesktop.systemd1'
  Sep 21 13:37:46 till-twist colord: Device added: xrandr-LVDS1
  Sep 21 13:37:46 till-twist gnome-session[3222]: Gtk-WARNING: Theme parsing error: gtk-widgets.css:1605:38: '' is not a valid color name
  Sep 21 13:37:46 till-twist rtkit-daemon[2457]: Successfully made thread 3409 of process 3409 (n/a) owned by '1000' high priority at nice level -11.
  Sep 21 13:37:46 till-twist rtkit-daemon[2457]: Supervising 4 threads of 2 processes of 2 users.
  Sep 21 13:37:46 till-twist gnome-session[3222]: Gtk-WARNING: Theme parsing error: gtk-widgets.css:1605:38: '' is not a valid color name
  Sep 21 13:37:46 till-twist rtkit-daemon[2457]: Successfully made thread 3448 of process 3409 (n/a) owned by '1000' RT at priority 5.
  Sep 21 13:37:46 till-twist rtkit-daemon[2457]: Supervising 5 threads of 2 processes of 2 users.
  Sep 21 13:37:46 till-twist rtkit-daemon[2457]: Successfully made thread 3453 of process 3409 (n/a) owned by '1000' RT at priority 5.
  Sep 21 13:37:46 till-twist rtkit-daemon[2457]: Supervising 6 threads of 2 processes of 2 users.
  Sep 21 13:37:46 till-twist bluetoothd[905]: Endpoint registered: sender=:1.66 path=/MediaEndpoint/HFPAG
  Sep 21 13:37:46 till-twist bluetoothd[905]: Endpoint registered: sender=:1.66 path=/MediaEndpoint/HFPHS
  Sep 21 13:37:46 till-twist bluetoothd[905]: Endpoint registered: sender=:1.66 path=/MediaEndpoint/A2DPSource
  Sep 21 13:37:46 till-twist bluetoothd[905]: Endpoint registered: sender=:1.66 path=/MediaEndpoint/A2DPSink
  Sep 21 13:37:46 till-twist rtkit-daemon[2457]: Successfully made thread 3472 of process 3472 (n/a) owned by '1000' high priority at nice level -11.
  Sep 21 13:37:46 till-twist rtkit-daemon[2457]: Supervising 7 threads of 3 processes of 2 users.
  Sep 21 13:37:46 till-twist pulseaudio[3472]: [pulseaudio] pid.c: Daemon already running.
  Sep 21 13:37:46 till-twist dbus[738]: [system] Activating service name='org.freedesktop.locale1' (using servicehelper)
  Sep 21 13:37:46 till-twist dbus[738]: [system] Successfully activated service 'org.freedesktop.locale1'
  Sep 21 13:37:46 till-twist colord: Profile added: icc-75d60d950fd529eb4eb5d13774694db0
  Sep 21 13:37:46 till-twist colord: Profile added: icc-0c800749ecb3e100c49f4d0032efb574
  Sep 21 13:37:46 till-twist colord: Automatic metadata add icc-ddef9b1134614d611689ddc660185c5e to xrandr-LVDS1
  Sep 21 13:37:46 till-twist colord: Profile added: icc-ddef9b1134614d611689ddc660185c5e
  Sep 21 13:37:46 till-twist dbus[738]: [system] Activating service name='org.freedesktop.UDisks2' (using servicehelper)
  Sep 21 13:37:46 till-twist udisksd[3607]: udisks daemon version 2.1.0 starting
  Sep 21 13:37:46 till-twist dbus[738]: [system] Successfully activated service 'org.freedesktop.UDisks2'
  Sep 21 13:37:46 till-twist udisksd[3607]: Acquired the name org.freedesktop.UDisks2 on the system message bus

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


References