Size: 777
Comment:
|
Size: 1583
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
#rev 2020-09-15 gfreudig ## page was renamed from x11vnc |
|
Line 2: | Line 4: |
`x11vnc` allows you to view and interact remotely with an existing desktop session of yours. | |
Line 3: | Line 6: |
== How do I use x11vnc? == | {{{{#!wiki important '''Please note:''' While you are working with `x11vnc`, someone in your office can watch your actions on the local monitor of your computer. }}}} |
Line 5: | Line 10: |
Start a x11vncserver with: | == 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: |
Line 7: | Line 15: |
fgtest02@balz:~$ x11vnc | pmuster@zampano:~$ x11vnc -usepw -q |
Line 9: | Line 17: |
The VNC desktop is: zampano:0 PORT=5900 |
|
Line 11: | Line 21: |
You can also start it with a password. | To start x11vnc in a ssh terminal not belonging to the existing desktop session you must specify the X11 display: |
Line 13: | Line 23: |
fgtest02@balz:~$ x11vnc -rfbauth /home/fgtest02/.vnc/passwd | pmuster@zampano:~ $ x11vnc -usepw -q -display :0 |
Line 15: | Line 25: |
The VNC desktop is: zampano:0 PORT=5900 |
|
Line 17: | Line 29: |
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 19: | Line 31: |
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 29: | Line 34: |
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 32: | Line 37: |
The VNC desktop is: zampano:0 PORT=5900 |
|
Line 35: | Line 42: |
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 [[RemoteAccess|remote access documentation]] for details. |
Line 37: | Line 44: |
'''Bild''' | {{attachment:vnc.PNG}} |
Line 39: | Line 46: |
If you log out or close the window the process will be stopped. | After connection, if you log out or close the window the process will be stopped. |
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 remote access documentation for details.
After connection, if you log out or close the window the process will be stopped.