GithubHelp home page GithubHelp logo

xrdp's Introduction

Application containers for the desktop

Why should server apps get all the containerized fun?

I want to use Boot2Docker as my only main OS on my notebook. And once booted, I want all the things in containers - separate containers.

We've seen a number of attempts at doing this:

But hey, I thought I'd have a new go, using either a VNC server or an RDP server: so far, the Xrdp based one is winning.

Step 1: The MS Remote Desktop server

Xrdp Server with fvwm. I wanted a simple X-Window manager - even this is a huge 550MB :/

Its set up to auto-login as a 'dockerx' user - that way all the application images can be set to that user too.

To simplify the running of containerised apps, I've added a script /usr/local/bin/run that contains the main parts of the docker run parameters needed so the user types:

  • run -d chrome (the equivalent to chromium &)
  • run --rm xterm (xterm will block until it exits)

Step 2: applications

The initial application images are built FROM appbase so they share the same base images - debian:jessie.

I've made xterm, xchat, chromium - the main 3 things I run :).

Usage

I'm starting the container as:

docker run --name docker -v /var/run/docker.sock:/var/run/docker.sock -v /usr/local/bin/docker:/usr/local/bin/docker busybox true docker run --rm -it -p 3389:3389 --volumes-from docker xrdp

And then connecting to the X session using an MS remote desktop client on OSX and Windows (and Linux too)

xrdp's People

Contributors

svendowideit avatar

Watchers

James Cloos avatar NguyenThanhSon avatar

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.