...
Expand |
---|
title | Terminal instructions |
---|
|
To SSH to any of our resources (e.g., head.arcc.albany, headnode7.arcc.albany.edu, lmm.rit.albany.edu), you can use the terminal in Mac. Here, we will connect to head.arcc.albany.edu. - Install XQuartz if you have not yet done so.
- Right click on XQuartz in the toolbar. Select Applications → Terminal
- Enter into the terminal: ssh -Y [netid]@head.arcc.albany.edu
- NOTE: the -Y option is required in order for your X11 applications to work
- Enter your password when prompted. You will not see your password appear on the screen, but it is being typed!
- Type y when prompted by the security alert (you may not see this alert)
- After you are successfully logged into the ssh session, you will need to enter the following command: touch .Xauthority
- NOTES:
- you only need to do this if the file does not already exist.
- there is a "." at the beginning of the filename ".Xauthority"
- Now you are all set! To test if X Forwarding is working correctly, enter in the command line: xeyes
- you should see a window with eyes pop up
- If you are having trouble, please contact askIT@albany.edu
|
X2Go
X2Go has several advantages over the standard PuTTY terminal connection.
- X2Go can "persist" a session providing similar functionality to tmux or screen
- X2Go has native X11 Forwarding capability, so there is no need to install VcXsrv or Tmux.
- X2Go can spawn a linux desktop in it's self-contained application
X2Go is supported on both Windows and Mac. The following documentation is applicable to both.
Spawn a Desktop Session
Expand |
---|
title | Spawn a Desktop Session instructions |
---|
|
X2Go can spawn a MATE Linux desktop, follow the instructions to do so. - Download and install X2Go, then open the application. Dialog to create a new session should popup, if not, click Session -> New Session from the toolbar
Image Removed- Select a session name, here we use eagle.rit.albany.edu (MATE)
- Enter in the Host: field eagle.rit.albany.edu
- For the Login: field, enter your netid
- For Session type, select MATE
Image Removed - We will use the rest of the default settings in the other tabs but feel free to adjust for your needs. Finally, click okay.
- Now, click on the session to connect, and enter your password when prompted. If a notice pops up, click accept.
Image RemovedImage Removed - Finally, a window will pop-up showing a Linux Desktop, you're all set!
Image Removed
|
Spawn a Terminal Session
Expand |
---|
title | Spawn a Terminal Session instructions |
---|
|
X2Go can spawn an xterm Linux terminal, follow the instructions to do so. - If you have already created a session, click Session -> New Session from the toolbar. Here, we will name the session eagle.rit.albany.edu (xterm)
- Select a session name, here we use eagle.rit.albany.edu
- Enter in the Host: field eagle.rit.albany.edu
- For the Login: field, enter your netid
- For Session type, select Single Application, then enter in the Command: field, /usr/bin/xterm
Image Removed - We will use the rest of the default settings in the other tabs but feel free to adjust for your needs. Finally, click okay.
- Click on the appropriate session to start the log on, and enter your password when prompted and hit Ok
Image RemovedImage Removed - A terminal session will pop up, and you are all set!
Image Removed
|
Note |
---|
Note, to continue xforwarding while SSH to other hosts while using X2Go (i.e. head.arcc.albany.edu), you must use the -Y flag. For example, ssh -Y head.arcc.albany.edu |