看了很多大同小异的帖子,都没能解决这个问题,以下是我的实测经验,注意第三步,很关键。

 

注:以下操作在确保vncserver、xdpyinfo服务正常的情况下进行

 

第一步:root登录,启动vncserver

关于./xhost:  unable to open display问题的解决

 

第二步:查看启用的vncserver进程

关于./xhost:  unable to open display问题的解决

 

第三步:设备DISPLAY参数:注意vncserver和export中参数的一致性。

关于./xhost:  unable to open display问题的解决

 

第四步:验证----出现这个就算OK:access control disabled, clients can connect from any host

 关于./xhost:  unable to open display问题的解决

 

相关文章:

  • 2021-09-21
  • 2022-12-23
  • 2021-07-21
  • 2021-04-24
  • 2021-09-09
  • 2022-12-23
  • 2021-04-29
  • 2021-10-26
猜你喜欢
  • 2022-12-23
  • 2021-10-02
  • 2022-12-23
  • 2021-10-30
  • 2022-12-23
  • 2022-12-23
  • 2021-12-29
相关资源
相似解决方案