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.

3
  • 1
    This is the only answer that worked for me (Ubuntu 14). Commented Sep 8, 2017 at 1:28
  • This solution works nicely from within the remote machine (= X Win client) while the xhost solutions in other answers have to be executed on the local machine (= X Win server). Commented Nov 1, 2017 at 15:55
  • It might be safer to use tee -a to avoid clobbering any existing information in .Xauthority. Commented Jun 27, 2019 at 16:25