Software >> Services >> X Windows >> How to ensure we can export x-client display from linux remote server to a local Windows desktop running Xming x server

Local: Windows machine running Xming

  • run xming or xlaunch
  • Display number is set as 0

  • connect to the remote unix server using Putty with -X option e.g.

    putty -ssh -X user@remoteserver
     
  • ensure DISPLAY variable is automatically available

Remote: Linux e.g. redhat

  • edit /etc/ssh/sshd_config
  • enable following options

    X11Forwarding yes
    X11DisplayOffset 10
    X11UseLocalhost yes