Re: Some servers do not forward X11, but I do not know why.



On Tue, Dec 06, 2005 at 10:25:23AM -0600, Christopher L. Barnard wrote:
> I have two identical Sun Solaris 9 servers. Both are running OpenSsh
> version 4.2p1. Both have identical ssh_config and sshd_config files. One
> allows me to run X programs and they are displayed back on my desktop.
> The other one reports
>
> Error: Can't open display:
[...]

Try adding "XAuthLocation /usr/openwin/bin/xauth" to sshd_config and
restarting sshd.

At built time, if xauth is found in the path then that location is
set as the default for XAuthLocation. If it's not found in the path
then there's no default. I suspect that your working machine had
xauth in the path at build time and your non-working one did not.

--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.



Relevant Pages

  • Re: No DISPLAY set in -X Tunneling
    ... EJ> xauth and writes to the .Xauthority file on the server machine or ... but note that the client also runs xauth in order to get or create a ... EJ> be able to type 'echo $DISPLAY' and see the new DISPLAY ... EJ> DISPLAY set on the remote server machine. ...
    (comp.security.ssh)
  • Re: Run X client with ssh tunnel after su
    ... || connection is the thing that makes me able to display locally an X app ... You can run xauth nlist $DISPLAY to select the cookie that goes with ...
    (comp.os.linux.x)
  • Re: Burkes International REegister of Arms
    ... "Read the judgement, which refers to display without distinction ... You have taken the words 'with regard to the display in the auditorium ... display of arms was not contrary to the law of arms. ... "To deal then with the present complaint, ...
    (rec.heraldry)
  • Re: ssh x11 forwarding
    ... DISPLAY is not define in the terminal i use ... Requesting X11 forwarding with authentication spoofing. ... xauth generate $DISPLAY. ... Do you have an X11 client on your MacBook that you could try at this point? ...
    (comp.unix.bsd.freebsd.misc)
  • Re: error message " no display specified"
    ... When I try to open the matlab installed on remote server to ... I get the message "No Display specified. ... For the Korn shell or modern Bourne shell, ... typical unix-like mechanism would be to use the 'xauth' command. ...
    (comp.soft-sys.matlab)