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 · 2 comments · May be fixed by #175
Open

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

EzraBrooks opened this issue Sep 4, 2024 · 2 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.
@EzraBrooks EzraBrooks added the bug Something isn't working label Sep 4, 2024
@EzraBrooks EzraBrooks linked a pull request Sep 4, 2024 that will close this issue
@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?

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.

2 participants