On Tue, Oct 08, 2002 at 10:30:04AM -0500, David Kelly wrote: [...] > % w > w: /dev/:0: No such file or directory > 10:21AM up 21:43, 1 user, load averages: 0.00, 0.00, 0.01 > USER TTY FROM LOGIN@ IDLE WHAT > dkelly p3 frisket 8:57AM - w
This is caused by a disagreement between X11's "sessreg" program and FreeBSD w/uptime. If you're using kdm, you can change this by tweaking sessreg's invocation in /usr/local/share/config/kdm/Xstartup to something like: exec sessreg -a -l console -h $DISPLAY -x /usr/local/share/config/kdm/Xservers -u /var/run/utmp $USER You'll also have to tweak /usr/local/share/config/kdm/Xreset to remove the sessreg utmp entry: exec sessreg -d -l console -h $DISPLAY -x /usr/local/share/config/kdm/Xservers -u /var/run/utmp $USER Alternatively you can remove the sessreg invocation in both files, or perhaps fix w/uptime to not display errors (since Linux & Solaris handles sessreg's utmp entries just fine). Cheers. -- Jonathan Chen <[EMAIL PROTECTED]> ---------------------------------------------------------------------- Jesus saves. Allah forgives. Cthulu thinks you'd make a nice sandwich. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message