3

I ran xterm as in example:

xpra start ssh/SERVERUSERNAME@SERVERHOSTNAME --start-child=xterm

And it worked. Now how to detach from it, to keep it running? If I ctrl-c the running program, it also kills xterm and doesn't allow to attach to in anymore.

It was told it is like screen but for graphics.

Dims
  • 3,181
  • 9
  • 49
  • 107

1 Answers1

2

There are three main ways to detach from a running xpra session started in this manner:

  • from another shell, run

    xpra detach ssh/SERVERUSERNAME@SERVERHOSTNAME
    
  • from the Xpra menu, click on “Disconnect”:

    Xpra menu

  • kill the client xpra with CtrlC — in my experience this doesn’t kill the remote xterm, it detaches it.

The remote session can be resumed with

xpra attach ssh/SERVERUSERNAME@SERVERHOSTNAME

If you have multiple xpra sessions running, specify the display number too:

xpra attach ssh/SERVERUSERNAME@SERVERHOSTNAME/DISPLAY
Stephen Kitt
  • 411,918
  • 54
  • 1,065
  • 1,164