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

xf86OpenConsole:无法打开 /dev/tty0(没有此文件或目录)
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

答案1

您是否将调制解调器连接到此机器?不确定为什么会有群组拨出。这很奇怪。/var/log/Xorg.0.log 的内容是什么?尝试运行:

 startx -- :1

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

相关内容