aboutsummaryrefslogtreecommitdiffstats
#!/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