xpra icon
Bug tracker and wiki

Opened 5 years ago

Closed 5 years ago

#402 closed enhancement (fixed)

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

Reported by: krlmlr Owned by: krlmlr
Priority: minor Milestone:
Component: client Version: 0.9.x
Keywords: Cc:

Description

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.

Change History (6)

comment:1 Changed 5 years ago by Antoine Martin

Owner: changed from Antoine Martin to krlmlr
Priority: majorminor

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?

Last edited 5 years ago by Antoine Martin (previous) (diff)

comment:2 in reply to:  1 Changed 5 years ago by 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.

comment:3 Changed 5 years ago by Antoine Martin

OK, is r4069 any better?

If so, please close this ticket.

comment:4 Changed 5 years ago by krlmlr

This is much clearer now, thank you!

comment:5 Changed 5 years ago by krlmlr

Status: newassigned

comment:6 Changed 5 years ago by krlmlr

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.