Hostnames
You will find the hostnames of the PCs by expanding the list below. The PCs are dual-boot and may not be booted into Linux at the time you try to connect. If this is the case you will need to try an alternative hostname.
Anglesea 2.02 | Anglesea 2.03 | Portland 2.27 | Lion Gate 0.14A | Lion Gate 0.14B | ||
---|---|---|---|---|---|---|
ampere | bear | lemur | PO227PC01 | LG014A-PC01 | LG014B-PC01 | LG014B-PC29 |
bell | beaver | leopard | PO227PC02 | LG014A-PC02 | LG014B-PC02 | LG014B-PC30 |
bode | bison | llama | PO227PC03 | LG014A-PC03 | LG014B-PC03 | LG014B-PC31 |
boole | bull | lynx | PO227PC04 | LG014A-PC04 | LG014B-PC04 | LG014B-PC32 |
bose | camel | marmot | PO227PC05 | LG014A-PC05 | LG014B-PC05 | LG014B-PC33 |
coulomb | cheetah | meerkat | PO227PC06 | LG014A-PC06 | LG014B-PC06 | LG014B-PC34 |
dirac | chimp | mink | PO227PC07 | LG014A-PC07 | LG014B-PC07 | LG014B-PC35 |
doppler | chipmunk | mouse | PO227PC08 | LG014A-PC08 | LG014B-PC08 | LG014B-PC36 |
edison | cougar | mule | PO227PC09 | LG014A-PC09 | LG014B-PC09 | LG014B-PC37 |
euler | coyote | ocelot | PO227PC10 | LG014A-PC10 | LG014B-PC10 | LG014B-PC38 |
fermi | deer | okapi | PO227PC11 | LG014A-PC11 | LG014B-PC11 | LG014B-PC39 |
henry | elk | otter | PO227PC12 | LG014A-PC12 | LG014B-PC12 | LG014B-PC40 |
hertz | fox | panda | PO227PC13 | LG014A-PC13 | LG014B-PC13 | LG014B-PC41 |
joule | gazelle | quagga | PO227PC14 | LG014A-PC14 | LG014B-PC14 | LG014B-PC42 |
laplace | gerbil | rabbit | PO227PC15 | LG014A-PC15 | LG014B-PC15 | LG014B-PC43 |
marconi | giraffe | rhino | PO227PC16 | LG014A-PC16 | LG014B-PC16 | LG014B-PC44 |
maxwell | goat | sheep | PO227PC17 | LG014A-PC17 | LG014B-PC17 | LG014B-PC45 |
morse | gorilla | shrew | PO227PC18 | LG014A-PC18 | LG014B-PC18 | LG014B-PC46 |
napier | hippo | squirrel | PO227PC19 | LG014A-PC19 | LG014B-PC19 | LG014B-PC47 |
newton | horse | tapir | PO227PC20 | LG014A-PC20 | LG014B-PC20 | LG014B-PC48 |
norton | hyena | vixen |
Using SSH
These instructions have been tested on CentOS 7, Ubuntu 18.04, Windows 10, and Mac OSX Mojave.
In order to run specialist software applications (such as matlab, sage etc) from a PC in one of the Linux labs A2.02, A2.03, PO2.27, LG0.14A or LG0.14B and be able to display the application on your own device, follow the steps related to your operating system. As detailed in the diagram below, connect from your own device onto one of the machines in the specialist Linux labs. The diagram gives an example of the lab machines.
Please note: The lab machines are dual-boot. If the machine is switched off, or booted into Windows you will not be able to connect to that specific PC, and you will need to try an alternative hostname.
Select an operating system to view instructions
To connect into the Linux system is a two stage process:
- Connect into the gateway server: ssh.ee.port.ac.uk using software for a terminal window
- In a terminal window ssh -X onwards to a host machine in one of the specialist Linux Labs (A2.02 / A2.03)
- Open a terminal and connect to the gateway server using the following command, substituting username with your login credentials. Accept the fingerprint when prompted, followed by your password.
ssh -X username@hostname
- You will now be able to launch your application from the remote PC, such as Opnet, which will display on your own machine.
Eg. Type in the name of the application you wish to run in the terminal window
example: [ opnet ] or [ firefox ] or [ matlab ] or [ sage ]
You can press the key sequence of CTRL +C to quit if there are any problems
In order to connect into the Linux system using a Windows based machine you will need to have some extra software which will allow remote access to a Linux X11 window graphics environment. We recommend using the successfully tested graphical application called Xming, along with access software such as Putty.
- Install and launch Xming (Xming is a background X window server):
Agree to all the default options and create desktop/quick launch items if desired.
- Install and launch Putty:
Agree to all the default options and create desktop/quick launch items if desired.
- Ensure that X11 forwarding is switched on to allow a display on the client Expand SSH from the menu on the left to show X11 Tick Enable X11 forwarding
- Connect to the gateway entry server Select Session from the menu on the left, and type ssh.ee.port.ac.uk in the Host Name field
- If this is the first time you are connecting to the gateway server from this machine, you will be prompted to accept a security key fingerprint. Select Yes to this prompt.
- Login to the gateway server using your university username and password.
- You will now be able to ssh on to a machine in one of the Linux labs A2.02 or A2.03 with the -X options to allow display back to your host.
ssh -X username@hostname [ for example, mouse, rabbit, fox, bode, bell, marconi... ]
E.g. Type in the name of the application you wish to run in the terminal window
example: [ opnet ] or [ firefox ] or [ matlab ] or [ sage ]
You can press the key sequence of CTRL +C to quit if there are any problems
- Install the Xquartz program for X11 display (xquartz is the official X server software for mac.
- Agree to all the default options, and create desktop/quick launch items if desired.
- Using your preferred editor (we have used vim), edit the ssh_config file is modified to allow X11 forwarding
vim /etc/ssh/ssh_config
XAuthLocation /opt/X11/bin/xauth
ForwardAgent yes
ForwardX11 yes
- Launch XQuartz and select Terminal from within XQuartz (you may need to right-click on XQuartz, select Applications, Terminal).
- Connect to the gateway server using the following command, substituting username with your login credentials. Accept the fingerprint when prompted, followed by your password.
ssh -X username@ssh.ee.port.ac.uk
- Connect to the lab machine, again substituting username with your login credentials, and hostname with the name of a machine in either A2.02 or A2.03. Accept the fingerprint when prompted, followed by your password.
ssh -X username@hostname
- You will now be able to launch your application from the remote PC, such as Opnet, which will display on your own machine.
E.g. Type in the name of the application you wish to run in the terminal window
example: [ opnet ] or [ firefox ] or [ matlab ] or [ sage ]
You can press the key sequence of CTRL +C to quit if there are any problems
Using X2go
These instructions describe how to use X2Go software for a remote graphical desktop connection to the Linux lab computers.
This connection will allow you to run specialist software applications such as MATLAB, OPNET and Sage from a PC in one of the Linux labs on your own computer. This GUI method is an all-in-one facility removing the need to have PuTTy or Xming installed. X2Go offers an easier and faster way to provide remote access to Linux PC’s, along with offering better performance. X2Go supports a multi-platform environment, including Linux, Mac and Windows operating systems.
Please note these instructions will only work if you have logged on to one of the Linux computers on campus before trying to connect remotely.
Please ensure you have connected to the VPN first before proceeding with the instructions for your operating system below.
Select an operating system to view instructions
- Install the epel-release repository:
yum install -y epel-release
- Install the X2go packages:
yum install -y x2goclient x2goserver-xsession
- Run X2Go from the Applications menu Internet X2Go Client (or run from terminal x2goclient).
- Ensure you are connected to the VPN.
- When you launch the X2Go application you will be presented with a blank session profile. Enter the following information then click OK to save the profile:
Session name: Enter a name that will help you easily identify the remote host in your sessions list
Host: hostname.uni.ds.port.ac.uk where hostname is the hostname for the for the computer you wish to access - all hostnames can be found in the section at the top of the page.
Login: Your University account username e.g. up1234567
Session type: MATE - The profile will be added. You will need to add a new profile for every computer you connect to, you can add a new profile by choosing Session New session ... from the menu. You can change the screen resolution by selecting your preferred resolution from the using the drop-down menu.
- Double click the profile to begin the session.
- Enter your University account password and click OK.
- The session will initiate. If this is the first time you are remotely connecting via X2Go to the PC, then you will be prompted to accept the verification key, click Yes to continue.
- Your desktop will now appear. Please ensure you DO NOT shut this machine down, as it means that you (and others) will not be able to reconnect to it in the future. Use the log off option to disconnect.
- Install X2go package:
sudo apt install -y x2goclient
- Run X2Go from the Applications menu (or run from terminal x2goclient).
- Ensure you are connected to the VPN.
- When you launch the X2Go application you will be presented with a blank session profile. Enter the following information then click OK to save the profile:
Session name: Enter a name that will help you easily identify the remote host in your sessions list
Host: hostname.uni.ds.port.ac.uk where hostname is the hostname for the for the computer you wish to access - all hostnames can be found in the section at the top of the page.
Login: Your University account username e.g. up1234567
Session type: MATE - The profile will be added. You will need to add a new profile for every computer you connect to, you can add a new profile by choosing Session New session ... from the menu. You can change the screen resolution by selecting your preferred resolution from the using the drop-down menu.
- Double click the profile to begin the session.
- Enter your University account password and click OK.
- The session will initiate. If this is the first time you are remotely connecting via X2Go to the PC, then you will be prompted to accept the verification key, click Yes to continue.
- Your desktop will now appear. Please ensure you DO NOT shut this machine down, as it means that you (and others) will not be able to reconnect to it in the future. Use the log off option to disconnect.
- Download the X2Go client .exe file for Windows from https://wiki.x2go.org/doku.php.
- Install the download by clicking the downloaded .exe file. You can also find the file in your Downloads folder.
- If one appears, accept the install prompt by clicking Yes.
- Keep all default settings during installation, pressing Next on each window to progress to the next step.
- Click Finish.
- If the application does not launch automatically, run the X2Go application from the Start menu or from the X2Go icon on the Desktop.
- Firewalls may blocks some features, click to allow access through any notifications that appear.
- Ensure you are connected to the VPN.
- When you launch the X2Go application you will be presented with a blank session profile. Enter the following information then click OK to save the profile:
Session name: Enter a name that will help you easily identify the remote host in your sessions list
Host: hostname.uni.ds.port.ac.uk replace hostname for the one you wish to access (all hostnames can be found in the section at the top of the page.)
Login: Your University account username e.g. up1234567
Session type: MATE
- The profile will be added. You will need to add a new profile for every computer you connect to, you can add a new profile by choosing Session New session ... from the menu. You can change the screen resolution from the using the drop-down menu.
- Double click the profile to begin the session.
- Enter your University account password and click OK.
- The session will initiate. If this is the first time you are connecting via X2Go to the PC, then you will need to accept the verification key, click Yes to continue.
- You may get a request to allow X2Go through your firewall, select Allow Access.
- Your desktop will now appear. Please ensure you DO NOT shut this machine down, as it means that you (and others) will not be able to reconnect to it in the future. Use the log off option to disconnect.
- Download the X2Go client for Mac from https://wiki.x2go.org/doku.php. Click allow to any security prompts.
- Install it by clicking the download from the dock or your Downloads folder. Drag the x2goclient to the Applications directory.
- The first time you open X2Go n you will need to give it permission to run. Press Ctrl and right click the x2goclient from the Applications directory to show the advanced menu then choose Open.
- Click Open even though the developer has not been verified. The next time you open the app, you can launch it in the normal way as there will be no further prompts.
- Ensure you are connected to the VPN.
- When you launch the X2Go application you will be presented with a blank session profile. Enter the following information then click OK to save the profile:
Session name: Enter a name for you to easily identify the remote host in your sessions list
Host: hostname.uni.ds.port.ac.uk replacing hostname with the one you wish to access - hostnames can be found in the section at the top of the page.
Login: Your University username e.g. up1234567
Session type: MATE
- The profile will be added. You will need to add a new profile for every computer you connect to, you can add a new profile by choosing Session New session ... from the menu. You can change the screen resolution by selecting your preferred resolution from the using the drop-down menu.
- Double click the profile to begin the session.
- Enter your University account password and click OK.
- The session will initiate. If this is the first time you are remotely connecting via X2Go to the PC, then you will be prompted to accept the verification key, click Yes to continue
- If you do not have XQuartz installed, you will get a prompt. Please install XQuartz then log out and reconnect to the session.
- Your desktop will now appear. Please ensure you DO NOT shut this machine down as you or others will not be able to reconnect. Use log-off to disconnect.