Xpra: Ticket #1371: Unable to exit start-desktop server with xpra stop

We aren't handling start-desktop desktop servers (need better terminology for this - I vote "virtual desktop") properly with regards to exiting. Running xpra stop :DISPLAY on a virtual desktop server fails to do anything - nothing in the server logs indicate it gets a connection at all, and the terminal will hang for a few seconds until it times out, then exits.

I am able to exit the server with a SIG-INT if I run with --no-daemon.

The server I am running on is a Fedora 24 trunk r14479 server, and the client is a Fedora 24 trunk r14479 client. I was also doing some testing on a Windows 8.1 client, but the issue is server side.


Other than that, the virtual desktop (or whatever we choose to call it) functionality works quite nicely, and I can see quite a few useful use cases.


Not sure what log flags you want, but let me know and I'll get them to you.



Thu, 24 Nov 2016 07:30:32 GMT - Antoine Martin: owner changed; milestone set

need better terminology for this - I vote "virtual desktop")


I disagree, this is a "start" command, adding "virtual" doesn't really clarify anything as all the "start" commands are using virtual displays (windows or desktops). Remember that the xpra subcommands are verbs not nouns. ie: "list", "attach", etc.. ie: especially when running a remote command like xpra virtual-desktop ssh:SOMEHOST, this would not be as clear as saying "start-desktop" (or "attach").


I cannot reproduce:

$ xpra start-desktop :100 --start=xterm
Entering daemon mode; any further errors will be reported to:
  /run/user/1000/xpra/:100.log
$ xpra list
Found the following xpra sessions:
/run/user/1000/xpra:
	LIVE session at :100
(..)
$ xpra stop :100
server requested disconnect: server shutdown
xpra at :100 has exited.

Using just xpra stop also works if you only have one session running.

Tested on Fedora 23, 24 and 25. No problem on any of them. Maybe your installation is broken? Try cleaning everything before reinstalling.

If that does not help, please provide more detailed steps with the "-d all" debug logs, as well as the full package list and python package file lists.

For reference, the original tickets are here: #1247 #1206


Mon, 28 Nov 2016 17:18:59 GMT - J. Max Mena: status changed; resolution set

Did a thorough turfing and rebuild from latest r14493 source - that seemed to fix it. Must've been a one-time thing. Closing.


Sat, 23 Jan 2021 05:22:25 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1371