Xpra: Ticket #2095: Existing local printers deleted on server exit

Under certain circumstances, all existing local printers are deleted by xpra on server shutdown. It appears to be local connections which trigger it.

Version: 2.4-r20681-1



Sat, 29 Dec 2018 17:03:03 GMT - tc424: attachment set

Log file of session in which printers get deleted


Sat, 29 Dec 2018 17:03:38 GMT - tc424: attachment set

Xpra bug tool output


Sat, 29 Dec 2018 20:30:49 GMT - Antoine Martin: priority, status changed

We should do a number of things here:

This is a per-connection check, but maybe we're somehow getting it mixed up?

Maybe this is a race condition since we exec lpadmin asynchronously?

@tc424: can you clarify which machine is meant to have which printers exported?


Sat, 29 Dec 2018 21:19:06 GMT - tc424:

Ah, yes, just realised there were two parts to that session.. I'll try to clarify.

Yes, server ("xubuntu") is 16.04. It has connections to a Canon MG3150 and an MX475.

I initially connected from my netbook ("asus") which probably has a connection to my neighbour's Canon MG3600. That would have been an ssh connection.

Then I connected locally from xubuntu itself, which I think may be where it all went wrong..


Thu, 07 Mar 2019 06:25:30 GMT - Antoine Martin: owner, status changed

Not sure why it took me so long to fix it, but rtc424 should do the trick.


Thu, 14 Mar 2019 12:55:24 GMT - Antoine Martin: status changed; resolution set


Tue, 09 Apr 2019 04:05:14 GMT - Antoine Martin:

Caused a regression: #2267


Sat, 20 Jul 2019 06:21:16 GMT - Antoine Martin:

See also #930 (older ticket with similar issue)


Sat, 23 Jan 2021 05:42:05 GMT - migration script:

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