MR ZenWiz | 18 Jun 2012 02:10
Picon

Who and write not working as before

I recently installed Xubuntu 12.04 on my home desktop where I was
previously running Ubuntu 10.10, and something strange is now
happening - who and write don't work the way they used to.

1) 'who' by itself displays nothing at all.  With 'who -a', I get this:

$ who -a
          system boot  2012-06-16 12:57
          run-level 2  2012-06-16 12:57
LOGIN      tty4         2012-06-16 12:57              1081 id=4
LOGIN      tty5         2012-06-16 12:57              1087 id=5
LOGIN      tty2         2012-06-16 12:57              1094 id=2
LOGIN      tty3         2012-06-16 12:57              1095 id=3
LOGIN      tty6         2012-06-16 12:57              1097 id=6
LOGIN      tty1         2012-06-16 12:57              1317 id=1

This is not helpful, as you might guess.

2) Worse, write does not seem to work at all.  If I write to myself, I
get a message that I'm not logged in.

What am I missing?

MR ZenWiz

C de-Avillez | 18 Jun 2012 03:48
Favicon

Re: Who and write not working as before

On Sun, 17 Jun 2012 17:10:09 -0700
MR ZenWiz <mrzenwiz <at> gmail.com> wrote:

> I recently installed Xubuntu 12.04 on my home desktop where I was
> previously running Ubuntu 10.10, and something strange is now
> happening - who and write don't work the way they used to.

I am not sure about what is meant for "the way they used to".
Nevertheless, this is a known issue on LightDM [1]; a patch has been
proposed and accepted upstream, and a SRU is opened against 12.04, with
a target of 12.04.1.

> 
> 1) 'who' by itself displays nothing at all.  With 'who -a', I get
> this:
> 
> $ who -a
>           system boot  2012-06-16 12:57
>           run-level 2  2012-06-16 12:57
> LOGIN      tty4         2012-06-16 12:57              1081 id=4
> LOGIN      tty5         2012-06-16 12:57              1087 id=5
> LOGIN      tty2         2012-06-16 12:57              1094 id=2
> LOGIN      tty3         2012-06-16 12:57              1095 id=3
> LOGIN      tty6         2012-06-16 12:57              1097 id=6
> LOGIN      tty1         2012-06-16 12:57              1317 id=1
> 
> This is not helpful, as you might guess.

This is *one* of the issues with 'who' -- actually, with utmp/wtmp
handling and usage. 'who' just reports on what it finds in utmp.
(Continue reading)

MR ZenWiz | 18 Jun 2012 05:12
Picon

Re: Who and write not working as before

On Sun, Jun 17, 2012 at 6:48 PM, C de-Avillez <hggdh2 <at> ubuntu.com> wrote:
> On Sun, 17 Jun 2012 17:10:09 -0700
> MR ZenWiz <mrzenwiz <at> gmail.com> wrote:
>
>> I recently installed Xubuntu 12.04 on my home desktop where I was
>> previously running Ubuntu 10.10, and something strange is now
>> happening - who and write don't work the way they used to.
>
> I am not sure about what is meant for "the way they used to".
> Nevertheless, this is a known issue on LightDM [1]; a patch has been
> proposed and accepted upstream, and a SRU is opened against 12.04, with
> a target of 12.04.1.
>
Many thanks.

MRZ


Gmane