Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2796

WSL: Unable to X forward GUI from remote server

$
0
0

I am trying to use Windows subsystem for Linux to access my Linux workstation at work. I am a very novice user and am not able to get GUI X forwarding to work. I am able to SSH into the machine with -X but when I call a GUI like xclock the connection is refused.

user@localmachine: export DISPLAY=localhost:0.0user@localmachine: ssh -X username@remoteserverusername@remoteserver password:Warning: No xauth data; using fake authentication data for X11 forwarding.remoteserver: echo $DISPLAYlocalhost:11.0xclockconnect localhost port 6000: Connection refusedError: Can't open display: localhost:11.0

The following is set/checked

  • in sshd_config X11Forwarding is set to yes
  • I have tried opening port 6000 in Windows Firewall, but no difference.

P.S. I am able to open xclock, or any other GUI, with SSH -X from my Fedora laptop to the remote server. From this I deduce that the server side is setup as it should.


Viewing all articles
Browse latest Browse all 2796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>