diff options
author | Eric Hameleers <alien@slackware.com> | 2015-11-28 01:52:06 +0100 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2015-11-28 01:52:06 +0100 |
commit | 4d5cdc379e338c1c28f4d7d09226d4167a3f9e1e (patch) | |
tree | 95eba4e47f473c238361f19750cbd7d392a333e1 /xdm/Xstartup | |
download | liveslak-4d5cdc379e338c1c28f4d7d09226d4167a3f9e1e.tar.gz liveslak-4d5cdc379e338c1c28f4d7d09226d4167a3f9e1e.tar.xz |
Slackware Live Edition: initial commit.Beta2
This is Beta 2.
Read http://alien.slackbook.org/blog/slackware-live-edition-beta-2
for all the details.
Diffstat (limited to '')
-rwxr-xr-x | xdm/Xstartup | 8 |
1 files changed, 8 insertions, 0 deletions
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 + |