Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleTerminal instructions

To SSH to any of our resources (e.g., head.arcc.albany, headnode7.arcc.albany.edulmm.rit.albany.edu), you can use the terminal in Mac. Here, we will connect to head.arcc.albany.edu.

  1. Install XQuartz if you have not yet done so.
  2. Right click on XQuartz in the toolbar.  Select Applications → Terminal
  3. Enter into the terminal: ssh -Y [netid]@head.arcc.albany.edu  
    1. NOTE: the -Y option is required in order for your X11 applications to work
  4. Enter your password when prompted. You will not see your password appear on the screen, but it is being typed!
  5. Type y when prompted by the security alert (you may not see this alert)
  6. After you are successfully logged into the ssh session, you will need to enter the following command:  touch .Xauthority
    1. NOTES:
      1. you only need to do this if the file does not already exist. 
      2. there is a "." at the beginning of the filename ".Xauthority"
  7. Now you are all set! To test if X Forwarding is working correctly, enter in the command line: xeyes
    1. you should see a window with eyes pop up
  8. If you are having trouble, please contact askIT@albany.edu

X2Go

X2Go has several advantages over the standard PuTTY terminal connection.

  1. X2Go can "persist" a session providing similar functionality to tmux or screen
  2. X2Go has native X11 Forwarding capability, so there is no need to install VcXsrv or Tmux. 
  3. 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
titleSpawn a Desktop Session instructions

X2Go can spawn a MATE Linux desktop, follow the instructions to do so.

  1. 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
    1. Select a session name, here we use eagle.rit.albany.edu (MATE)
    2. Enter in the Host: field eagle.rit.albany.edu
    3. For the Login: field, enter your netid
    4. For Session type, select MATE
      Image Removed
    5. We will use the rest of the default settings in the other tabs but feel free to adjust for your needs. Finally, click okay.
  2. Now, click on the session to connect, and enter your password when prompted. If a notice pops up, click accept.
    Image RemovedImage Removed
  3. Finally, a window will pop-up showing a Linux Desktop, you're all set!
    Image Removed

Spawn a Terminal Session

Expand
titleSpawn a Terminal Session instructions

X2Go can spawn an xterm Linux terminal, follow the instructions to do so.

  1. 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)
    1. Select a session name, here we use eagle.rit.albany.edu
    2. Enter in the Host: field eagle.rit.albany.edu
    3. For the Login: field, enter your netid
    4. For Session type, select Single Application, then enter in the Command: field, /usr/bin/xterm
      Image Removed
    5. We will use the rest of the default settings in the other tabs but feel free to adjust for your needs. Finally, click okay.
  2. Click on the appropriate session to start the log on, and enter your password when prompted and hit Ok
    Image RemovedImage Removed
  3. 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



Include Page
Footer
Footer