Using VNC

For users that need a high resolution graphical display, CC-IN2P3 offers remote connections through VNC (Virtual Network Computing).

In order to ensure a high security level, VNC should use ssh tunnelling.

Warning

With VNC, you can not run applications using OpenGL on the CC-IN2P3 interactive servers.

To connect to CC-IN2P3 using VNC and ssh tunneling, you should install a VNC client, i.e. VNC Viewer or TigerVNC.

We first need to create a ssh tunnel from the client, to a free port (let say 9500) on the remote workstation.

% ssh -L 9500:localhost:<destination port> <username>@cca.in2p3.fr

The destination port can be chosen according to the desired resolution as described in the Destination port table.

Once you are connected, launch the chosen VNC Viewer client and configure it to connect to the address localhost:9500.

It is also possible to run VNC directly from the command line:

% vncviewer localhost::9500

The CC-IN2P3 VNC connection window will be displayed, then enter your <username> and your password.

Note

One can use the following single command line to connect:

% ssh -f -L 9500:localhost:<destination port> <username>@cca.in2p3.fr sleep 60 && vncviewer

This command will run a ssh tunnel in background then will connect to the VNC server through the tunnel.

Destination Ports

Resolution

Destination Port

1024×768, 24 bits color table

6924

1280×800, 24 bits color table

7180

1280×1024, 24 bits color table

7200

1366×768, 24 bits color table

7300

1600×900, 24 bits color table

7400

1920×900, 24 bits color table

7820

2560×1560, 24 bits color table

8460