码迷,mamicode.com
首页 > 其他好文 > 详细

startkde出现$DISPLAY is not set or cannot connect to the X server

时间:2015-06-19 21:31:28      阅读:3857      评论:0      收藏:0      [点我收藏+]

标签:

#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.

startkde出现$DISPLAY is not set or cannot connect to the X server

标签:

原文地址:http://www.cnblogs.com/x113/p/4589700.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!