Maybe you have X11Forwarding disabled in your /etc/ssh/sshd_config, just as John said? I recently started seeing this message too, and I think that was the problem.<br><br>I'm not sure about it, but I usually also set my X server to accept remote connections, maybe this is also disabled for you? In your '/etc/X11/xinit/xserverrc', check for 'nolisten tcp' and remove it if it's there. There may be some other files as well in /etc/X11 that use 'nolisten tcp' and one of those may be the culprit, such as your gdm or kdm startup files.
<br><br>Hope you get it working,<br>Khusro<br><br><div><span class="gmail_quote">On 11/5/06, <b class="gmail_sendername">John Winters</b> <<a href="mailto:john@sinodun.org.uk">john@sinodun.org.uk</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Adrian McMenamin wrote:<br>> loggin into a remote host thus:<br>><br>> ssh -X adrian@remotehost<br>><br>> Then running 'xterm' and get this:<br>><br>> xterm Xt error: Can't open display:<br>> xterm: DISPLAY is not set
<br>><br>> I've never had this problem before - ssh has usually handled all the<br>> forwarding stuff. And how do I set the DISPLAY when I am in a box behind<br>> NAT and don't have a real world IP Addr?<br><br>
Assuming you intend to piggy-back X over ssh it doesn't matter about the<br>NAT bit. Try adding the "-v" switch to your invocation of ssh. That<br>may well tell you why the DISPLAY variable isn't getting set. It may be
<br>that it's disabled on your target host - in /etc/ssh/sshd_config<br><br>HTH<br>John<br>--<br>Gllug mailing list - <a href="mailto:Gllug@gllug.org.uk">Gllug@gllug.org.uk</a><br><a href="http://lists.gllug.org.uk/mailman/listinfo/gllug">
http://lists.gllug.org.uk/mailman/listinfo/gllug</a><br></blockquote></div><br>