l4t-ros2-docker icon indicating copy to clipboard operation
l4t-ros2-docker copied to clipboard

X.11 is lacking xauth for ssh connections

Open brianlmerritt opened this issue 1 year ago • 2 comments

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.

brianlmerritt avatar Jan 24 '24 11:01 brianlmerritt

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

atinfinity avatar Jan 24 '24 11:01 atinfinity

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

brianlmerritt avatar Jan 26 '24 10:01 brianlmerritt

There is no response. So, I closed this issue.

atinfinity avatar Mar 28 '25 01:03 atinfinity