dracoblue.net

Forwarding X on Linux/Unix Machines

Like ssh.com says, you need to do the following things to successfully forward an X-Server to your client. [ol]

  • Servers X-Config needs to have:
    AllowX11Forwarding              yes
    
  • Clients Set in [em]/etc/ssh2/sshd2_config:[/em]
    ForwardX11 yes
    
  • Now connect via following command:
    ssh -X [email protected]
    
  • After that, use declare command to set the display to your servers one:
    declare -X DISPLAY="99.99.99.99:0.0"
    

    (with your IP)

  • [/ol] Thats it.
    In Articles, Linux, X Window System, open source, ssh by
    @ 2007-07-03, Comments at Reddit & Hackernews