Last modified: Mar 19, 2012 by Calvat

SSH: how to connect to the center using VNC and SSH


 1   Introduction
 2   To connect to the center using VNC and SSH tunelling from an UNIX workstation
 3   To connect to the center using VNC and SSH tunelling from a MAC workstation
 4   To connect to the center using VNC and SSH tunelling from a WINDOWS workstation
 5   Automatic launch of an xterm inside wmaker

1. Introduction

For users who needs high resolution display at high speed, the Computer Center is testing a remote connection through VNC (Virtual Network Computing). These application (freeware) allows to obtain more interesting performances as a simple X11 display forwarding. In order to guarantee a high security level, VNC should use SSH protocol ("Secure SHell"). These technique is called "ssh tunelling". You will find in this document the way to parameter an ssh tunelling on different operating systems (Unix and Windows). It works also under MacOS X (see Unix).

Be carefull : with VNC, you can not run applications using OpenGL ont the Computer Center interactive cluster.

Alias for using VNC through a ssh tunneling:
AliasOperating system
ccvli.in2p3.frScientific Linux 5 64 bits

2. To connect to the center using VNC and SSH tunelling from an UNIX workstation

3. To connect to the center using VNC and SSH tunelling from a MAC workstation

Download "Chicken of the VNC"

4. To connect to the center using VNC and SSH tunelling from a WINDOWS workstation

ResolutionDestination port
800x600, 24 bits color table6700
1024x768, 24 bits color table6924
1280x1024, 24 bits color table7180
1920x1040, 24 bits color table7820
2560x1560, 24 bits color table8460
Your are connect to the Computer Center and you are using wmaker under linux SL3.

5. Automatic launch of an xterm inside wmaker

If you want to have an xterm windows lanched automatically at the wmaker start, you should create a . xinitrc file in your $HOME at Computer Center.

You should edit the file .xinitrc and add next instruction before launching wmaker:
xterm &
Example of file .xinitrc :
xterm -geometry 79x25+0+172 &
exec wmaker >.xsession-errors 2>&1