Remote login to EWS computers.


NX Client



EWS now has remote login via NX Client. This software is available for Windows, Linux, Mac(OS X 10.6 or earlier), and Solaris operating systems.

Installation instructions.




As an alternative to NX Client (for an Apple computer OS 10.7 or later)

These instructions are for Mac users with Mountain Lion.

For students who don't have X11 on their Mac ,download XQuartz http://xquartz.macosforge.org/landing/

After downloading and opening,  type
ssh netid@remlnx.ews.uiuc.edu    -Y

where netid is the students actual netid. After authentication, they simply type  "matlab" ( without quotes) at the Linux prompt.



These instructions are for Mac OS X 10.7.

1. Install X11 (if necessary):
If you have not installed the program called X11, you will need to install X11. Here's how:
First, Insert the Mac OS X Disc. If the Finder does not open, click finder and browse to the inserted disc.
Next, Scroll down in the finder (if necessary) and locate the "Optional Installs" icon.
Finally, double click on the "Optional Installs" and choose to install X11.

2. From the file manager, go to Applications -> Utilities -> X11 (It may be called X11.app)

3. Remotely log-in to linux machine:
Once you have opened X11, you will see a command prompt (if not, try the menu entry Applications->Accessories->Terminal). Now you must type this
command:

ssh netid@remlnx.ews.uiuc.edu  -Y

(Note only the Y is capitalized. Substitute the users netid for the word netid above. You may choose any number less than 43 instead of 29. The netid is your netid and not "netid" literally.)

4. Run Matlab:
Once you have logged into a linux lab computer, type this command at the prompt:

matlab

(matlab is all lowercase letters)

Once you have followed these steps, you are running matlab. When you are finished, you can type "exit".
If matlab doesn't run you may have forgotten the -Y option when you used the ssh command.


You may also use the Terminal program but you won't be able to do any graphics in Matlab or C.





As an alternative to NX Client (for a Windows computer)

CygWin

Steps for setting up and configuring CygWin are as follows:

INSTALLATION:
1 - Open web browser (on your home computer)
2 - Go to: www.cygwin.com
3 - Click on the "install or update now" link and download and/or run Setup program (see below)

4 - Choose "Install from Internet" (see image below)


5 - Go with all defaults, choose a download site and press next through the installation windows until you come to the following window. (you may have to resize your window to see all the options)


6 - Click on the X11 "circular arrows" once and it will change the state to "Install" (after clicking see results below)

7 - Click on + next to Net to expand out the different Net components

(befor clicking +)

(after clicking +)


8 - Under Net there should be a component called "openssh: The OpenSSH Server and Client programs. Click on the "circular arrows" to change the selection box so that it's checked with an 'X'.

(after clicking once on the circular arrow next to openssh you will see below)

9 - Click on the "Next" button below to go to the next frame.


10 - CygWin should now enter into the installation phase. It may take up to a half-hour or more, depending on the connection speed.

11 - When the installation process finally finishes, click the Finish button


12 - Click Installation Complete

USAGE:
1 - Start up Cygwin by clicking the CygWin icon on the desktop (if it was allowed to be created)


2 - A text window should open with a Linux-like Bash prompt.


3 - At the prompt enter: startx


4 - Another "Xterm-like" window should appear.
5 - In the "Xterm-like" window enter: 'ssh netid@ews_hostname -Y

NOTE: All EWS hostnames can be found at: http://www.ews.uiuc.edu/labs under "Lab Details" for each lab listed.

6 - After logging into an EWS workstation, run the desired application by entering it's name at the command prompt (i.e., 'matlab &' or a browser like 'seamonkey &' where the & will open these applications in a new window.)

TO CLOSE:
1 - Exit all remotely displayed X programs
2 - Enter 'exit' at each command prompt until CygWin is completely closed.