VNC登陆灰屏 - fatal IO error 11 (Resource temporarily unavailable) on X server

简介:

使用的是RH Linux 6.5 ,安装并配置好vnc后,登陆只有灰色屏幕,鼠标也是大X型,没有任何桌面内容,检查/etc/hosts 配置及其他一些可能导致的原因,均设置没有问题,怀疑是不是图形界面本身有问题,检查vnc log查看到

应该是图形界面相关的问题。 
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":1"^M
      after 147 requests (147 known processed) with 2 events remaining.^M     
      
检查过程:  
[oracle@ssp101 .vnc]$ ls -alrt
total 40
-rw-------. 1 oracle oinstall    8 Dec 29 17:16 passwd
-rwxr-xr-x. 1 oracle oinstall  664 Dec 29 17:16 xstartup
-rw-r--r--. 1 oracle oinstall    6 Dec 29 18:06 ssp101:2.pid
-rw-r--r--. 1 oracle oinstall    7 Dec 30 10:15 ssp101:3.pid
-rw-r--r--. 1 oracle oinstall 3358 Dec 30 10:15 ssp101:2.log
-rw-r--r--. 1 oracle oinstall 2204 Dec 30 10:15 ssp101:3.log
drwxr-xr-x. 2 oracle oinstall 4096 Dec 30 10:29 .
-rw-r--r--. 1 oracle oinstall    5 Dec 30 10:29 ssp101:1.pid
drwx------. 5 oracle oinstall 4096 Dec 30 10:29 ..
-rw-r--r--  1 oracle oinstall 2394 Dec 30 10:39 ssp101:1.log

[oracle@ssp101 .vnc]$ tail -f  ssp101:1.log  

Wed Dec 30 10:39:53 2015
 Connections: accepted: 10.72.147.35::62513
 SConnection: Client needs protocol version 3.8
 SConnection: Client requests security type VncAuth(2)

Wed Dec 30 10:40:41 2015
 VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888
 VNCSConnST:  Client pixel format depth 8 (8bpp) rgb max 3,3,3 shift 4,2,0
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":1"^M
      after 147 requests (147 known processed) with 2 events remaining.^M

使用如下命令安装图形界面相关的rpm包。 
RHEL5安装以下软件包组来支持桌面环境:yum groupinstall "X Window System" -y && yum groupinstall "GNOME Desktop Environment" -y; 
RHEL6系统安装以下软件包组来支持桌面环境:yum groupinstall "Desktop" -y,再执行命令chkconfig NetworkManager off (非常重要)

之后VNC登陆正常。  


还有一种情况,需要使用另外一个端口或使用另外一个用户注册vnc .
本文转自ITPUB博客tolywang的博客,原文链接:VNC登陆灰屏 - fatal IO error 11 (Resource temporarily unavailable) on X server,如需转载请自行联系原博主。
相关文章
|
6月前
|
XML Java Maven
nested exception is java.io.FileNotFoundException: class path resource [springmvc.xml] cannot be ope
nested exception is java.io.FileNotFoundException: class path resource [springmvc.xml] cannot be ope
176 0
nested exception is java.io.FileNotFoundException: class path resource [springmvc.xml] cannot be ope
|
前端开发 Java Spring
解决Caused by: java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/Servlet
解决Caused by: java.io.FileNotFoundException: Could not open ServletContext resource [/WEB-INF/Servlet
364 0
|
SQL Java 数据库连接
Mybatis:Error parsing SQL Mapper Configuration. Cause: java.io.IOException: Could not find resource
Mybatis:Error parsing SQL Mapper Configuration. Cause: java.io.IOException: Could not find resource
Exception in thread “main“ java.io.IOException: Could not find resource mybatis-config.xml
Exception in thread “main“ java.io.IOException: Could not find resource mybatis-config.xml
Exception in thread “main“ java.io.IOException: Could not find resource mybatis-config.xml
|
Linux
vm安装centOS报错:anaconda: Fatal IO error 104
vm安装centOS报错:anaconda: Fatal IO error 104
316 0
vm安装centOS报错:anaconda: Fatal IO error 104
|
机器学习/深度学习 Web App开发 移动开发
pip安装时 fatal error C1083 无法打开包括文件 “io.h” No such file or directory
pip安装时 fatal error C1083 无法打开包括文件 “io.h” No such file or directory
571 2
|
Java 测试技术
java.io.FileNotFoundException: Could not open ServletContext resource [/config.properties]
java.io.FileNotFoundException: Could not open ServletContext resource [/config.properties]
514 0
【c3p0】报错:java.io.FileNotFoundException: Resource not found at path '/mchange-log.properties'
配置项目启动初始,报错如下: 1 java.io.FileNotFoundException: Resource not found at path '/mchange-commons.properties'.
1958 0