


Krfb doesn't have a built-in way to accept the next connection then stop listening for connection attempts. There's no built-in way to only allow local connections, although see below for a solution.To put krfb in view-only mode, untick Allow uninvited connections to control the desktop. To set a password, type a hard-to-guess password into the Password input box. To set krfb to request access each time, tick Confirm uninvited connections before accepting To configure krfb, go to System Settings > Sharing > Desktop Sharing > Configure. Because it's highly integrated with KDE, running it in other environments is difficult. Krfb is the default VNC server in Kubuntu. Have x11vnc start automatically via upstart in any environment ( To set x11vnc to only allow local connections, include the -localhost option. To put x11vnc in view-only mode, include the -viewonly option. To set x11vnc to continually listen for connections, include the -forever option. To set x11vnc to only listen for the next connection, include the -once option. To set x11vnc to request access each time when set without a password, include the -nopw -accept popup:0 options. Here a few settings that would be common to adjust depending on your environment: One may execute the following in a terminal: x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth /home/USERNAME/.vnc/passwd -rfbport 5900 -shared Password written to: /home/USERNAME/.vnc/passwd Write password to /home/USERNAME/.vnc/passwd? /n y It will respond with: Enter VNC password: It is helpful to ensure you have uninstalled any other VNC programs first so that they don't interfere with x11vnc.Īs a quick proof of concept to test your connectivity, as per the man page, one may create a password file via: x11vnc -storepasswd It can be started while your computer is still showing a login screen.

Also, it facilitates using in a minimal environment, as it has a tcl/tk based GUI. X11vnc is a VNC server that is not dependent on any one particular graphical environment. To allow connections from anywhere, open a terminal and run the command: gsettings reset network-interface To only allow local connections, open a terminal and run the command: gsettings set network-interface lo To put vino in view-only mode, untick Allow other users to control your desktop.

To set a password, tick Require the user to enter this password:, and enter a hard-to-guess password.
