Xpra
From Master of Neuroscience Wiki
xpra is the tmux for X windows, they say...
Install xpra
Install xpra (fedora)
sudo dnf -y install xpra
The test setup
- The server is at 10.10.0.242, which can be reached by ssh (134.102.55.231 via ssh port 11081) or locally under 10.10.0.242.
- We want to run code-insiders on the server
- We want to access the code-insiders window from the home office as well as the office in the university.
The application
Start the application (here code-insiders):
xpra start :100 --start="code-insiders" --bind-tcp=0.0.0.0:10000
Without SSH Tunneling
Means that we are in the same network or are using a VPN
xpra attach tcp://10.10.0.242:10000
With SSH Tunneling
Making a tunnel from home via the ssh gate way (134.102.55.231 with ssh port on 11081) to (gate2 i.e. 10.10.0.242):
ssh -p 11081 -L 10000:10.10.0.242:10000 davrot@134.102.55.231
Connect to the xpra session:
xpra attach tcp://localhost:10000