用tty2解决麻烦

时间:2015-04-01 10:33:35

标签: ubuntu console tty systemd

上次我设置Ubuntu 14.10并且它运行良好。它默认使用tty1控制台。但昨天晚上我更改了" xbindkeys"的设置。现在,我发现,ubuntu是从tty2开始的,绑定键不起作用。

要看到它,tty2 - 现在正在运作。

root@stand2:/# systemctl status getty@tty2
getty@tty2.service - Getty on tty2
   Loaded: loaded (/lib/systemd/system/getty@.service; enabled)
   Active: inactive (dead)
     Docs: man:agetty(8)
           man:systemd-getty-generator(8)
           http://0pointer.de/blog/projects/serial-console.html

并且,tty1没有使用。

root@stand2:/# systemctl status getty@tty1
getty@tty1.service - Getty on tty1
   Loaded: loaded (/lib/systemd/system/getty@.service; enabled)
   Active: active (running) since Wed 2015-04-01 15:32:34 NOVT; 56min ago
     Docs: man:agetty(8)
           man:systemd-getty-generator(8)
           http://0pointer.de/blog/projects/serial-console.html
 Main PID: 1888 (login)
   CGroup: /system.slice/system-getty.slice/getty@tty1.service
           ‣ 1888 /bin/login --

Apr 01 15:32:34 stand2 systemd[1]: Starting Getty on tty1...
Apr 01 15:32:34 stand2 systemd[1]: Started Getty on tty1.
Apr 01 15:33:28 stand2 login[1888]: pam_unix(login:session): session opened for user root by LOGIN(uid=0)

如何判断这个问题,我尝试了很多方法。

0 个答案:

没有答案