Hey,

I noticed that XDM sessions are not registered with utmp, which, in
cases, leads to w/who not showing any user logged in.

The problem ist with /etc/X11/xdm/GiveConsole, which explicitly disables
utmp registration. Attached is a diff that changes this setting.

What do you think?

Regards
Andre


===================================================================
RCS file: GiveConsole,v
retrieving revision 1.3
diff -u -r1.3 GiveConsole
--- GiveConsole 2010/03/28 10:33:02     1.3
+++ GiveConsole 2012/07/03 19:05:50
@@ -8,4 +8,4 @@
 # causing serious grief.
 #
 chown $USER /dev/console
-/usr/X11R6/bin/sessreg -a -l $DISPLAY -u none -x
/usr/X11R6/lib/X11/xdm/Xservers $USER
+/usr/X11R6/bin/sessreg -a -l $DISPLAY -x
/usr/X11R6/lib/X11/xdm/Xservers $USER

Reply via email to