您的位置:首页 > 其它

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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: