https://github.com/tatsuya6502/docker-x2go
x2go server in a dock
https://github.com/tatsuya6502/docker-x2go
docker remote-desktop vnc-server x2go-server
Last synced: 6 months ago
JSON representation
x2go server in a dock
- Host: GitHub
- URL: https://github.com/tatsuya6502/docker-x2go
- Owner: tatsuya6502
- License: mit
- Created: 2015-09-22T08:39:41.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-04-02T12:59:12.000Z (over 8 years ago)
- Last Synced: 2025-04-14T14:22:45.990Z (6 months ago)
- Topics: docker, remote-desktop, vnc-server, x2go-server
- Language: Shell
- Size: 6.84 KB
- Stars: 27
- Watchers: 4
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-x2go
Remote desktop [X2Go Server](http://wiki.x2go.org/doku.php) in a dock
[](https://quay.io/repository/tatsuya6502/x2go)
- 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
```