x11vnc XOpenDisplay failed fix

In later versions of Ubuntu running the command “x11vnc” no longer works. The suggestions in the error message also do not work. It boils down to the user’s login session now running on display :1, not :0. Thanks to this post I found the fix to be simple: Specify :1 as the display.

x11vnc -display :1

Resolved the issue. X11vnc is working again!

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.