Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow the proxy to start new sessions #1319

Closed
totaam opened this issue Sep 21, 2016 · 5 comments
Closed

allow the proxy to start new sessions #1319

totaam opened this issue Sep 21, 2016 · 5 comments

Comments

@totaam
Copy link
Collaborator

totaam commented Sep 21, 2016

Issue migrated from trac ticket # 1319

component: core | priority: major | resolution: fixed

2016-09-21 08:48:11: antoine created the issue


Following the improvements to the proxy server in r13793, r13795, r13574, r13542, #1264, SSL (#1252), etc.. make it possible to start new server sessions via a proxy server.

@totaam
Copy link
Collaborator Author

totaam commented Sep 21, 2016

2016-09-21 08:58:44: antoine changed owner from antoine to afarr

@totaam
Copy link
Collaborator Author

totaam commented Sep 21, 2016

2016-09-21 08:58:44: antoine commented


Done in r13798.

Example:

xpra proxy :10 --tcp-auth=allow --bind-tcp=0.0.0.0:10000

On the client:

xpra start tcp/username:password@127.0.0.1:10000/ --start-child=xterm --exit-with-children

Will ask the proxy to start a new session, which you can see with "xpra list".
It will survive the proxy server if the proxy is killed.

Things we could do to take this further:

@afarr: just a FYI.

@totaam
Copy link
Collaborator Author

totaam commented Sep 28, 2016

2016-09-28 03:15:45: afarr changed status from new to closed

@totaam
Copy link
Collaborator Author

totaam commented Sep 28, 2016

2016-09-28 03:15:45: afarr set resolution to fixed

@totaam totaam closed this as completed Sep 28, 2016
@totaam
Copy link
Collaborator Author

totaam commented Sep 28, 2016

2016-09-28 04:13:39: antoine commented


r13892 adds support for specifying the display at the end of the URL, and:

  • support for start-desktop, ie:
xpra start-desktop tcp/username:password@127.0.0.1:10000/200 --start-child=fluxbox --exit-with-children

Will start a fluxbox full desktop on display ":200".

  • support for shadow, ie:
xpra shadow tcp/username:password@127.0.0.1:10000/1

Now that the user can specify the display to shadow, this works on multi-user systems where there may be more than one X11 server running. (ie: my desktop is on ":1" but there is also a ":0" display)

Note: when using "auth=none", you can omit the "username:password" part. (and accept the risks that go with it)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant