Skip to main content

Xpra

The ISO has announced that it will block VNC packets, so we have decided to install Xpra, which uses ssh by default. The server can be started with a simple command run on the command line of a CS machine. For example:

xpra start :100 --start=xterm 

This starts the xpra server on display 100 and runs an xterm. You can use any number here, but please pick a number high enough that it doesn't interfere with the local display. Unlike VNC, you don't need to run a window manager. From that xterm you can start any X application you need: matlab, emacs, evince, etc. assuming the application in question is installed on the xpra server machine.

To shutdown the server:

xpra stop :100

To attach to the local server:

xpra attach :100

Downloading the Xpra client for MacOS:

Download the Xpra package from xpra.org/dists/MacOS/. Choose the processor architecture (most likely Arm64 unless your Mac is really old) and version of Xpra that matches the version running on the Xpra server machine. A newer or the newest version might work as well, but if you run into problems, downgrade the Xpra client to match the version running on the server. If you have the default security setting, you'll need to hold the Ctrl key down while clicking on the Xpra.pkg, choose open from the drop down menu. This will allow you to install the package.

Downloading the Xpra client for MS Windows:

Download the Xpra package from xpra.org/dists/windows/

Download and install the msi file, then run Xpra

Connecting to Xpra:

Once it's installed, you'll need to select SSH from the Mode menu. Fill in the blanks as needed. Following from our example above the connection line would look like this:

username   @   hostname.cs.utexas.edu   22   :   100

Username would be your cs login, hostname would be the host you started the Xpra server on and 100 would be the display number.

There is an option to save your settings, but we do not recommend that you not save your password. The settings are in clear text, so if someone was able to look at the settings file, they would get your CS password.

If you have any questions or problems, please email helpreq@cs.utexas.edu.