xpra icon
Bug tracker and wiki

Opened 4 weeks ago

Closed 9 days ago

#2834 closed defect (invalid)

Xpra stop crashes X Display :0

Reported by: brady Owned by: brady
Priority: major Milestone: 4.1
Component: server Version: 4.0.x
Keywords: Cc:

Description

If I start an xpra session using xpra start :100, and then run the command xpra stop, xpra will not only stop the xpra session, but will also kill my original x session running on DISPLAY :0. It did not kill the applications that were running on that X Server either.

This rather annoyingly caused a situation in which a program running on X Display :0 was able to capture my keystrokes that I entered into a tty to try to recover my session.

Xpra version: xpra v4.0.2-r26625
OS: Ubuntu 18.04 amd64
Desktop Environment: KDE Plasma 5

Change History (2)

comment:1 Changed 4 weeks ago by Antoine Martin

Owner: changed from Antoine Martin to brady

but will also kill my original x session running on DISPLAY :0.
It did not kill the applications that were running on that X Server either.

That's not possible.
X11 applications will be forcibly terminated when the X11 server shuts down.

This rather annoyingly caused a situation in which a program running on X Display :0 was able to capture my keystrokes that I entered into a tty to try to recover my session.

Then your X11 server was not killed. Maybe just a VT switch instead?
And a buggy one at that, the X11 server should not be getting console events when you switch VTs.

The Xpra server does not, and should not be able to, interact with other X11 servers.
This is likely a bug in Ubuntu's packaging or configuration, or the KDE packages.
This does not occur with other distros: not with Fedora which I use daily, or with Ubuntu 18.04 running in a virtual machine..

You may want to try to switch to Xvfb instead of Xdummy and see if that resolves your issue, you can do that by editing /etc/xpra/conf.d/55_server_x11.conf.

comment:2 Changed 9 days ago by Antoine Martin

Resolution: invalid
Status: newclosed

Not heard back.

Note: See TracTickets for help on using tickets.