Differences between revisions 13 and 15 (spanning 2 versions)
Revision 13 as of 2019-11-20 11:43:12
Size: 1408
Editor: bonaccos
Comment:
Revision 15 as of 2019-11-20 11:46:29
Size: 1543
Editor: bonaccos
Comment:
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
In a terminal window in your existing desktop session start a x11vncserver with password protection. If you already have a password file `~/.vnc/passwd` from `vncserver` you must enter: In a terminal window in your existing desktop session start a `x11vnc` server with password protection. If you already have a password file `~/.vnc/passwd` from `vncserver` you must enter:
Line 41: Line 41:
After setting everything up you can connect to it with the program VNC Viewer After setting everything up you can connect to it with a VNC viewer. If you are outside ETH you need to either use VPN or tunnel the VPN connection trough a SSH. See [[Remote Access|RemoteAccess]] for details.

x11vnc

x11vnc allows you to view and interact remotely with an existing desktop session of yours.

Please note: While you are working with x11vnc, someone in your office can watch your actions on the local monitor of your computer.

How do I start x11vnc?

In a terminal window in your existing desktop session start a x11vnc server with password protection. If you already have a password file ~/.vnc/passwd from vncserver you must enter:

pmuster@zampano:~$ x11vnc -usepw -q

The VNC desktop is:      zampano:0
PORT=5900

To start x11vnc in a ssh terminal not belonging to the existing desktop session you must specify the X11 display:

pmuster@zampano:~ $ x11vnc -usepw -q -display :0

The VNC desktop is:      zampano:0
PORT=5900

If you don't have a password file from vncserver usage you will be prompted for one:

pmuster@zampano:~ $ x11vnc -usepw -q
Enter VNC password:
Verify password:
Write password to /home/pmuster/.vnc/passwd?  [y]/n y
Password written to: /home/pmuster/.vnc/passwd

The VNC desktop is:      zampano:0
PORT=5900

Connect with VNC Viewer

After setting everything up you can connect to it with a VNC viewer. If you are outside ETH you need to either use VPN or tunnel the VPN connection trough a SSH. See RemoteAccess for details.

vnc.PNG

After connection, if you log out or close the window the process will be stopped.

FAQ/x11vnc (last edited 2025-04-23 07:25:44 by maegger)