在线咨询
eetop公众号 创芯大讲堂 创芯人才网
切换到宽版

EETOP 创芯网论坛 (原名:电子顶级开发网)

手机号码,快捷登录

手机号码,快捷登录

找回密码

  登录   注册  

快捷导航
搜帖子
EETOP诚邀模拟IC相关培训讲师 创芯人才网--重磅上线啦!
查看: 3389|回复: 1

[解决] No protocol specified Cannot initialize GUI. The connection to X-server

[复制链接]
发表于 2016-4-7 16:37:52 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

x
最近在服务器上安装synopsys的软件时,使用vnc远程登录的时候输入启动命令软件界面总是显示在服务器的桌面上,
No protocol specified
Cannot initialize GUI.
The connection to X-server 'unix:0' is broken or refused.
Please check the value of the DISPLAY environment variable.
For this session, the tcl command 'setenv' can be used to set the value of the DISPLAY variable,
then the command 'gui_start' is used to start the GUI.

使用xhost +命令出错
[kaile001@kaile Desktop]$ xhost +
No protocol specified
xhost:  unable to open display ":0.0"
困惑了好几天,再往上找到好多资料都没用。偶尔发现了一个解决方法,试了一下发现有用,希望给需要的人带来帮助。

1.用root登陆linux,启动vnc服务;记下远程用户的桌面号
2.在用户账户下输入命令:export DISPLAY=localhost:1(1指用户自己的vnc桌面号)
3.在用户账户下输入命令:xhost +,并且提示“access control disabled, clients can connect from any host”

[kaile001@kaile Desktop]$ export DISPLAY=kaile.huaxin:1
[kaile001@kaile Desktop]$ xhost +
access control disabled, clients can connect from any host

再输入dc pt 就可以在远程桌面上开启软件界面了
发表于 2024-1-17 10:55:55 | 显示全部楼层
root@lizhen:~/workdir/vcs_test# ./simv -gui

Error-[DVAP021] DVE
Cannot connect to X server.
Please check your DISPLAY setting.
求请教这个是为什么。困了三天
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /2 下一条

小黑屋| 关于我们| 联系我们| 在线咨询| 隐私声明| EETOP 创芯网
( 京ICP备:10050787号 京公网安备:11010502037710 )

GMT+8, 2024-4-25 13:28 , Processed in 0.020963 second(s), 8 queries , Gzip On, Redis On.

eetop公众号 创芯大讲堂 创芯人才网
快速回复 返回顶部 返回列表