Xpra: Ticket #1947: xpra stop not working properly

Xpra version:


System info:

LSB Version:	:core-4.1-amd64:core-4.1-ia32:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID:	CentOS
Description:	CentOS Linux release 7.4.1708 (Core)
Release:	7.4.1708
Codename:	Core


When I use

xpra start

Xpra will auto decide which display number to use.

After xpra session start, when I use

xpra stop :38

to terminate session (display 38 for example), it will show

xpra stop :38
server requested disconnect:
 server shutdown
 How odd... I'm not sure what's going on with xpra at :38

This info did not shows when I use xpra 1.X

When I check login shell, it seems bash which is opened by xpra is still there

sudo w -oush
aaaaa    pts/55   :35               1:08  bash

I need to add --terminate-children=yes to avoid this.

And even I add --terminate-children=yes, when I check /tmp/.X11-unix/, X38 is still there.

And when I start new xpra session and assign :38, It will fail.

I need to use --use-display to use it again.

How can I fix this?

Thu, 06 Sep 2018 09:49:57 GMT - Antoine Martin: status changed; resolution set

Duplicate of #1943: apply r20254 or wait for the next stable update.

AFAICT: this bug is caused by an external python library, not xpra's code. This is just a workaround.

Sat, 23 Jan 2021 05:38:03 GMT - migration script:

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