Auto Login tty

From wiki.linuxonlinehelp.de
Jump to: navigation, search

Auto Login Linux tty Console

at debian edit as user:

sudo nano /etc/inittab

search

1:2345:respawn:/sbin/getty 38400 tty1

change to:

#1:2345:respawn:/bin/login -f username tty1 </dev/tty1 >/dev/tty1 2>&1

Show System Status on tty0

to see system status after boot on tty without login do:

$sudo aptitude install htop
$sudo nano /etc/rc.conf

add lines:

sleep 15   # to wait 15 Seconds
htop       # to start htop System Monitor
exit 0

for clean shutdown:

$sudo nano /etc/init.d/halt

add first line after #!/bin/bash

killall htop