你先检查一下,终端的控制设定在以下几处
gksudo gedit /etc/default/console-setup
有没有以下这行?
ACTIVE_CONSOLES="/dev/tty[1-6]"
***想要减少成3个,可以改成ACTIVE_CONSOLES="/dev/tty[1-3]"
再来确认/etc/init.d/以下有没有
tty1.conf
tty2.conf
tty3.conf
tty4.conf
tty5.conf
tty6.conf
***之前改成1-3的人,可以把tty4.conf, tty5.conf, tty6.conf改名
里面的内容,应该每个都差不多,tty1.conf如下:。
start on stopped rc RUNLEVEL=[2345] and (
not-container or
container CONTAINER=lxc or
container CONTAINER=lxc-libvirt)
stop on runlevel [!2345]
respawn
exec /sbin/getty -8 38400 tty1
tty2.conf之后的
runlevel会只有23,不是2345
gksudo gedit /etc/default/console-setup
有没有以下这行?
ACTIVE_CONSOLES="/dev/tty[1-6]"
***想要减少成3个,可以改成ACTIVE_CONSOLES="/dev/tty[1-3]"
再来确认/etc/init.d/以下有没有
tty1.conf
tty2.conf
tty3.conf
tty4.conf
tty5.conf
tty6.conf
***之前改成1-3的人,可以把tty4.conf, tty5.conf, tty6.conf改名
里面的内容,应该每个都差不多,tty1.conf如下:。
start on stopped rc RUNLEVEL=[2345] and (
not-container or
container CONTAINER=lxc or
container CONTAINER=lxc-libvirt)
stop on runlevel [!2345]
respawn
exec /sbin/getty -8 38400 tty1
tty2.conf之后的
runlevel会只有23,不是2345