feat: Set DISPLAY env, so X11 apps show on the host#4509
Conversation
|
Note that Would this create issues for Linux users that don't have this hostname defined in their containers? |
|
I doubt it, but maybe we can add that setting to the container settings? |
|
Tried this on Linux - even adding the host.dockerinternal:host-gateway, I can't open X connections. Am I leaving something out? Added (I opened X on the host with |
|
Poked around, I think my problem is that Ubuntu does not accept TCP connections for X11. I haven't found the magic to change this. TCP connections from the container work for |
|
You probably need to set |
It's more than that - the Ubuntu config has its xserver started with TCP listeners disabled entirely. I chased things for a while but did not find what piece was setting that command line before giving up. The changes here were not harmful, they just don't make X connections work. I think that's enough to accept this PR. There'll just be further work needed to make X work with a system like mine. I think it'd be fine to add the |
No description provided.