# cleanup any old serverauth files lying around
# [ "`tty`" = "/dev/tty1" ] && /usr/bin/startx -- -nolisten tcp >>/var/log/startx.log 2>&1
if [[ "$(tty)" == "/dev/tty1" && "$(hostname)" == "main" ]] ; then
find /home/j -maxdepth 1 -type f -iname ".serverauth.*" -exec rm {} \;
/usr/bin/startx -- -nolisten tcp >>/var/log/startx.log 2>&1
fi