diff options
| author | Philip Wittamore <philip@wittamore.com> | 2026-01-23 14:50:26 +0100 |
|---|---|---|
| committer | Philip Wittamore <philip@wittamore.com> | 2026-01-23 14:50:26 +0100 |
| commit | 91a1b14d8e4ffbaa80b95923d7707f4df40483d9 (patch) | |
| tree | 258fb13663049c5089229a73418c4dd6b498bb76 /Xstartup | |
| download | xdm-simple-dinit-91a1b14d8e4ffbaa80b95923d7707f4df40483d9.tar.gz xdm-simple-dinit-91a1b14d8e4ffbaa80b95923d7707f4df40483d9.tar.bz2 xdm-simple-dinit-91a1b14d8e4ffbaa80b95923d7707f4df40483d9.zip | |
update
Diffstat (limited to 'Xstartup')
| -rwxr-xr-x | Xstartup | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Xstartup b/Xstartup new file mode 100755 index 0000000..77e9cda --- /dev/null +++ b/Xstartup @@ -0,0 +1,7 @@ +#!/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 |
