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

run.sh does not mount the user's Xauthority #173

Open
EzraBrooks opened this issue Sep 4, 2024 · 3 comments · May be fixed by #175
Open

run.sh does not mount the user's Xauthority #173

EzraBrooks opened this issue Sep 4, 2024 · 3 comments · May be fixed by #175
Labels
bug Something isn't working

Comments

@EzraBrooks
Copy link
Member

Operating System

any

Installation type

Pulled from Docker Hub

Version or commit hash

all

RMW Implementation

FastRTPS

Client library (if applicable)

N/A

Steps to reproduce issue

Attempt to run the demos without modifying your X ACLs using xhost

Expected behavior

X11 should be able to authenticate

Actual behavior

X11 does not authenticate because it doesn't have access to the Xauthority.

The fix is to add something like -v $XAUTHORITY:/.Xauthority -e XAUTHORITY=/.Xauthority to the docker run command.

Backtrace or Console output

X11 connection rejected because of wrong authentication.
@Bckempa
Copy link
Contributor

Bckempa commented Sep 5, 2024

Hmmm is this fallout from #147? I think Rocker used to handle this

@EzraBrooks
Copy link
Member Author

Weirdly, the only mention of Xauthority I can find in Rocker's codebase is in specifically its NVIDIA compatibility layer.

So, maybe not?

@asimonov
Copy link

asimonov commented Oct 2, 2024

in any case I think it is great idea to make running containers GUI-ready by default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

3 participants