Coder Social home page Coder Social logo

debian-x2go's Introduction

#DebianX2go

##Description

This Dockerfile creates a docker image and once it's executed it creates a container that runs X2GO server and SSH services.

The ssh is used to provide you encrypted data communication between the docker container and your local machine.

X2Go enables you to access a graphical desktop of the container over a low bandwidth (or high bandwidth) connection.

##How do you use this image ?

###Building the docker image

$ git clone https://github.com/martinwangjian/debian-x2go.git
$ cd DebianX2go/[setup]
$ docker build -t [yourimagename] .

###Running the docker image created ####With the password generated during runtime

$ CONTAINER_ID=$(docker run -d -p 2222:22 [yourimagename])
$ docker logs $CONTAINER_ID

note down the root/dockerx passwords.

####With the preset password ( root:root dockerx:mellon)

$ docker run -d -p 2222:22 -e ROOT_PASS=root -e PASS=mellon [yourimagename]

Connect to server with a Client

Download the x2go client from: http://wiki.x2go.org/doku.php/doc:installation:x2goclient

Connect to your server with

Host : (Your Server IP) Port : 2222 Username : dockerx Password : (that you note down if the password generated during runtime)

Select the Session TYPE as : LXDE (depend on your setup)

You can also SSH to the docker container directly with root or dockerx users and their passwords over the port 2222 with linux ssh or windows putty clients.

$ ssh root@dockerhost -p 2222

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.