yyyyyyyyyyyyyyyyyyyy

博客园 首页 新随笔 联系 订阅 管理
  3788 随笔 :: 0 文章 :: 57 评论 :: 632万 阅读

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

posted on   xxxxxxxx1x2xxxxxxx  阅读(1854)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示