Fatal server error:Server is already active for display 0

转载 2013年12月04日 16:05:43

转自:http://blog.csdn.net/xiaobai1593/article/details/6742635

Fedora在启动过程中完全正常,未有任何错误提示。但会转到字符界面的登录提示下,而不是X Window的登录界面。

使用startx命令启动X Window失败,提示如下:

Fatal server error:

Server is already active for display 0

If this server is no longer running, remove /tmp/.X0-lock and start again

排错过程:

1. 检查是否只有一个X server在运行。

The number denotes the display number (in this case 0). This number needs to be unique on the system, so you cannot run two servers on one system with identical display numbers. This message indicates that there is already a server with this number running on the system. 

检查方法:

You can verify this by running 

 ps aux | grep `cat /tmp/.X0-lock`

如果有类似的输出,则表明确实有一个Xserver正在运行

If you see an output like: 

root  2283  0.5  5.1 27796 6536 ?    S  Apr21  59:03 [X]

it indicates that there is indeed an Xserver running under this PID.

解决方法:

 To start a second server on the same system you have to give it a different dislay number. 

If you start your servers using startx you can do:

startx -- :1

to start a server with display number 1. 

2. 没有Xserver在运行时,删除tmp/.X0-lock文件,然后再startx

If you are sure there is no other server running on your system and above ps command indicates that no server with this PID is running, you should remove the file /tmp/.X0-lock by doing (as 'root'): 

rm -rf /tmp/.X0-lock

需要用root权限才能删除,其中-f 表示强制删除。


相关文章推荐

【转】Fatal server error:Server is already active

原文:http://blog.sina.com.cn/s/blog_4987199801000axm.htmlcentos5症状也可用下面办法 引用: http://silverfox.name/ar...

Fatal server error:Server is already active for display 0

Fedora在启动过程中完全正常,未有任何错误提示。但会转到字符界面的登录提示下,而不是X Window的登录界面。 使用startx命令启动X Window失败,提示如下: Fatal serv...

server is already active for display 0

今天在VMWare中安装了CentOS,在利用Ctrl+Alt+F3打开命令行面板时候,不知道是不是因为登录了太多次,最后在利用Clt+ALt+F7 下,一直没反应,利用startx时候却出现了一个f...

startx无法进图形,错误Fatal server error:Server is already active for display0(终端转图形界面)

图形模式转终端模式:按Ctrl+Alt+F1 终端模式转图形模式:登录系统后执行startx命令,如果不行则按Alt+F7 终端模式下注销登录:执行exit命令 图形模式下注销登录:系统-》注销...

解决Retrying connect to server: 0.0.0.0/0.0.0.0:8032. Already tried 0 time(s); retry policy is...

yarn.resourcemanager.address S1PA124:8032 yarn.resourcemanager.scheduler.address S...

Server(Admin) start is failing in WLST as outofmemory error permgen space for weblogic 12c

OutOfMemory Causes and First Aid Steps? In response to the Comment: http://middlewaremagic.co...

命令行运行Hbase: Session 0x0 for server null, unexpected error

又重新看了下hbase的操作,以前虽说是运行过对Hbase的操作,比如直接的建表,导入数据,或者是使用MR操作Hbase,但是都是在单节点上做的,而且是用eclipse下操作的,不用担心一些包的问题。...

ClientCnxn: Session 0x0 for server null, unexpected error Connection refused

坑爹的异常!这个异常碰到过多次每次有可能会是不同的地方出现问题导致, 现在总结出来该异常的总体解决方向为:是zookeeper访问regionserver时候抛出的,一般是hbase-site.xm...

命令行运行Hbase: Session 0x0 for server null, unexpected error

今天又重新看了下hbase的操作,以前虽说是运行过对Hbase的操作,比如直接的建表,导入数据,或者是使用MR操作Hbase,但是都是在单节点上做的,而且是用eclipse下操作的,不用担心一些包的问...

STS: Port 8080 required by Pivotal tc Server Developer is already in use

STS: Port 8080 required by Pivotal tc Server Developer is already in use 问题描述:使用 STS 开发 Spring MVC 程...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

(最多只允许输入30个字)