-
Notifications
You must be signed in to change notification settings - Fork 887
X11 forwarding not working with ssh -X
session
#11531
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
Comments
This problem is due to us not managing If you forward once, you're fine:
But the second time you do it, there will be two entries:
The first one will be used, and thus, authentication fails. The issue can be worked around by running To fix this, we should:
|
@mafredri - thank you. I confirmed the problem and validated the forwarding works with a single magic cookie entry. |
experienced on
2.6.0
- repro steps:xauth
viasudo apt-get update && sudo apt-get install -y xauth
coder login
coder config-ssh
to config local SSH config filessh -X coder.<workspace-name>
xeyes
(install viasudo apt-get install -y x11-apps
)The text was updated successfully, but these errors were encountered: