[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Junk being written to wtmp by X



Here's a look at the output of a last command:

reboot   system boot                   Sun Jun 14 15:58  
p***     h~*@*****\*@ ****~!*@*        Sun Jun 14 15:21 - down   (00:34)
dtam     ttyp0        :0.0             Sun Jun 14 14:55 - down   (01:00)
p***     O****        ****~!*@*        Sun Jun 14 14:48 - down   (01:07)
dtam     ttyp0        :0.0             Sun Jun 14 14:48 - 14:55  (00:06)
p***     h~*@*****\*@ ****~!*@*        Sun Jun 14 14:44 - down   (01:11)
p***     h~*@*****\*@ ****~!*@*        Sun Jun 14 14:44 - 14:44  (00:00)
dtam     ttyp1        :0.0             Sun Jun 14 14:39 - down   (01:16)
dtam     ttyp0        :0.0             Sun Jun 14 14:39 - 14:48  (00:09)
dtam     tty11                         Sun Jun 14 14:38 - down   (01:17)

Looks great, except the garbled lines.  The junk seems to get sent
to wtmp when exiting an xterm in X.  This didn't happen while I was
running bo previously (with older packages, obviously).  I don't see
any processes being left behind, though the log claims that I'm
still logged in to that tty (only to be killed by a reboot).

Here's the line in my wharf file to start up xterm:
*Wharf xterm Monitor.xpm   Exec "-" xterm -geometry 80x24 -sl 256 -sb -ls -T "xterm@`hostname --long`" +cm +dc -j +nul -s -sb &

If I remove the -ls (new xterm is a login shell), this "solves"
the problem, since non-login shells are not logged to wtmp.  But
this is not what I want... I do want the xterm shells logged.

Some installed Debian package info that might be relevant:
afterstep   1.4.5.3-1
syslogd     1.3-26
xbase       3.3.2.1-1
xcontrib    3.3.1-2

Any insight appreciated.  Thanks,
Derek





--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: