X-Windows on Windows 11 in 2026
Just a note to future self, how to make X11 work on Windows nowadays.
What you need
- git for Windows - bash shell
- VcXsrv - X server
- Ubuntu or similar on the server
How you configure them
- enable ssh forwarding on the server
/etc/ssh/sshd_config
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
- setup DISPLAY on Windows
~/.bashrc
export DISPLAY=localhost:0.0
- launch VcXsrv with default options
- ssh -Y server xeyes
Comments
Post a Comment