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

Popular posts from this blog

iMovie event library on a network drive, NAS

Proxmox PCIe passthrough on HP gen8 - failed to set iommu for container

Backup and restore observium