On 12/6/05, Christopher L. Barnard <[EMAIL PROTECTED]> 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:
>
> What am I missing to force this server to set the DISPLAY variable so that
> X11 will be forwarded?  As I say the ssh_config and sshd_config files are
> identical with a server that works, and in particular ssh_config:
>
> ForwardX11 yes
>
> and sshd_config:
>
> X11Forwarding yes
> X11UseLocalhost no
>

To add some information:
not only is xhost not used, the binary is deleted if it exists every night
on all servers by cron.  Xhost is Evil (tm).

Xauth is not the issue.  It is in the same place on all servers.

I have figured out what the problem is, but not how to solve it.  Running
the daemon in 3-layer-deep debug mode (-ddd) I discovered that the reason
the server is responding "Error: Can't open display:" is

debug2: bind port 6260: Address already in use

repeated 999 times, for the 999 ports from port 6000 to port 6999.  Then
the two messages
Failed to allocate internet-domain X11 display socket.
debug1: x11_create_display_inet failed.

I am ssh-ed in, but I do not have X.

The server is busy, with about 200 ssh connections to it, but nowhere near
the 999 maximum X tunnelling number...

+-----------------------------------------------------------------------+
| Christopher L. Barnard         O     When I was a boy I was told that |
| [EMAIL PROTECTED]         / \    anybody could become president.  |
| (312) 347-4901               O---O   Now I'm beginning to believe it. |
| http://www.cs.uchicago.edu/~cbarnard                --Clarence Darrow |
+----------PGP public key available via finger or PGP keyserver---------+

Reply via email to