summarylogtreecommitdiffstats
path: root/Xstartup
blob: 77e9cda0b76ec08385ab17c07bbe13dff9eb2a4a (plain)
1
2
3
4
5
6
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