Coder Social home page Coder Social logo

xspice's Introduction

Containerized Xorg Desktop Accessed via SPICE/HTML5, Fork from here

Containerized remote Xorg Desktop using Spice, can be accessed using the included Html5 client.

It uses basic lightweight OpenBox, you can make OpenBox awesome if you like by:

  • adding background image using feh
  • adding panels using tint2
  • fancy display of information using conky

Use cases

Can be used to provide

  • light weight remote desktops
  • automation (launch firefox/chrome and do some automated tests)
  • in-browser IDEs
  • access a service from different place

Using SPICE clients

The origin project has published docker image on docker hub you can see it here.

You can use any remote desktop client that support spice protocol.

First you need to start the server, which is in our case a container

build the image using fedora27

docker build --network=host . -t xspice

run the container

docker run -d -p 5900:5900 --name myspice xspice

you can install more software by entering the container and your applications

docker exec -ti -u root myspice /bin/bash
dnf install eclipse firefox

Using the included HTML5 client

We have included HTML5 client, so you can run the entire stack of

  • your SPICE desktop
  • static files serving the HTML5 client
  • websockify to tunnel SPICE into websocket

you can do this using one the following commands

git clone https://github.com/54shady/xspice.git
cd xspice
docker-compose up -d

Then open your browser on port 8080

you can enter it to install packages like this

docker exec -ti -u root xspice_desktop_1 /bin/bash
dnf install -y arandr

destroy container

docker-compose down

Customization

This image uses a regular user app, place any executable file in /home/app/.config/openbox/autostart.d/ which will be executed in background during start up.

currently it only launches xterm

the spice password is 123456, which is set in /etc/X11/spiceqxl.xorg.conf

    Option "SpicePassword" "123456"

xspice's People

Contributors

54shady avatar

Watchers

 avatar  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.