Comment 3 for bug 631155

James Hunt (jamesodhunt) wrote :

This sounds like a bug with slim - try logging in on tty2 and looking at what file descriptors it has open:

ls -al /proc/$(pgrep slim)/fd/

If it has /dev/tty1 open, that's the problem. A better search would be to run the following as root which will tell you the pid of the process that has /dev/tty1 open

(cd /proc;for pid in [0-9][0-9]*; do ls -al /proc/$pid/fd|grep /dev/tty1; if [ $? -eq 0 ]; then echo "pid $pid has /dev/tty1 open"; fi; done)