I've been trying to use X11 with my local server for quite a while, but i'm unable to with the built in windows ssh client. Does someone has a way to fix it ? I've tried a lot of tutorials to fix it like, using xhost or but i always get a unable to open display whatever i try to open.

X11Forwarding yes is of course set on my server.

Tell me if you need anything to help me as i don't really know what to send. My display variable is set to on my windows and i have the -Y flag on.

  • the windows SSH client is not an X server. So, are you maybe missing an X server? Jul 31, 2023 at 12:55
  • Yes, that was the problem, I thought the build-in ssh server of windows had a xserver included. Thank you
    – Moréo
    Jul 31, 2023 at 13:15
  • 1
    that's not an ssh server, that's an ssh client! But yeah, SSH and X are simply separate things :) Jul 31, 2023 at 13:39

1 Answer 1


Windows is lacking a X Server, It was what i was missing. Thanks @marcus-müller for the answer.

  • While you can integrate an X server with the native MS-Windows openssh client or putty, its a bit of a pain - you might want to try mobaxterm for a simple solution.
    – symcbean
    Jul 31, 2023 at 14:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .