Bug#466104: xinit: please use sessreg like in xdm, to log startx in the wtmp database
Package: xinit
Version: 1.0.7-2
Severity: normal
For those of us who choose not to start X every boot using xdm, we
don't get the X session being logged in the wtmp database like it does
from xdm.
Because X can be started and the parent shell subsequently exited, the
lack of an entry in wtmp gives the sysadmin a false impression that
noone is actually logged into the system when it comes time for them
to do maintenance and rebooting.
xdm has its mechanism in /etc/X11/xdm/{Xstartup,Xreset} to log the
details using sessreg - it would be good if startx could make use of a
similar scheme too.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24 (SMP w/2 CPU cores)
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages xinit depends on:
ii cpp 4:4.2.2-2 The GNU C preprocessor (cpp)
ii libc6 2.7-6 GNU C Library: Shared libraries
ii libx11-6 2:1.0.3-7 X11 client-side library
ii x11-common 1:7.3+10 X Window System (X.Org) infrastruc
xinit recommends no packages.
-- no debconf information
Reply to: