linux – 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

解决方法

你有连接到这台机器的调制解调器吗?不知道为什么会有群组拨出.那很奇怪. /var/log/Xorg.0.log的内容是什么?试试跑步:
startx -- :1

此外,您的用户正在运行什么终端?运行’who’以查看是否有其他人正在使用/ dev / tty0.或者更好的是它上面的lsof.

相关文章

1、安装Apache。 1)执行如下命令,安装Apache服务及其扩展包...
一、先说一下用ansible批量采集机器信息的实现办法: 1、先把...
安装配置 1. 安装vsftpd 检查是否安装了vsftpd # rpm -qa | ...
如何抑制stable_secret读取关键的“net.ipv6.conf.all.stabl...
1 删除0字节文件 find -type f -size 0 -exec rm -rf {} ...
## 步骤 1:安装必要的软件包 首先,需要确保系统已安装 `dh...