U
U
Us592020-05-25 17:57:33
ubuntu
Us59, 2020-05-25 17:57:33

How to fix XOpenDisplay failed error?

Installed X11VNC as instructed
Quote:

To run the program right now and check if it works, you can use the following command:

x11vnc -noxdamage -shared -dontdisconnect -many -noxfixes -rfbauth /etc/x11vnc.pass


25/05/2020 14:50:41 passing arg to libvncserver: -dontdisconnect
25/05/2020 14:50:41 passing arg to libvncserver: -rfbauth
25/05/2020 14:50:41 passing arg to libvncserver: /etc/x11vnc.pass
25/05/2020 14:50:41 x11vnc version: 0.9.13 lastmod: 2011-08-10  pid: 1622
25/05/2020 14:50:41 XOpenDisplay("") failed.
25/05/2020 14:50:41 Trying again with XAUTHLOCALHOSTNAME=localhost ...
25/05/2020 14:50:41
25/05/2020 14:50:41 *** XOpenDisplay failed. No -display or DISPLAY.
25/05/2020 14:50:41 *** Trying ":0" in 4 seconds.  Press Ctrl-C to abort.
25/05/2020 14:50:41 *** 1 2 3 4
No protocol specified
25/05/2020 14:50:45 XOpenDisplay(":0") failed.
25/05/2020 14:50:45 Trying again with XAUTHLOCALHOSTNAME=localhost ...
No protocol specified
25/05/2020 14:50:45 XOpenDisplay(":0") failed.
25/05/2020 14:50:45 Trying again with unset XAUTHLOCALHOSTNAME ...
No protocol specified
25/05/2020 14:50:45

25/05/2020 14:50:45 ***************************************
25/05/2020 14:50:45 *** XOpenDisplay failed (:0)

*** x11vnc was unable to open the X DISPLAY: ":0", it cannot continue.
*** There may be "Xlib:" error messages above with details about the failure.


I'm getting this error. Tell me how to fix?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question