xf86OpenConsole:无法打开/ dev / tty0(无此文件或目录)


9
root@mazgalici:~# startx


X.Org X Server 1.7.6
Release Date: 2010-03-17
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-28-server i686 Ubuntu
Current Operating System: Linux mazgalici 2.6.18-194.26.1.el5.028stab079.2PAE #1 SMP Fri Dec 17 19:34:22 MSK 2010 i686
Kernel command line: quiet
Build Date: 10 November 2010  11:25:26AM
xorg-server 2:1.7.6-2ubuntu7.4 (For technical support please see )
Current version of pixman: 0.16.4
        Before reporting problems, check 
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Jan 11 01:28:48 2011
(==) Using config directory: "/usr/lib/X11/xorg.conf.d"

Fatal server error:
xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)


Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

 ddxSigGiveUp: Closing log

好吧,这ls -l /dev/tty0告诉你什么?
暂停,直到另行通知。

crw-rw ---- 1个root拨出4,0 2011-01-08 21:32 / dev / tty0
mazgalici 2011年

3
重新打开。这个问题不应该被解决。它与xorg有关,xorg是一种广泛使用(如果不是最常用的桌面服务器)的桌面服务器。我有同样的错误信息。可能需要将问题标题更改为“我该如何处理...”或“ ...错误是什么意思?”。
乔纳森·科马尔

Answers:


2

您是否有调制解调器连接到本机?不知道为什么会有群组拨出。真奇怪 /var/log/Xorg.0.log的内容是什么?尝试运行:

 startx -- :1

另外,您的用户在哪个终端上运行?运行“谁”来查看是否有人在使用/ dev / tty0。或者更好的是lsof。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.