-
Notifications
You must be signed in to change notification settings - Fork 379
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
remote access with xpra SSH #77
Comments
also having troubles with cleaning up after a failed attempt.. when i run this twice i get display 30 already in use.. |
well, got it to work somehow finally. |
got a bit more far.. |
Hello, thanks for your feedback and your interest in x11docker!
x11docker can run
Where should I document it? x11docker does a lot in background, indeed. The core thing is running an X server, doing some setup in container (especially setting up a container user), and running the desired docker command.
The command runs an invisible X server with --xdummy because the remote server does not need to show the display. (Instead of
Runs invisible X server and reads X environment variables from x11docker. It uses display
Sets new environment variables to provide them to xpra server.
Starts the xpra server to provide display :30 in the network.
Yes. x11docker returns DISPLAY and XAUTHORITY after X server is ready.
xpra uses ssh on itself; no need to set up an extra ssh tunnel.
sorry, no. It goes all over this issue tracker. This has the advantage of documenting issues and solutions for later use.
It should work with |
thanks for your support! my ssh tunnel is needed because i go over a jump host. i'd say it works because i get a window now. so this could work ? |
Yes.
You had to shut off some monitors to avoid xpra scaling? xpra scales up the window? Edit: xpra creates a tray icon where you can change the scaling factor. |
i found this.... i need to get you some logoutput i think for this.. it looks like the size is set from x11 but xpra has his own idea.. thats whats in xpra log when i connect. and i do realize it isn't really related with x11docker.. |
Please provide terminal output as text instead of screenshots for better readability and to allow citing with copy&paste. Your client has an overall screen size of 3200x1080. xpra won't scale if the virtual screen is big enough. Try with
With |
thank you. i tried it with a screen thats as big as mine and that works better.. |
Glad to hear that! Please report if any issues remain. I've updated the wiki article about SSH with xpra, I hope it is more comprehensive now.
The |
That's fixed: As for the scaling issues, your vfb doesn't support randr - xpra needs the vfb to be at least as big as the client's screen size, or ideally to support randr so it can resize as needed.
FYI: 2.4, due out soon, has a new ssh backend. As for the xpra manual, it is best viewed with "man xpra", or online here: |
you guys are awesome ! thanks |
hey there,
github says you're from germany, and i could talk german, but i'll go with english for future users.
trying to follow this: https://github.com/mviereck/x11docker/wiki/Remote-access-with-SSH
and it used to hang, i think here, found this in the logs....
'x11docker-lxde/pullready to be created, will wait up to 32000 seconds.'
then i pulled manually: 'docker pull x11docker/lxde'
and now i at least see a container running x11docker/lxde..
so for some reason x11docker seemed unable to pull, or is that a pre-requisite?
also: maybe could you document what the commands do in the background a bit more ?
it seems like x11docker is launching x11 servers, launching the docker container, etc. so lot's of stuff.. for me it's hard to debug without some overview
also: in the url mentioned above, you launch with --xdummy, why ?
also: in the url above, you launch x11docker with this subshell construct in the background, right ? then reading out the env to give that to xpra ?
could you maybe seperate the steps and comment on the purpose and intend and expected result ?
there seem to be many parts involved, so for me i think it's pretty though to use.
maybe create some checklists for some basic use-cases.
i'm trying hard to get (in the end) matlab working in a container, and access over x11forwarding over ssh, (or maybe vnc, etc.i haven't tried that yet).
currently i'm trying with xpra installed on windows.
maybe it's a bit extra unnessercary hard because i also go over an ssh tunnel.
ps: are you reachable via IRC/mattermost/etc. maybe ?
The text was updated successfully, but these errors were encountered: