slackbuilds/x/theme-xdm/xdm/Xstartup.patch
Gwenhael Le Moine 5c1eb7af23 start a theme for xdm
Signed-off-by: Gwenhael Le Moine <cycojesus@darkstar.example.net>
2009-11-19 17:32:47 +07:00

10 lines
354 B
Diff

--- /etc/X11/xdm/Xstartup 2009-06-03 12:40:26.000000000 +0700
+++ Xstartup 2009-11-19 15:36:59.557499617 +0700
@@ -1,4 +1,7 @@
#!/bin/sh
# Register a login (derived from GiveConsole as follows:)
#
+
+kill -9 $(cat /var/run/Xsession.pid)
+
/usr/bin/sessreg -a -w "/var/log/wtmp" -u "/var/run/utmp" -x "XDMCONFIGDIR/Xservers" -l $DISPLAY -h "" $USER