Home
Softono

Docker X2go

Open source MIT Shell
27
Stars
11
Forks
0
Issues
4
Watchers
9 years
Last Commit

 About Docker X2go

x2go server in a dock

Platforms

Web Self-hosted Docker

Languages

Shell

Links

Need Help Installing Docker X2go?

We provide expert installation service for this software. Our team will install, configure, and secure Docker X2go on your server. plans start at just $30.

Docker X2go

View on GitHub

docker-x2go

Remote desktop X2Go Server in a dock

Docker Repository on Quay.io

  • X2Go Server
  • Firefox
  • Emacs
  • rxvt Terminal Emulator
  • Japanese fonts
  • Ubuntu 16.04 LTS base image

Running the X2Go Server Container

Run the script as the followings. This will pull the Docker image and run it.

$ cd docker-x2go
$ ./run.sh

It will generate an ssh key at start up and add it to /home/docker/.ssh/authorized_keys in the container.

== Use this private key to log in ==
-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEAxb5G8gR40hAGEoRb4t1QDR4+tWeVw3Vgh6N4BaUpxFRFZS3Y
T72VqyNeFTqywuuA2tgF8ZhV1UC+Qxi0EmxoeRQAnt62EUerj1HcVm+MzveT+VWa
...
...
...
-----END RSA PRIVATE KEY-----

If the key was not printed, try this command:

$ docker logs x2go

Save the key to your local PC.

# On your local PC
$ vi ~/x2go/x2go-key
$ chmod 600 ~/x2go/x2go-key

Start X2Go Client on you PC. Choose Session -> New Session, and enter the following information to the Session tab.

  • Server

    • Host: (The IP address of the server)
    • Login: docker
    • SSH port: 2222
    • Use RSA/DSA key for ssh connection: ~/x2go/x2go-key
  • Session Type

    • Choose Custom desktop and enter openbox-session to the Command field.

Double-click on the session panel to connect.

Stopping the x2go server

$ docker stop x2go
$ docker rm x2go