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

Socket vs IP connection on Linux #6

Open
DawidJanczak opened this issue Mar 18, 2021 · 0 comments
Open

Socket vs IP connection on Linux #6

DawidJanczak opened this issue Mar 18, 2021 · 0 comments

Comments

@DawidJanczak
Copy link

Just posting it here in case it helps someone and perhaps we can amend the README if this makes sense. On Linux (Arch) I am not able to open the connection using instructions provided. That's the bad news, the good news however is that it ends up being a bit easier. Because we're providing the docker image with the X11 socket we don't really need to whitelist the IP, we can instead whitelist local connections. So to summarise what worked for me was:

  • In docker container set DISPLAY to :0 - this will use the local socket
  • On host set xhost +local: - this allows local connections to X server
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