mythbuntu-bugs team mailing list archive
-
mythbuntu-bugs team
-
Mailing list archive
-
Message #05896
Re: [Bug 875817]? Re: who -q no longer counts gui users
I'm on my phone, so please excuse the shortness of this. But couldn't you
see what sessions were logged in and if not all were the light dm then
someone is logged in?
On Oct 23, 2011 9:47 AM, "DAP" <875817@xxxxxxxxxxxxxxxxxx> wrote:
> I could, and it work for me, but it is not a general solution as that is
> not the only available login screen tool, and it is likely to break on
> the next update of Ubuntu.
>
> I had thought "session-type" might be a better option, but the
> documentation basically says "UNDEFINED DO NOT USE!".
>
> --
> You received this bug notification because you are a member of Mythbuntu
> Bug Team, which is subscribed to mythtv in Ubuntu.
> https://bugs.launchpad.net/bugs/875817
>
> Title:
> who -q no longer counts gui users
>
> Status in “mythtv” package in Ubuntu:
> New
>
> Bug description:
> The "checklogin.sh" script on this page:
> http://www.mythtv.org/wiki/ACPI_Wakeup uses "who -q" to determine if a
> user is logged in to prevent MythTV from shutting down the computer when a
> user is using the computer.
> On 11.04 this worked fine.
> On 11.10, my system shuts down 10 minutes after booting unless I open a
> terminal window.
> On opening a terminal window and running "who -q" I get:
> $ who -q
> dpeale
> # users=1
> I used to get "users=2". The gui user is not counted anymore.
> This is true of both Unity and Gnome GUIs
>
> The 'w' command also has the same bug (I've never been able to figure
> out what package that comes from). It also has another bug. If you use
> one of the ctl-alt-Fx screens, login, and then logout, it continues to
> count that screen as logged in.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 11.10
> Package: coreutils 8.5-1ubuntu6
> ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
> Uname: Linux 3.0.0-12-generic x86_64
> ApportVersion: 1.23-0ubuntu3
> Architecture: amd64
> Date: Sun Oct 16 09:24:27 2011
> InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64
> (20110427.1)
> ProcEnviron:
> PATH=(custom, no user)
> LANG=en_US.UTF-8
> SHELL=/bin/bash
> SourcePackage: coreutils
> UpgradeStatus: Upgraded to oneiric on 2011-10-15 (0 days ago)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/mythtv/+bug/875817/+subscriptions
>
> _______________________________________________
> Mailing list: https://launchpad.net/~mythbuntu-bugs
> Post to : mythbuntu-bugs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~mythbuntu-bugs
> More help : https://help.launchpad.net/ListHelp
>
--
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to mythtv in Ubuntu.
https://bugs.launchpad.net/bugs/875817
Title:
who -q no longer counts gui users
Status in “mythtv” package in Ubuntu:
New
Bug description:
The "checklogin.sh" script on this page: http://www.mythtv.org/wiki/ACPI_Wakeup uses "who -q" to determine if a user is logged in to prevent MythTV from shutting down the computer when a user is using the computer.
On 11.04 this worked fine.
On 11.10, my system shuts down 10 minutes after booting unless I open a terminal window.
On opening a terminal window and running "who -q" I get:
$ who -q
dpeale
# users=1
I used to get "users=2". The gui user is not counted anymore.
This is true of both Unity and Gnome GUIs
The 'w' command also has the same bug (I've never been able to figure
out what package that comes from). It also has another bug. If you use
one of the ctl-alt-Fx screens, login, and then logout, it continues to
count that screen as logged in.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: coreutils 8.5-1ubuntu6
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Sun Oct 16 09:24:27 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: coreutils
UpgradeStatus: Upgraded to oneiric on 2011-10-15 (0 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mythtv/+bug/875817/+subscriptions