You are not logged in.
Hi everyone,
For the last couple of days I've had an when trying to poweroff/suspend/hibernate my computer which I can't fathom how to solve. Basically the issue is that if I try to run systemctl poweroff/suspend/hibernate, I get an obscure error stating that:
User lightdm is logged in on seat0.
Please retry operation after closing inhibitors and logging out other users.
Alternatively, ignore inhibitors and users with 'systemctl poweroff -i'.
I'd rather not ignore inhibitors as they are there for an important reason, I'd much rather solve the problem. Also, it seemed rather odd that I could use lightdm's own shutdown and suspend commands from it's menu after I had logged out (I don't know if that has any relevance at all, I just though it might be a useful bit of info). So in looking at the error I thought it might be a good idea to poke around a little bit. The outputs of the loginctl and systemd-inhibit --list are respectfuly:
SESSION UID USER SEAT
c2 620 lightdm seat0
11 1000 alastair seat0
and
Who: root (UID 0/root, PID 1223/NetworkManager)
What: sleep
Why: inhibited
Mode: delay
So now that I have this information I have absolutely no idea how to solve my problem. Any and all help given would be much appreciated.
Last edited by Aloz1 (2013-11-05 09:51:59)
Offline
Same here. I keep trying lightdm every now and then because it (with gtk greeter) is the nicest DM I know of (dependencies, usability and appearance of the greeter), but it is still so *** buggy. Now it no longer crashes or delays shutdown till a timeout after two minutes, but there's this session hanging around.
Further inspection revealed that the state of that session is always "closing" (but it never gets to "closed"). I could also still poweroff without sudo from my launcher; not having a terminal on stdout/stderr probably has the same effect as -i. Since you don't seem to have any active inhibitors (currently), you could work with that (and check inhibitors everytime?), but having this session open also means your system(d) never goes into the idle state (which I use to put the system to sleep after a while).
I was not prepared to put in any more time after the trouble I went to to get lightdm to "work" in the first place, so I went back to LXDM, but I'll keep an eye on this thread.
Offline
Idealy I'd like to not switch from lightdm as it's been working without any issues for me for the last year and a bit. If it comes to changing, I think your right in that LXDM is a good choice. For now though, I'll see if anyone else has a solution or can at least point me in the right direction.
Offline
I suppose that means no one else has a solution at all (which probably also means not many others are experiencing the same issue as me ) Even if you guys don't have any propper solutions, I'm sure someone would be able to at least point me in the right direction (am really dreading needing to change display managers after having lightdm work really well for such a long time)
Thanks in advance to ANYONE who can give me at least a little bit of help with lightdm.
Offline
i do have the same issue. but no solution ;/
Offline
I've never had that issue, but it seems it was reported as a bug here: https://bugs.freedesktop.org/show_bug.cgi?id=62676
A patch was released which is said to solve the problem: http://cgit.freedesktop.org/systemd/sys … e14bdfd0ed
Please someone give it a try and tell us how it went.
Offline
That was six months ago. systemd has gone from 201 to 208 since then, so that patch (it was really just a regular commit) should be included by now.
And while there are some similarities, I don't think it's the same problem (and my money is still on lightdm being the culprit).
Offline
I had the same issue (and I use the workaround using lxdm for now).
However, on my laptop running arch as well, i don't have this problem. One thing i saw: on my PC lightdm had a process systemd --user.
Don't know, where or when this is called, but that might be the problem.
Offline
I just did my daily upgrade, saw there was a lightdm update and decided to check the changes. A patch from upstream was backported to fix a bug that seems like it might be the problem we were seeing.
Going to poweroff now, sleep and try it out in the morning.
Offline
Yep, it looks like the update has fixed the problem for me.
Offline
same here. nice!
Offline
I'm marking this as solved (let's see if I can figure out how )
Offline