Xpra: Ticket #1565: twm in desktop mode crashes the server

trying to move a window or using the twm menu results in a complete deadlock.

killing xpra does not help, the X11 server is hosed and no longer responds.

Looks like an upstream bug.

Tue, 04 Jul 2017 05:24:07 GMT - Antoine Martin: status, description changed

Tue, 04 Jul 2017 05:35:59 GMT - Antoine Martin: priority changed

Not an xpra bug - lowering priority, this can be reproduced with just dummy + twm:

/usr/libexec/Xorg -noreset -novtswitch -nolisten tcp -config /etc/xpra/xorg.conf :10
#verify we can access the display:
DISPLAY=:10 xprop -root
DISPLAY=:10 xterm&
DISPLAY=:10 twm&
#now click on the title bar of the xterm:
DISPLAY=:10 xdotool mousemove 90 10 mousedown 1
#and now the X11 server is inaccessible:
DISPLAY=:10 xprop -root

Tue, 04 Jul 2017 05:53:30 GMT - Antoine Martin:

Reported upstream: twm deadlocks the server

Sun, 16 Jul 2017 12:15:32 GMT - Antoine Martin: status changed; resolution set

As I was kindly reminded: in this response, this is not a bug - twm grabs the server, and nothing ever gets a chance to emit the click release event that would cause twm to release the grab.

The only solution that I can think of at this point is to use virtual input devices (uinput, etc - #173) instead of xtest.

Sat, 23 Jan 2021 05:27:51 GMT - migration script:

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