This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| vnc [2020/10/16 08:43] – [Setting up port forwarding manually] jansen | vnc [2025/10/07 12:19] (current) – jansen | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ===== Configuration ===== | ===== Configuration ===== | ||
| - | You don't have to configure much, but you can control what applications to run in yout VNC session. The startup script for VNC is **'' | + | You don't have to configure much on the server side (server = the computer which will run the session, so perhaps your Linux desktop pc), but you can control what applications to run in your VNC session. The startup script for VNC is **'' |
| \\ | \\ | ||
| - | Note: if you want to run KDE in your vnc session, this is the setup: | + | Note: if you want to run KDE Plasma |
| #!/bin/sh | #!/bin/sh | ||
| unset SESSION_MANAGER | unset SESSION_MANAGER | ||
| vncconfig -iconic & | vncconfig -iconic & | ||
| - | | + | |
| For Gnome, replace the last line with '' | For Gnome, replace the last line with '' | ||
| Line 65: | Line 65: | ||
| ---- | ---- | ||
| - | You cannot directly connect to a vncserver from outside the institute, since VNC itself is only minimally encrypted, and not secure enough to be exposed to the net. The solution is then to combine VNC with a SSH tunnel. | + | You cannot directly connect to a vncserver from outside the institute, since VNC itself is only minimally encrypted, and not secure enough to be exposed to the net. The solution is then to combine VNC with a SSH tunnel. And since many of our servers and compute nodes and clusters are not directly reachable from outside, you may need to set up a ssh ProxyJump (see [[ssh: |
| Now we could try to describe how to set up such a tunnel, but the mechanism is know to vncviewer, so usually it is as easy as adding '' | Now we could try to describe how to set up such a tunnel, but the mechanism is know to vncviewer, so usually it is as easy as adding '' | ||