【问题标题】:VNC server set up : -auth guess: failed for display='unset'VNC 服务器设置:-auth 猜测:display='unset' 失败
【发布时间】:2020-06-26 06:08:16
【问题描述】:

我正在尝试使用 putty 远程设置 vncserver(在 ubuntu 18.04 上)。我正在参考 https://tecadmin.net/setup-x11vnc-server-on-ubuntu-linuxmint/ 。 虽然我收到以下消息,但端口号不同:

14/03/2020 19:29:18 passing arg to libvncserver: /path/.vnc/passwd
14/03/2020 19:29:18 passing arg to libvncserver: -rfbport
14/03/2020 19:29:18 passing arg to libvncserver: 5900
14/03/2020 19:29:18 x11vnc version: 0.9.13 lastmod: 2011-08-10  pid: 8026
14/03/2020 19:29:18 -auth guess: failed for display='unset'
14/03/2020 19:29:18 -auth guess: since we are root, retrying with FD_XDM=1
14/03/2020 19:29:18 -auth guess: failed for display='unset'

我需要在某个文件中设置显示吗?

【问题讨论】:

    标签: ubuntu server installation vnc-server


    【解决方案1】:

    在运行链接中描述的命令之前尝试添加export DISPLAY=:1

    例如

    export DISPLAY=:1
    sudo x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /home/YOUR_USER/.vnc/passwd -rfbport 5900 -shared
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-07-06
      • 1970-01-01
      • 2015-09-16
      • 1970-01-01
      • 2018-03-04
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多