-
Notifications
You must be signed in to change notification settings - Fork 17
Updated Instructions for linux users #140
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
base: master
Are you sure you want to change the base?
Conversation
|
||
4. (Linux Wayland only) Run the following command for X11 forwarding: | ||
``` | ||
socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CONNECT:/tmp/.X11-unix/X0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this identical for Mac? We can say mac or wayland here if so (not only linux wayland).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi curtis,
For MacOS it's UNIX-CLIENT:\"$DISPLAY\"
while for wayland it's UNIX-CONNECT:/tmp/.X11-unix/X0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Btw have you tried this?
Ideally we wouldn't need socat
for wayland, but after scouring countless forums, it was the only solution that worked.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh ok. Could you make a note there for mac as welI basically saying just what you did here. I don't have a system with wayland to test. I feel like every year x11 gets a little harder to support.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay. Just to confirm, it would mean combining point 3 and 4, right?
Also, yes. Ubuntu and fedora both now has wayland as the default.
I tried to put together instructions for anyone who is on a Wayland server (which is now the default on all new distros). The same approach as MacOS with
socat
also works on linux wayland systems. But I've only tested it on my system, so it would need to be verified.I believe there should be a better way on Linux without using
socat
, but in the meantime, I wanted to leave it as a draft PR in case anyone needs a solution for this particular problem.I had to restructure the installation instructions as inline notes for 3 separate systems were getting a little hard to read.
Also, apparently on X11 systems you don't need to change the
docker-compose.yml
file. I've modified the instructions for that as well, but again it needs to be tested on more systems before merging.