Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Annoying message when connecting to a SSH server with X11 Forwarding:X11 connection rejected because of wrong authentication#571

Unanswered
maicol07 asked this question inQ&A
Discussion options

Hi,
I'm connecting viassh -X to my server from WSL2, but I get this annoying message every second:

X11 connection rejected because of wrong authentication.

Do you know how to fix it?
Thanks

Edit: It seems that there is another warning when starting the SSH session:

Warning: No xauth data; using fake authentication data for X11 forwarding.
You must be logged in to vote

Replies: 2 comments 1 reply

Comment options

You have to enable X11Forwarding in sshd_config and install xauth (or xorg-xauth) package.

You must be logged in to vote
1 reply
@maicol07
Comment options

I've already had enabledX11Forwarding and installed the xauth package.

Comment options

Hello. I have the same issue. It looks like wslg does not set XAUTHORITY environment variable
Is it bug in wslg?

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
3 participants
@maicol07@dibalavs@Biswa96

[8]ページ先頭

©2009-2025 Movatter.jp