From 91a1b14d8e4ffbaa80b95923d7707f4df40483d9 Mon Sep 17 00:00:00 2001 From: Philip Wittamore Date: Fri, 23 Jan 2026 14:50:26 +0100 Subject: update --- Xstartup | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 Xstartup (limited to 'Xstartup') 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 -- cgit v1.2.3