You are not logged in.

#1 2014-07-01 07:27:06

cle1109
Member
Registered: 2012-10-15
Posts: 7

Need to enter password twice to login (when using lightdm)

Hi!

I need to enter my password twice before I can login (note that I need to enter it correctly both times). After the first time, the screen goes blank for a second and then returns to the login screen.

I'm using the latest versions lightdm 1:1.10.1-2 and lightdm-gtk2-greeter 1:1.8.4-2 (and I'm logging into an Xfce session).

The relevant part of /var/log/lightdm/lightdm.log is:

[+11.38s] DEBUG: Session pid=345: Started with service 'lightdm', username 'test'
...
[+14.95s] DEBUG: Session pid=313: User test authorized
...
[+15.03s] DEBUG: Session pid=345: Running command /etc/lightdm/Xsession startxfce4
...
[+15.04s] DEBUG: Session pid=345: Logging to .xsession-errors
...
[+15.29s] DEBUG: Session pid=345: Exited with return value 0
...
[+15.71s] DEBUG: Seat: Active display server stopped, starting greeter
[+15.71s] DEBUG: Seat: Creating greeter session

This shows that the sessions quits after .26 seconds after running and returns to the greeter. The second time I log in it appears to work fine.

I have already reported this bug to the lightdm development team (https://bugs.launchpad.net/ubuntu/+sour … ug/1333538), but I'm thinking that it might be an Arch-specific issue. My ~/.xsession-errors contains many lines stating that xfdesktop is trying to start, but it is already running:

xfdesktop[2276] is already running; assuming --reload

** (xfdesktop:2274): WARNING **: xfdesktop: already running, quitting.
xfdesktop[2277] is already running; assuming --reload
xfdesktop[2282] is already running; assuming --reload
xfdesktop[2285] is already running; assuming --reload
xfdesktop[2284] is already running; assuming --reload
xfdesktop[2275] is already running; assuming --reload
xfdesktop[2279] is already running; assuming --reload
xfdesktop[2280] is already running; assuming --reload
xfdesktop[2283] is already running; assuming --reload
xfdesktop[2278] is already running; assuming --reload
xfdesktop[2281] is already running; assuming --reload
xfdesktop[2286] is already running; assuming --reload
xfdesktop[2298] is already running; assuming --reload
xfdesktop[2297] is already running; assuming --reload
xfdesktop[2296] is already running; assuming --reload
xfdesktop[2303] is already running; assuming --reload
xfdesktop[2288] is already running; assuming --reload
xfdesktop[2290] is already running; assuming --reload
xfdesktop[2293] is already running; assuming --reload
xfdesktop[2307] is already running; assuming --reload
xfdesktop[2302] is already running; assuming --reload
xfdesktop[2292] is already running; assuming --reload
xfdesktop[2300] is already running; assuming --reload
xfdesktop[2304] is already running; assuming --reload
xfdesktop[2305] is already running; assuming --reload
xfdesktop[2306] is already running; assuming --reload
xfdesktop[2308] is already running; assuming --reload
xfdesktop[2314] is already running; assuming --reload
xfdesktop[2321] is already running; assuming --reload
xfdesktop[2309] is already running; assuming --reload
xfdesktop[2312] is already running; assuming --reload
xfdesktop[2335] is already running; assuming --reload
xfdesktop[2311] is already running; assuming --reload
xfdesktop[2339] is already running; assuming --reload
xfdesktop[2327] is already running; assuming --reload
xfdesktop[2338] is already running; assuming --reload
xfdesktop[2334] is already running; assuming --reload
xfdesktop[2337] is already running; assuming --reload
xfdesktop[2341] is already running; assuming --reload
xfdesktop[2346] is already running; assuming --reload
xfdesktop[2343] is already running; assuming --reload
xfdesktop[2350] is already running; assuming --reload
xfdesktop[2347] is already running; assuming --reload
xfdesktop[2349] is already running; assuming --reload
xfdesktop[2356] is already running; assuming --reload
xfdesktop[2351] is already running; assuming --reload
xfdesktop[2361] is already running; assuming --reload
xfdesktop[2359] is already running; assuming --reload
xfdesktop[2362] is already running; assuming --reload
xfdesktop[2363] is already running; assuming --reload
xfdesktop[2364] is already running; assuming --reload
xfdesktop[2369] is already running; assuming --reload
xfdesktop[2366] is already running; assuming --reload
xfdesktop[2371] is already running; assuming --reload
xfdesktop[2367] is already running; assuming --reload
xfdesktop[2376] is already running; assuming --reload
xfdesktop[2372] is already running; assuming --reload
xfdesktop[2375] is already running; assuming --reload
xfdesktop[2377] is already running; assuming --reload
xfdesktop[2379] is already running; assuming --reload
xfdesktop[2381] is already running; assuming --reload
xfdesktop[2378] is already running; assuming --reload
xfdesktop[2380] is already running; assuming --reload
xfdesktop[2382] is already running; assuming --reload
xfdesktop[2383] is already running; assuming --reload
xfdesktop[2384] is already running; assuming --reload
xfdesktop[2385] is already running; assuming --reload
xfdesktop[2386] is already running; assuming --reload
xfdesktop[2387] is already running; assuming --reload
xfdesktop[2390] is already running; assuming --reload
xfdesktop[2388] is already running; assuming --reload
xfdesktop[2389] is already running; assuming --reload
xfdesktop[2391] is already running; assuming --reload
xfdesktop[2393] is already running; assuming --reload
xfdesktop[2394] is already running; assuming --reload
xfdesktop[2392] is already running; assuming --reload
xfdesktop[2395] is already running; assuming --reload

The problem does not occur when using GDM instead of lightdm. I'm grateful for any hints that point me in the right direction to solve this issue - thanks!

Offline

#2 2014-07-25 18:25:53

Soukyuu
Member
Registered: 2014-04-08
Posts: 854

Re: Need to enter password twice to login (when using lightdm)

Interesting. I have set up a linux installation on an old laptop for a friend a while back, and I remember lightdm doing something like that.
But it only seemed sporadic and because I have set up autologin, I rarely ran into it. I just assumed I typed in the wrong password.


[ Arch x86_64 | linux | Framework 13 | AMD Ryzen™ 5 7640U | 32GB RAM | KDE Plasma Wayland ]

Offline

#3 2014-07-26 02:42:44

Michael Catanzaro
Member
Registered: 2012-11-04
Posts: 49

Re: Need to enter password twice to login (when using lightdm)

cle1109 wrote:

I have already reported this bug to the lightdm development team (https://bugs.launchpad.net/ubuntu/+sour … ug/1333538), but I'm thinking that it might be an Arch-specific issue.

This happens on all of my school's Ubuntu 12.04 computers and has for two years.

Offline

Board footer

Powered by FluxBB