Comment 16 for bug 875817

Revision history for this message
C de-Avillez (hggdh2) wrote :

@DAP: "This re-clasification is a problem since the "checklogin.sh" script is not actually a part of mythtv. It is a user written script that exists and is maintained only on the mythtv wiki."

Yes, it is a problem. But -- although I agree with you that we should have something more robust to find who -- if anyone -- is logged in, this is *not* a problem with coreutils; at the point in time I reset the bug to mythtv I have no idea this was not part of the official mythtv distro (I do not use it). So, right now, and until something more tangible lands here. mythtv is still not a bad place. Alternatively, we could, I guess, open a task on Ubuntu itself and set it to WISHLIST.

I do think we miss something to check for a *local* user logged in. 'who' (or 'w', it seems) do not do the trick, since it relies on UTMP. I think this would benefit *all* Linux distros.

It sounds like Mario's suggestion is still a good one: write a wrapper over 'ck-list-sessions', or extend it, to provide the functionality you (we all, in fact) need. Unfortunately I do not have time to do that right now... sorry.

May I suggest you to contact the MythTV community on that?

Looking at your comment #13 -- LightDM will only be shown if there is no logged-in user (under LightDM itself). Note that you logged in on a pseudo-terminal (tty2).