[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#692539: debian-edu-config: Diskless workstations with XFCE do not register logged in users in utmp



[Wolfgang Schweer]
> Seems to be there. At least kdm 4.8.4-4 (sid) shows the same effect,
> same config files, same workaround updates utmp.

Right.  I submitted BTS report #692730 to track the problem in kdm.
Please update it with more details if you got any.

> What about changing the shutdown-at-night script to not use »who«,
> instead looking for shell like bash/dash or session string to find
> logins? Would that be a way for existing installations? Could also
> solve the problem inside the chroot by a simple package update.

Nah, it should still shut down machines even if there are left-over
processes after logout (which happen all the time, leaving shells and
other processes lingering).  But perhaps we can find a better method?
What about ConsoleKit?

In any case, 'who' should report the logged in users, to make sure
'shutdown' know who to notify and other tools know that there are
logged in users present.

-- 
Happy hacking
Petter Reinholdtsen


Reply to: