blob: 3ab2f544588954a91c2845d25cfd5d1b6976400e (
plain) (
tree)
|
|
#!/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
|