Using CS Linux Machines from Home

Do you want to use Linux and your CS directories from your Windows or Mac computers, with a graphical user interface?

This page describes how to install and use the NX Client to do that. NX is a special program that allows one computer to emulate another over the network.

1. The first step is to download a special key file from the computer science server, a filed called  'client.id_dsa.key', and put it somewhere on your machine. The CS server is called stargate.cs.usfca.edu. The key file is in the directory  /home/public/nx on the CS server.

You need to use some file transfer tool to get this file. On Windows, you can use WinSCP. On Mac, you can use Fugu. You may have to download these tools if they're not already on your computer. 
WinSCP instructions. There is one complication. The file transfer tools will show you your home directory, and the key is not in your home directory, its in a systems directory (/home/public/nx). Even if you go to /home, you won't see its subdirectory public. So you'll have to manually go to the folder.

If your on a Mac using Fugu, you need to click Go to.. and manually enter the folder name /home/public/nx. Then grab the file.

If your on Windows using WinSCP, select Remote->Open Directory, and manually enter the folder name (/home/public/nx). Then grab the file.

A third option is to use scp directly from the command line:

$ scp <username>@stargate.cs.usfca.edu:/home/public/nx/client.id_dsa.key .

It will prompt you for your password.

2. Download the NX software from http://www.nomachine.com/download.php (NX Client for Windows)

3. Install NX software.

4. run Start → All Programs → NX Client for Windows → NX Connection Wizard

5. Go through the wizard:
   
         -Name = 'CS-NX' (You can name this whatever you want, it will be the name of your desktop icon)
        -Host = 'nx.cs.usfca.edu'    Port = '22'
        -Set the 'type of internet connection' to 'ADSL'

    Click next

        -Set the first field to 'Unix' and choose either 'KDE' or 'GNOME' for your desktop environment (whichever you prefer)
        -Leave the size of the remote desktop at it's default setting (unless you know what you're doing)
        -Leave 'Disable encryption of all traffic' unchecked

    Click Next
       
          -Check the 'Show the advanced configuration dialog'
       
    Click Finish

        -In the windows that pops up, under the General tab, click the 'Key...' button
        -Select 'Import' and find the 'client.id_dsa.key' file you downloaded earlier, Click OK, then Save when done.
        -Select Save, then OK again

    -Double click your desktop icon to connect to the nx server, use your CS username and password to log in.

***Important: To log off, please use 'System->Log Out' from within the NX session***
Comments