Autologin for Xterm with LTSP
Configs so xterms login with wsXXX name.’, ‘
In my /etc/X11/gdm/gdm.conf:
AutomaticLoginEnable=true
AutomaticLogin=/usr/bin/autologin.sh|
TimedLoginEnable=true
TimedLogin=/usr/bin/autologin.sh|
TimedLoginDelay=5
/usr/bin/autologin.sh:
#!/bin/bash
echo `date` >> /tmp/autologin.log
HOSTNAME=`echo ${DISPLAY} | cut -f1 -d: | awk -F . {\' print $1 \'}`
echo $HOSTNAME
exit 0