Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 5
    Wow, thank you so much for your anwer. I was doing everything good except the export DISPLAY=:10. I never guessed that number of display. Commented Oct 31, 2015 at 22:34
  • 1
    It's a display offset of 10! :D Commented Jul 23, 2019 at 20:07
  • 4
    On the client side, a significant speedup can be achieved by enabling compression through the -C option, as in: $ ssh -X -C blyman@the-server Commented Feb 7, 2021 at 18:00
  • 2
    AddressFamily inet in sshd_config helps if "X11 forwarding request failed on channel 0" error raises (source) Commented Mar 19, 2021 at 13:00
  • @41754 While the setting is misleadingly named X11DisplayOffset, its description states that it just specifies the first available display number: "Specifies the first display number available for sshd(8)'s X11 forwarding. This prevents sshd from interfering with real X11 servers. The default is 10." Commented Jan 8 at 12:28