startkde出现$DISPLAY is not set or cannot connect to the X server
2015-06-19 20:31
561 查看
#startkde
$DISPLAY is not set or cannot connect to the X server
解决:
xinit /usr/bin/startkde --display :1 -- /usr/bin/Xorg :1
或者:
xinit /usr/bin/startkde --display :1
If you want to play with examples like this, you might want to use xinit
to start your sessions:
xinit /usr/bin/startkde --display :1 -- /usr/bin/Xorg :1
will just about always get you what you want. If your command, startkde
in this case, does not have a "--display" flag, you'll have to export
DISPLAY=:1 beforehand and you might even need to add "-ac" to the Xorg
command line to allow connections.
$DISPLAY is not set or cannot connect to the X server
解决:
xinit /usr/bin/startkde --display :1 -- /usr/bin/Xorg :1
或者:
xinit /usr/bin/startkde --display :1
If you want to play with examples like this, you might want to use xinit
to start your sessions:
xinit /usr/bin/startkde --display :1 -- /usr/bin/Xorg :1
will just about always get you what you want. If your command, startkde
in this case, does not have a "--display" flag, you'll have to export
DISPLAY=:1 beforehand and you might even need to add "-ac" to the Xorg
command line to allow connections.
相关文章推荐
- c++动态绑定、静态绑定与java中动态绑定与静态绑定的比较
- 黑马day05 URL重写
- float数据在计算机内存中的存储方法
- startkde出现$DISPLAY is not set or cannot connect to the X server
- C语言语法
- poj - 3071 Football (概率dp)
- 学习笔记(一)初始化与清理
- 谈谈我的大学生活
- 【The VC Dimension】林轩田机器学习基石
- Extended MessageBox Library (assembly) for .NET
- SIFT检测特征点之生成128维描述子
- 正则表达式
- SIFT的视频跟踪
- MySQL数据库优化学习笔记
- java.lang.reflect.invocationtargetexception
- 剑指offer--面试题21:包含min函数的栈--Java实现
- Mesos + Marathon 安装与使用
- libSVM 参数选择
- 对SVM的个人理解
- 中国军队与麒麟,在什么操作系统,美军就?