ubuntu桌面登录不上的故障解决:unable to connect to X server
来源:互联网 发布:java string 添加空格 编辑:程序博客网 时间:2024/06/13 06:02
正常启动Ubuntu,黑屏,无法显示登录界面。
使用恢复模式(recovery mode)以命令行方式启动,然后执行如下命令:
startx
报错大致如下:
/etc/X11/xinit/xserverrc: line 3: /usr/bin/X: No such file or directory/etc/X11/xinit/xserverrc: line 3: exec: /usr/bin/X: cannot execute: No such file or directoryxinit: giving upxinit: unable to connect to X server: Connection refusedxinit: server error
联想到前面鼓捣wxWidgets编译安装时,好像在安装依赖包时卸载了一些包含xserver的包,所以料想应该是这个问题导致的重启Ubuntu无法进行图形界面,于是执行如下指令安装相关xserver包:
sudo apt-get install xserver-xorg
安装完成后,重启系统,果然能够正常显示图形化登录界面了。
0 0
- ubuntu桌面登录不上的故障解决:unable to connect to X server
- 解决Error: Unable to connect to BackupPC server
- unable to connect to converter enterprise server
- cannot connect to X server
- Putty X11 proxy: unable to connect to forwarded X server: Network error:connection refused
- 使用客户端连接ubuntu上的mysql Can't connect to MySQL server on 'ubuntu'(10061)
- Unable to connect to printd的解决方法
- Unable to connect to any hosts due to exception: java.net.ConnectException:...问题的解决
- Unable to connect to CUPS server localhost:631 - C
- C028: "Unable to Connect to the Siebel Gateway Name Server
- Unable to connect to the remote server 问题
- nova-compute出错: unable to connect to AMQP server.
- PHP Warning: mssql_connect() Unable to connect to server
- zookeeper Unable to connect to zookeeper server within timeout: 5000
- Ranger错误:Unable to connect to Hive Thrift Server instance..
- ZkTimeoutException: Unable to connect to zookeeper server within timeout: 10000
- Unable to connect to zookeeper server within timeout: 5000
- start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart
- eclipse集成html5插件
- ActiveMQ初体验
- Android视图绘制流程完全解析,带你一步步深入了解View(二)
- 博弈_总结
- Activity生命周期
- ubuntu桌面登录不上的故障解决:unable to connect to X server
- linux下获取cpu信息
- android之多媒体篇-录像
- java Desktop 使用样例
- 如何在XML中使用nbsp
- linux硬盘性能检测
- PD转换成PPT转换器的下载和使用
- 线段树_模板
- c:if 和c:when 的区别