Page 1 of 1
Virtual Console Configuring?
Posted: Sun Sep 16, 2007 10:16 am
by piranha
I know that this is kinda the wrong forum, but it's general ramblings....
Does anyone here know how to configure a Linux Kernel to switch to virtual consoles with key combo Alt + F1, F2, F3....?
-JL
Posted: Mon Sep 17, 2007 1:52 am
by JamesM
Are we talking inside X? or outside it? (as in - /dev/tty1-4 or pseudoterminals)
Posted: Mon Sep 17, 2007 5:11 pm
by piranha
OH, outside X and inside.
Posted: Tue Sep 18, 2007 3:31 am
by Solar
Device Drivers - Character Devices - Virtual Terminal.
Default is that you can do this switch with Alt - Fx on the console, and with Ctrl - Alt - Fx while on X. You need your /etc/inittab to set up the multiple terminals, though. On my system:
Code: Select all
# TERMINALS
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:2345:respawn:/sbin/agetty 38400 tty2 linux
c3:2345:respawn:/sbin/agetty 38400 tty3 linux
c4:2345:respawn:/sbin/agetty 38400 tty4 linux
c5:2345:respawn:/sbin/agetty 38400 tty5 linux
c6:2345:respawn:/sbin/agetty 38400 tty6 linux
Posted: Tue Sep 18, 2007 7:30 pm
by piranha
Thanks it works!
Thats pretty cool.
-JL