On Thu, Sep 4, 2008 at 15:30:43 +0100, Phil Endecott wrote:
> For some reason I'm not seeing lines in w, who or finger output for
> terminal emulators running inside my X session, though I have seen
> them in the past.
Not all terminal emulators are setgid utmp.
> If you did have them they co
Phil Endecott wrote:
> Julien Cristau wrote:
>> On Thu, Sep 4, 2008 at 15:04:14 +0100, Phil Endecott wrote:
>>
>>> No this doesn't work for me. You're looking for :0 in the FROM
>>> column, right? I have it in the TTY column:
>>>
>>> $ w -hs
>>> phil tty1 -17:19 -bash
>
Bart Samwel wrote:
Nope. I use gdm, and I get:
$ w -hs
root tty1 - 2:19 -bash
root tty2 - 2:19 -bash
bsamwel tty7 :00.00s x-session-manager
root pts/1:0.0 2:09m gnome-terminal
bsamwel pts/2:0.0
Julien Cristau wrote:
On Thu, Sep 4, 2008 at 15:04:14 +0100, Phil Endecott wrote:
No this doesn't work for me. You're looking for :0 in the FROM column,
right? I have it in the TTY column:
$ w -hs
phil tty1 -17:19 -bash
root tty2 -15:31 -b
Phil Endecott wrote:
> Bart Samwel wrote:
>> getXuser() {
>> w -hs | while read -r THIS_USER THIS_TTY THIS_DISPLAY
>> DUMMY_REMAINDER; do
>> if [ "$THIS_DISPLAY" = "$displaynum" ] ; then
>> user=$THIS_USER
>> break
>> fi
>> done
>> if [ x"$user" =
On Thu, Sep 4, 2008 at 15:04:14 +0100, Phil Endecott wrote:
> No this doesn't work for me. You're looking for :0 in the FROM column,
> right? I have it in the TTY column:
>
> $ w -hs
> phil tty1 -17:19 -bash
> root tty2 -15:31 -bash
> phil
Bart Samwel wrote:
getXuser() {
w -hs | while read -r THIS_USER THIS_TTY THIS_DISPLAY DUMMY_REMAINDER;
do
if [ "$THIS_DISPLAY" = "$displaynum" ] ; then
user=$THIS_USER
break
fi
done
if [ x"$us
Hi Phil,
Phil Endecott wrote:
> I've just spotted detect_x_display() in
> /usr/share/eeepc-acpi-scripts/functions.sh from package
> eeepc-acpi-scripts which does a similar thing by parsing the output of
> "who", rather than "finger". "who" has the advantage of being provided
> by coreutils, which
Bart Samwel wrote:
Hi Phil,
Phil Endecott wrote:
I am trying to get the lid event to suspend on my Eee 901 and have encountered
the following problems:
1. getXuser() in /usr/share/acpi-support/power-funcs uses finger, but the package
does not depend on finger (and I didn't have it installed).
Hi Phil,
Phil Endecott wrote:
> I am trying to get the lid event to suspend on my Eee 901 and have encountered
> the following problems:
>
> 1. getXuser() in /usr/share/acpi-support/power-funcs uses finger, but the
> package
> does not depend on finger (and I didn't have it installed).
Thanks
Package: acpi-support-base
Version: 0.109-5
Severity: normal
I am trying to get the lid event to suspend on my Eee 901 and have encountered
the following problems:
1. getXuser() in /usr/share/acpi-support/power-funcs uses finger, but the
package
does not depend on finger (and I didn't have it
11 matches
Mail list logo