Xpra
August 13 2018101 words, ~1 min. read
xpra, X, display, linux, freebsd
Xpra is an open-source multi-platform persistent remote display server and client for forwarding applications and desktop screens.
Installation on Debian,
$ sudo apt-get install xpra
Installation on CentOS,
# rpm --import https://winswitch.org/gpg.asc
# cd /etc/yum.repos.d/
# curl -O https://winswitch.org/downloads/CentOS/winswitch.repo
# yum install xpra
To start specific application, like firefox,
$ xpra start :100
$ export DISPLAY=:100
$ firefox &
To start a desktop session,
$ xpra start-desktop --start-child=xfce4-session :100
To start a session that can be accessed via HTML5 websocket,
$ xpra start --bind-tcp=0.0.0.0:9876 --html=on --start-child=xterm
To attach to an existing Xpra DISPLAY,
$ xpra attach :100
$ xpra attach ssh:<host>:100