w stopped working?

'Forum Post ulist at gs1.ubuntuforums.org
Mon Dec 12 09:10:52 UTC 2005


Eamonn Sullivan Wrote: 
> On 30/10/05, Robbo <ml (AT) the-view (DOT) eclipse.co.uk> wrote:

> > On Sun, 2005-10-30 at 15:07 +0000, Eamonn Sullivan wrote:

> > > I use the w command often when working on Ubuntu because I
> primarily

> > > use it from a wirelessly connected laptop via VNC. I use w to check
> if

> > > any of my kids are logged in on the computer (which is on the
> other

> > > side of the house), if i need to restart or do anything cpu
> intensive.

> > > Normally, when I run the command, i'd see myself and who ever is

> > > logged on upstairs (or via another vncserver connection) like
> user:0

> > > or user:1. However, in the last week or so w stopped working. Now
> I

> > > just get:

> > >

> > > esullivan at gandalf:~ $ w

> > >  15:03:32 up 1 day, 16:14,  2 users,  load average: 1.20, 0.89,
> 0.93

> > > USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU
> WHAT

> > > esullivan at gandalf:~ $

> > >

> > >

> >

> > w gets it's information from /var/run/utmp, check if this file
> exists

> > and has the permissions of -rw-rw-r-- (664).

> 

> Yep, it's there and has those permissions.

> 

> -Eamonn

> 

> -- 

> ubuntu-users mailing list

> ubuntu-users (AT) lists (DOT) ubuntu.com

> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users

I seem to be having the same problem. My /var/run/utmp has the right
permissions (664). 

Also, when resuming a screen, the following errormsg flashes briefly at
the bottom before the screen appears:




Code:
--------------------
    Could not write /var/run/utmp: No such process
--------------------


-- 
gasley




More information about the ubuntu-users mailing list