Executar no terminal
ps -ft tty2
A saída será semelhante a:
UID PID PPID C STIME TTY TIME CMD
root 1024 1 0 06:52 tty2 00:00:00 /bin/login --
gulu 3532 1024 0 09:15 tty2 00:00:00 -bash
Aqui eu vou matar o Virtual Console 2 ( tty2
). Apenas mate o pid de /bin/login --
com root
privilege
kill -9 <pid>
aqui,
kill -9 1024