From 4d5cdc379e338c1c28f4d7d09226d4167a3f9e1e Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sat, 28 Nov 2015 01:52:06 +0100 Subject: Slackware Live Edition: initial commit. This is Beta 2. Read http://alien.slackbook.org/blog/slackware-live-edition-beta-2 for all the details. --- xdm/Xstartup | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 xdm/Xstartup (limited to 'xdm/Xstartup') diff --git a/xdm/Xstartup b/xdm/Xstartup new file mode 100755 index 0000000..3ab2f54 --- /dev/null +++ b/xdm/Xstartup @@ -0,0 +1,8 @@ +#!/bin/sh + +# Get rid of all clients started by Xsetup +xwininfo -root -children | grep ' 0x' | cut -d' ' -f6 | xargs -n1 xkill -id + +# Register a login (derived from GiveConsole as follows:) +exec /usr/bin/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x /etc/X11/xdm/Xservers -l $DISPLAY -h "" $USER + -- cgit v1.2.3