Server-Connected

This feature refers to the ability of using an existing display server (an existing desktop session, usually connected to a real physical display) and use xpra to access it remotely.

It is supported on all platforms including MS Windows and Mac OS X, but not on Wayland.
It is not optimized on all platforms and may cause high CPU load on both the server and the client in some cases.

On most platforms, the display being shadowed must be active: not locked or turned off.

Examples

If you have SSH access to the machine whose X11 display you wish to access remotely, simply run from your client:

xpra shadow ssh://HOST/

This will connect over SSH to HOST, start and xpra shadow server and connect to it.
The shadow server will be stopped once you disconnect.
Xpra must already be installed on the server.

The xpra shadow server will be accessible like any other xpra server through its unix domain socket (ie: xpra info ssh://HOST/DISPLAY), and it will show a system tray menu whilst active, and a different icon when a client is connected: shadow tray example

If starting via SSH is not supported as above, as is the case on most MS Windows and MacOS systems, or simply if you want to start the shadow server manually, and potentially configure more options, you can start it from a shell.

To expose your existing main display session (usually found at :0 on *nix) using a TCP server on port 10000:

xpra shadow :0 --bind-tcp=0.0.0.0:10000

Notes:

Debugging

Use the -d ssh debug logging switch.