Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

X11 Forwarding not Working through SSH #7090

Closed
1 of 2 tasks
AlexandreMagnolc opened this issue Jun 19, 2021 · 0 comments
Closed
1 of 2 tasks

X11 Forwarding not Working through SSH #7090

AlexandreMagnolc opened this issue Jun 19, 2021 · 0 comments

Comments

@AlexandreMagnolc
Copy link

Windows Build Number

Microsof windows 19041.1052

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

5.4.72

Distro Version

Ubuntu 20

Other Software

MobaXterm X11 Server

Repro Steps

I've set the default shell of the server the Bash of WSL 2, and I'm able to connet to my server through SSH using the WSL Bash. It works perfect except for the X11 Forwarding.

On the beggining of the section MobaXterm prints..
│ ∙ Direct SSH : ✔ │
│ ∙ SSH compression : ✔ │
│ ∙ SSH-browser : ✔ │
│ ∙ X11-forwarding : ✘ (disabled or not supported by server)

When I try echo $DISPLAY I got:
172.29.0.1:0
But it is not on the list of listening Displays.
image

Expected Behavior

GUI Applications Running on the client using Xserver as it does when running a local WSL.

Actual Behavior

When I start a GUI application from the client it opens on the server machine if it is a running Xserver, if not it does not open.

Diagnostic Logs

No response

@microsoft microsoft locked and limited conversation to collaborators Jun 21, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants