Uppåt

Working on Linux or SUN workstations
from a Windows computer
 

Follow this guide if you are a Windows user.
Linux users should have the following programs already installed:

bulletssh    (secure remote login to a Linux workstation)
bulletsftp    (secure ftp to a Linux workstation)
bulletvncviewer (open a virtual display on another Linux host)
bulletrlogin (remote login to a SUN workstation)
bulletftp      (ftp to a SUN workstation)

 
  1. Step 1 - Download and use the free ssh/telnet/rlogin client "putty"

    To be able to login to our Linux and SUN workstations, do the following:

    Go to http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html and click on putty.exe
    No installation is necessary, just start the program.
    You may also want to download psftp.exe if you want to transfer files to/from our Linux servers using secure FTP.
    After starting Putty.exe, click on Category->Connection->SSH in the left panel and select 2 under "Preferred SSH protocol version

      

    NOTE 1: If you want to login to one of the Linux workstations at MRC, type in the host name (e.g. ant or termite) and select protocol SSH. Note that you need a user name and password for the Linux machines, it is not sufficient to have an account on our SUN server ladybird.

    NOTE 2: If you want to access the SUN server ladybird, choose Protocol Rlogin instead.

     
  2. Step 2 - Allowing graphical access to Linux workstation using VNC - Virtual Network Client

    Start putty, and login to e.g. 'ant'. Type,

    vncserver -depth 16 -geometry 900x700

    where 900x700 is the size of the screen and 16 is the color depth in this example.
    Useful color depths are 8 (256 colors), 16 (65,000 colors. Recommended) and 24 (16 million colors).

    NOTE 1  Watch out for the display number given on the following line (output from command vncserver):
    New 'X' desktop is hostname.mrc.ks.se : X
    X
    is your virtual current display number. This may change everytime you start vncserver

    NOTE 2 Don't start a new vncserver every time you want to grapically access your linux host. Only if the linux host is rebooted there is need for re-starting your vncserver process.


     
  3. Step 3 - Accessing your Linux host running the VNCserver using TightVNC

    Go to
    http://www.tightvnc.com/download.html and click on tightvnc-x.x.x_x86_viewer.zip.

    Unzip the file and start vncviewer.exe

    Type in the host you started the vncserver on (Step 2) followed by :X (your display number you got in Step 2).

    E.g.:

       
    You may also want to change the "Options...".
    Deselecting "Allow JPEG compression" will produce better look of the icons.

    NOTE
    The nice thing about VNC, in contrast to conventional X-windows, is that the (virtual) display is run on the server instead of on the client side.
    This means that you may start e.g. Matlab in a virtual display, close it, and start a new vncviewer on another (or same) computer later without affecting the Matlab program.