You can log into the Computer Science lab machines remotely, if you have ssh
on your computer.
SSH (secure shell) is a network protocol that allows you to remotely connect to other computers run your programs from there.
If you want to run graphical applications on the Linux machines but interact with them on your computer (you probably do!), you'll need to run an X server and set up X forwarding.
Follow the instructions in “Remote Access” in The Computer Science Lab Documentation to connect to the lab machines from off campus.
If you use Mac OS X, ssh
is on your machine automatically because the operating system is Unix-based. However, you will need to install XQuartz so that you can run graphical applications on your personal machine.
xterm
application.ssh -XY yourusername@hostname.cs.wlu.edu
yourusername
is the username of your account and hostname
is one of the lab machine names (e.g., rexx, snobol, turing).-XY
will allow you to see a graphical program's windows on your local machine. Note that using a GUI application remotely can be slow. You definitely don't want to try to run an application like Eclipse remotely.idle &
and hitting enter to see if a Python IDE GUI pops up. Note that this can be slow depending on your network connection, especially the first time. If the IDE pops up, it worked! You can quit (close) the GUI (but not the terminal).
If you have trouble using X forwarding, you may need to edit your ssh_config file (typically found at /etc/ssh/ssh_config
or ~/.ssh/config
) . If ssh_config includes #X11Forwarding no
(or just X11Forwarding no
), uncomment the line by removing the leading #
and change it to X11Forwarding yes
.
Install PuTTY, an old school, free ssh client.
Download and install Xming. Xming is a free X window server for Microsoft Windows. Start Xming before connecting to the remote system with your SSH client (for example, PuTTY).
rexx.cs.wlu.edu
, under 'Host Name' and under 'Saved Sessions'. idle3 &
and then enter to see if a Python GUI IDE pops up. Note that this can be slow depending on your network connection, especially the first time. If the IDE pops up, it worked! You can quit (close) the GUI (but not the ssh client, e.g., PuTTY).One student suggests installing a version of Linux on your machine using VirtualBox. Then, in the virtual machine, you can open terminals and ssh in as in From Mac/Linux.
I don't think you can run GUIs from the CS machines this way.
turing.cs.wlu.edu
or any of the other lab machines. None of the other fields need to be updated. Click “Open”You should have ssh and an X server already. You don't need to install anything.
From one lab machine, you can “hop” to one of the other lab machines, using ssh. See Machine Names for more information about the available machines.
If you're already on a lab machine, you can ssh to another machine, by typing
ssh -XY othermachinename
The -XY
allows your machine to display GUIs executing on another machine.
If this is your first time logging in to a particular machine, you'll be prompted to confirm that you want to connect to the machine. Type “yes” and hit enter.
Enter your password. For security reasons, you won't see any keystrokes being pressed. Just enter your password and hit enter.
After you're on a machine in the lab, if you're doing something computationally intensive, you should check if someone else is on the machine using the command who
. If you see other people (besides you) using the machine, exit out of this machine and ssh to another machine instead.
The machines in P405 have programming language names and the machines in P413 (advanced lab) are named after influential computer scientists. Next time you're in one of the labs, note some of the machine names.
A list of the machine names is in this WLU-authorization-required document.