I am trying to setup vncserver(on ubuntu 18.04) remotely using putty. I was taking reference from https://tecadmin.net/setup-x11vnc-server-on-ubuntu-linuxmint/ . Although I got following message with repetition with different port numbers:
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'
Do I need to set display in some file?
Try adding export DISPLAY=:1
before running the command described in the link.
e.g.
export DISPLAY=:1
sudo x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /home/YOUR_USER/.vnc/passwd -rfbport 5900 -shared
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With