Das Logo der Rheinischen Friedrich-Wilhelms-Universität; Copyright: Uni Bonn Logo HISKP

Nuclear Structure at the HISKP Bonn: VNC

SSH/PuTTY & VNC

To work from outside the institute - e.g. during a conference - on one of the institute computers, VNC could be used together with ssh/PuTTY.

PuTTY is a freely available ssh-client for Microsoft operating systems.

VNC is a system that allows working remotely on a computer. Under Linux this also works with virtual screens, that are screens existing only in memory. A nice feature of the system is that closed connections do not necessarily mean closed windows and terminated applications. VNC is freely available under GPL. VNC needs a server on the institute computer and a viewer on the remote computer.

Using VNC

First a VNC server has to be startet. As mainly Linux computers are used in our group, only the procedure to get a virtual screen will be explained. To get one, teh program vnc4server has to be started as vnc4server :n -localhost where n is a small number, e.g. 2, denoting the number of the display. Starting for the first time, a password has to be chosen.

To test if the server works, one can run xvnc4viewer :n on the same conmputer to see the new screen.

For remote use, a connection has to be established first.

As most institute computers are not accessible from outside, two tunnels have to be built: one from the remote computer to an accessible institute computer, the second from there to the computer with the virtual screen.

Finally, the screen can be used by calling vnc4viewer :n under Linux and by starting the VNC Viewer and typing :n in the connection dialog under Windows.

The server need not be stopped but can be left running and also can be used from inside the institute. If the server should be terminated, the command is vnc4server :n -kill.

Brief version