Skip to content

Latest commit

 

History

History
185 lines (130 loc) · 4.58 KB

051.We.can.still.run.graphics.x2go.md

File metadata and controls

185 lines (130 loc) · 4.58 KB

Lesson 051 (30min)

-- Slide --

Nectar does graphical applications!

-- Slide End --

-- Slide --

Matlab

RStudio

Firefox

(Insert your software here) -- Slide End --

-- Slide --

How?

With x2go

..and it's easy!

-- Slide End --

SSH allows us to connect securely to our instance And send some text back and forth. You can also send graphics, and mouse input That's enough to run to a whole desktop in the cloud!

-- Slide --

.. demo here ..

-- Slide End --

go to dashboard, note IP of core instance Start x2go client click on a profile, edit, check ip connect wait.. start firefox visit http://www.whatismyip.com start calculator hit the X to disconnect session quit x2go client and xQuartz Start x2go client connect resume session. say wow. resuming graphical sessions in the cloud.

-- Slide --

What do i need to get x2go running?

  1. a nectar instance:
  • with x2go server running
  1. your computer:
  • with x2go client installed
  • with an X server installed

TPAC produce images preinstalled with x2go.

-- Slide End --

-- Slide --

Current x2go enabled images:

  • TPAC core.008
  • TPAC matlab-R2013b.001
  • TPAC matlab-R2016a.001
  • TPAC rstudio.007

Based on Ubuntu 14.04 LTS and MATE window manager.

-- Slide End --

-- Slide --

Exercise

get x2go up and running

-- Slide End --

-- Slide --

Start an x2go enabled instance

http://tinyurl.com/x2go-setup

When it starts, note the ip address; you will need it later


R = Help me!
G = Ask me for help! -- *Slide End* --

-- Slide --

Install stuff on your computer

http://tinyurl.com/x2go-setup

You only need to set this up once You can add/remove/delete connections to suit your instances


R = Help me!
G = Ask me for help! -- *Slide End* --

-- Slide --

Setup the x2go client

http://tinyurl.com/x2go-setup

x2go is open source software. Freedom FTW!


R = Help me!
G = Ask me for help! -- *Slide End* --

-- Slide --

Observe your instance ip address

http://tinyurl.com/x2go-setup

This should match the ip address you recorded earlier


R = Help me!
G = Ask me for help!

-- Slide End --

-- Slide --

Detaching and resuming sessions

http://tinyurl.com/x2go-setup

Detatching allows you to close your laptop and walk away. Your work is left running in the cloud!


R = Help me!
G = Ask me for help!

-- Slide End --

-- Slide --

Advanced, launching from the terminal

http://tinyurl.com/x2go-setup

This is similar to the old ssh -X xeyes -- Slide End --

-- Slide --

Is there some better doco?

Yes.

TPAC x2go doco at http://tinyurl.com/tpac-x2go -- Slide End --

-- Slide --

Can i install x2go on an existing instance?

Yes.

sudo apt-get install ansible curl python-pycurl
curl -O https://raw.githubusercontent.com/hooliowobbits/packer/master/extras/install.x2go.and.mate.yml
ansible-playbook -i "localhost," -c local install.x2go.and.mate.yml

or see http://tinyurl.com/tpac-x2go -- Slide End --

-- Slide --

Can i add named accounts to a TPAC instance?

Yes.

TPAC x2go doco at http://tinyurl.com/tpac-x2go -- Slide End --

-- Slide --

What if i get stuck?

Nectar national support will provide limited support for our TPAC x2go images

-- Slide End --