Xpra: Ticket #402: xpra attach ssh:hostname : What happens if two xpra instances are running on the server, but for different users?

The documentation reads:

Generally, if you have only one xpra server running on a machine, then you can omit the number entirely; xpra attach alone will attach to the lone xpra server on the current machine regardless of its number, xpra attach ssh:frodo will similarly attach to the lone xpra server on a remote machine.

What happens if several xpra instances are running, but the user has only access to one of them? I would expect "the right thing" to happen, but the documentation is not very clear about it.



Wed, 07 Aug 2013 04:21:33 GMT - Antoine Martin: owner, priority changed

What happens if several xpra instances are running, but the user has only access to one of them?


I don't understand what that means.

As long as "xpra list" only sees one session, attach via ssh should work as advertised. Is that not what you are seeing?


Wed, 07 Aug 2013 04:53:57 GMT - krlmlr:

Thanks for the quick reply.

Replying to totaam:

As long as "xpra list" only sees one session, attach via ssh should work as advertised. Is that not what you are seeing?

I don't have a means to test that, but your explanation seems reasonable. However, then the documentation (man page) is imprecise -- "if you have only one xpra server running on a machine" could be replaced by the weaker "if xpra list returns only one session", which makes a huge difference in a multi-user scenario.


Wed, 07 Aug 2013 05:10:06 GMT - Antoine Martin:

OK, is r4069 any better?

If so, please close this ticket.


Wed, 07 Aug 2013 06:01:53 GMT - krlmlr:

This is much clearer now, thank you!


Wed, 07 Aug 2013 06:02:17 GMT - krlmlr: status changed


Wed, 07 Aug 2013 06:02:30 GMT - krlmlr: status changed; resolution set


Sat, 23 Jan 2021 04:54:22 GMT - migration script:

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