LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   where is the config file for tty? (https://www.linuxquestions.org/questions/slackware-14/where-is-the-config-file-for-tty-853646/)

unclejed613 01-01-2011 10:15 PM

where is the config file for tty?
 
i've been wondering what's up with the tty's in slack. [ctrl]-[alt]-[f1-f5] don't seem to work for CLI consoles, and [ctrl]-[alt]-[f8-f10] don't work for X. where's the config file to change this?

mRgOBLIN 01-01-2011 10:33 PM

In runlevel 4 (X) there is only one on F6.

Runlevel 3 you will find 1 through to 7

All set up in /etc/inittab as one would expect.

catkin 01-01-2011 10:45 PM

I like having all those virtual terminals available :) so enable them (except for tty1 which is left dedicated as the console for slow-running boot scripts). Here's part of the inittab with #@ used to identify local changes:
Code:

# These are the standard console login getties in multiuser mode:
#@ 19oct10 commented out tty1 to avoid messing up the console with a login prompt
#@ 19oct10 enabled vt 2 to 5 in run level 4
#@c1:1235:respawn:/sbin/agetty 38400 tty1 linux
#@c2:1235:respawn:/sbin/agetty 38400 tty2 linux
#@c3:1235:respawn:/sbin/agetty 38400 tty3 linux
#@c4:1235:respawn:/sbin/agetty 38400 tty4 linux
#@c5:1235:respawn:/sbin/agetty 38400 tty5 linux
c2:12345:respawn:/sbin/agetty 38400 tty2 linux
c3:12345:respawn:/sbin/agetty 38400 tty3 linux
c4:12345:respawn:/sbin/agetty 38400 tty4 linux
c5:12345:respawn:/sbin/agetty 38400 tty5 linux
c6:12345:respawn:/sbin/agetty 38400 tty6 linux



All times are GMT -5. The time now is 05:49 PM.