-
Notifications
You must be signed in to change notification settings - Fork 335
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
Support X11 forwarding #654
Comments
Hi @fpoirotte, just saw this issue now. Supporting X11 is on our roadmap, albeit not with the highest priority. |
X11 forwarding would be a killer feature. DevPod isn't really cool without it. |
You could setup your own prebuild workspace and use Xming: XMing is an X11-Server for Windows. For more convenience, you could use MobaXterm (it has got an X11 server built in, and can connect using a config file) clientside. afaik an SSH server has got to be setup in the container in both cases. |
https://github.com/novnc/noVNC is an other option to run linux graphical apps inside Docker and expose a "web browser interface" to them. See as well here: |
Hi @pascalbreuninger, thanks for your awesome work on DevPod! Is this roadmap public? Would you say there's a good chance that X11 forwarding support will be available in 2024? |
@vquemener thanks 😄 Nope, it's in our internal tracker but we were discussing opening the DevPod Roadmap up to the open source community. No tangible outcome yet though As for X11 support, it's certainly possible in 2024 but your contribution could even bring it in 2023 😉 |
I've created draft pull requests to address this issue. |
@fpoirotte thanks a lot, we'll take a look! |
I know this is an old topic, but here's my 5 cents. X11 Forwarding is possible by adding the If you're using Windows, I don't know how to get it to work, but I successfully got it to work on Mac using XQuartz and adding this to my "containerEnv": {
"DISPLAY": "host.containers.internal:0"
} Please note that XQuartz must be running and you must execute the following command |
@haakobja : yes, it's possible to set the It also adds additional constraints (e.g. the X11 server must listen on the network rather than on a UNIX socket, or you must use the host's network inside the container, or mount the X11 server's UNIX socket inside the container and authorize the container explicitly with tools like The idea behind this ticket is to bake support for the SSH X11 forwarding protocol into devpod's SSH server directly. |
Is your feature request related to a problem?
Hi, I would like to run a graphical application inside a devpod workspace, using X11 forwarding.
I found no information on how to enable the X11 forwarding protocol in the documentations.
Is this already supported? If not, is it a planned feature?
What would be the best way to achieve X11 forwarding?
Which solution do you suggest?
If the feature is already available, add a quickstart how-to on the subject.
If not, add support for X11 forwarding.
Which alternative solutions exist?
None that I am aware of.
Additional context
n/a
The text was updated successfully, but these errors were encountered: