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:

  • After that, use declare command to set the display to your servers one:

    declare -X DISPLAY=""

    (with your IP)

  • [/ol] Thats it.

    In articles, linux, open source, ssh, x window system by
    @ 03 Jul 2007, Comments at Reddit & Hackernews

    Give something back

    Were my blog posts useful to you? If you want to give back, support one of these charities, too!

    Report hate in social media Campact e.V. With our technology and your help, we protect the oceans from plastic waste. Gesellschaft fur Freiheitsrechte e. V. The civil eye in the mediterranean

    Recent Dev-Articles

    Read recently

    Recent Files