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*

4
  • 1
    You also need xauth installed on the remote machine, otherwise the x authority stuff won't work. Commented May 6, 2011 at 18:22
  • What about setting DISPLAY? Commented May 6, 2011 at 18:36
  • 1
    ssh will automatically set $DISPLAY if X11Forwarding is enabled and xauth is present on the client system. Commented May 6, 2011 at 18:58
  • 2
    @Shadur Not for me. It works when I export DISPLAY=:10.0 but not otherwise. Otherwise, it complains that it cannot find :0. Maybe something else is needed for this to happen automatically? Commented Mar 6, 2017 at 17:39