User Tools

Site Tools


vnc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
vnc [2022/02/23 13:44] jansenvnc [2023/10/13 14:50] (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 **''~/.vnc/xstartup.''** +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 **''~/.vnc/xstartup.''** (the directory ''.vnc'' will be created the first time you run a vnc session, or when you install one of our template configurations mentioned below, but if you want to create your own setup before starting a session, make sure to create the directory first)
 \\ \\
 Note: if you want to run KDE Plasma in your vnc session, this is the setup:  Note: if you want to run KDE Plasma in your vnc session, this is the setup: 
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:tipsandtricks|SSH tips and tricks]]).
  
 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 ''-via'' and a hostname to handle the ssh setup. Now, since all our Linux computers are reachable through ssh, it is usually best to use the same computer for ssh that is running your vnc session. The command to start the viewer will then be:  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 ''-via'' and a hostname to handle the ssh setup. Now, since all our Linux computers are reachable through ssh, it is usually best to use the same computer for ssh that is running your vnc session. The command to start the viewer will then be: 
vnc.1645623857.txt.gz · Last modified: 2022/02/23 13:44 by jansen