Skip to content

Xpra Remote Desktops for Graphic User Interface applications

License

Notifications You must be signed in to change notification settings

cyverse-vice/xpra

Repository files navigation

Project Supported by CyVerse Project Status: Active – The project has reached a stable, usable state and is being actively developed. DOI license GitHub all releases

Xpra w/ Miniconda

Xpra remote desktops built on Ubuntu with and without NVIDIA OpenGL.

GitHub commits since tagged version harbor

quick launch

Docker

Ubuntu container with Xpra OpenGL and CUDA for running remote desktop applications in browser.

Image is built from NVIDIA Docker image and is compatible with GPUs - need to install additional software.

docker run -it -p 9876:9876 harbor.cyverse.org/vice/xpra/desktop:22.04 

may need to add:

docker run -it -p 9876:9876 --security-opt seccomp=unconfined harbor.cyverse.org/vice/xpra/desktop:22.04 

With a new ENTRYPOINT:

docker run -it -p 9876:9876 --security-opt seccomp=unconfined harbor.cyverse.org/vice/xpra/desktop:22.04 xpra start --bind-tcp=0.0.0.0:9876 --html=on --start-child=xterm --exit-with-children --daemon=no

Run with NVIDIA GPU for CUDA OpenGL

You need to start a Xorg Server prior to launching the Xpra container:

export DISPLAY=:0
xinit &
docker run --gpus all --rm -it -p 9876:9876 -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY -e XAUTHORITY -e QT_X11_NO_MITSHM=1 -e NVIDIA_DRIVER_CAPABILITIES=all harbor.cyverse.org/vice/xpra/desktop:22.04