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

X.11 is lacking xauth for ssh connections #5

Open
brianlmerritt opened this issue Jan 24, 2024 · 2 comments
Open

X.11 is lacking xauth for ssh connections #5

brianlmerritt opened this issue Jan 24, 2024 · 2 comments

Comments

@brianlmerritt
Copy link

DISPLAY=$DISPLAY runs fine when connected via desktop or remote desktop, but for ssh connections with -X forwarding there is an error

MoTTY X11 proxy: Unsupported authorisation protocol
Error: Can't open display: localhost:10.0

The Jetson Nano host runs X11 fine, but not from the container, and xauth is not installed in the container.

On the host I can run xauth list and get the relevant cookie

sudo apt install xauth in the container allows me to set the cookie

xauth add localhost:10.0 . [cookie_value]

Any chance to add xauth? Or I can send a PR if you prefer.

@atinfinity
Copy link
Owner

@brianlmerritt Thank you for your report! I'll try to reproduce this problem.

@brianlmerritt
Copy link
Author

The issue may be running ssh via VSCODE Remote Explorer - I will investigate further :D

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

2 participants