[Bug 1004] X11 forwarding not working with ssh3.9p1 (Error: Can't open display)

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Apr 12 12:08:45 EST 2005


------- Additional Comments From dtucker at zip.com.au  2005-04-12 12:08 -------
(In reply to comment #5)
> Created an attachment (id=865)
 --> (http://bugzilla.mindrot.org/attachment.cgi?id=865&action=view) [edit]
> ssh -vvv output after setting complete path to Xauthlocation and restarting
> sshd

Is $DISPLAY set on the client before you run ssh -X?

> I noticed that whenever I exit from the remote server the DISPLAY variable is
> lost. I need to set it everytime I connect to remote server.

You shouldn't need to set DISPLAY on the server.

Maybe the problem is on the server side... Please run the server in debug mode:
("/path/to/sshd -ddde -p 2022" on the server then connect with "ssh -X -p 2022
yoursever") and attach the debug output from sshd.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the openssh-bugs mailing list