Differences between revisions 6 and 9 (spanning 3 versions)
Revision 6 as of 2019-05-21 15:30:07
Size: 918
Editor: misticat
Comment:
Revision 9 as of 2019-10-29 08:45:08
Size: 1230
Editor: gfreudig
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from x11vnc
Line 2: Line 3:
x11vnc allows one to view remotely and interact with real X displays x11vnc allows you to view and interact remotely with an existing desktop session of yours.
Line 4: Line 5:
== How do I use x11vnc? == == How do I start x11vnc? ==
Line 6: Line 7:
Start a x11vncserver with: 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:
Line 8: Line 10:
fgtest02@balz:~$ x11vnc pmuster@zampano:~$ x11vnc -usepw -q
Line 10: Line 12:
The VNC desktop is: zampano:0
PORT=5900
Line 12: Line 16:
You can also start it with a password. Replace USERNAME with your own username. To start x11vnc in a ssh terminal not belonging to the existing desktop session you must specify the X11 display:
Line 14: Line 18:
fgtest02@balz:~$ x11vnc -rfbauth /home/USERNAME/.vnc/passwd pmuster@zampano:~ $ x11vnc -usepw -q -display :0
Line 16: Line 20:
The VNC desktop is: zampano:0
PORT=5900
Line 18: Line 24:
At the end you should get following message: If you don't have a password file from vncserver usage you will be prompted for one:
Line 20: Line 26:
The VNC desktop is: balz:0
PORT=5900

}}}

If you don't have a password file you can create one with:
{{{
fgtest02@balz:~$ x11vnc -storepasswd
pmuster@zampano:~ $ x11vnc -usepw -q
Line 30: Line 29:
Write password to /home/fgtest02/.vnc/passwd? [y]/n y
Password written to: /home/fgtest02/.vnc/passwd
Write password to /home/pmuster/.vnc/passwd? [y]/n y
Password written to: /home/pmuster/.vnc/passwd
Line 33: Line 32:
The VNC desktop is: zampano:0
PORT=5900

x11vnc

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

How do I start x11vnc?

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:

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 the program VNC Viewer

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)