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

Bug#466104: xinit: please use sessreg like in xdm, to log startx in the wtmp database



severity 466104 wishlist
kthxbye

On Sun, Feb 17, 2008 at 02:51:53 +1100, Tim Connors wrote:

> 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.
> 
xdm runs as root, and actually lets the user log in.  Neither of those
is the case for xinit.  The user running xinit has already logged in.
(I'm actually tempted to close this bug or at least tag it wontfix)

Cheers,
Julien



Reply to: