[PATCH 2/4] Properly register session with utmp.

Mark Kettenis mark.kettenis at xs4all.nl
Mon Aug 8 12:45:15 PDT 2011


> From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= <mcepl at redhat.com>
> Date: Mon,  8 Aug 2011 21:26:48 +0200
> 
> I guess we should have corresponding sessreg -d call in config/TakeConsole
> as well, right?
>
> diff --git a/config/GiveConsole b/config/GiveConsole
> index f8a8c6d..d201a5c 100644
> --- a/config/GiveConsole
> +++ b/config/GiveConsole
> @@ -7,3 +7,5 @@
>  # causing serious grief.
>  #
>  chown $USER /dev/console
> +exec /usr/bin/sessreg  -a -w "/var/log/wtmp" -u "/var/run/utmp" \
> +        -x "/etc/X11/xdm/Xservers" -l $DISPLAY -h "" $USER

$ ls -l /usr/bin/sessreg
ls: /usr/bin/sessreg: No such file or directory

Guess that's a NACK.


More information about the xorg-devel mailing list