diff options
| author | Philip Wittamore <philip@wittamore.com> | 2026-05-03 14:03:12 +0200 |
|---|---|---|
| committer | Philip Wittamore <philip@wittamore.com> | 2026-05-03 14:03:12 +0200 |
| commit | d23c158bb34be7d4c9d1fbbd5ec23fa5d9c3fccb (patch) | |
| tree | 65a1ae5505155b0cfa82a3a52fc86f49be9ce28e /Xstartup | |
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 |
