Linux中非root用户启动云巡检检测工具报错(Can't connect to X11)

栏目:eas cloud知识作者:金蝶来源:金蝶云社区发布:2024-09-16浏览:1

Linux中非root用户启动云巡检检测工具报错(Can't connect to X11)

No protocol specified
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':2.0' as the value of the DISPLAY variable.
此方法也适用于AIX、HP-Unix和Solaris
解决方案:
1.切换到root用户下,在终端中执行命令(注意+号有空格):xhost +
2.然后再启动工具即可

Linux中非root用户启动云巡检检测工具报错(Can't connect to X11)

No protocol specifiedException in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':...
点击下载文档
分享:
确认删除?
回到顶部
客服QQ
  • 客服QQ点击这里给我发消息