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




On 12/6/05, Christopher L. Barnard <cbar44@xxxxxxxxxxxx> 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 |
| cbarnard@xxxxxxxxxxxx / \ 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---------+



Relevant Pages

  • Re: Ipconfig vs winipcfg vs wntipcfg
    ... It also fails to display WINS servers. ... That is not displaying DNS or WINS servers are flaws. ... MS-MVP Windows XP/ Windows Smart Display ...
    (microsoft.public.windowsxp.general)
  • Re: Queries returning blank lines with joined tables
    ... A RIGHT JOIN *is* an outer join. ... which one will display ALL of the record. ... So your query is showing all of the records in NIC and related records from ... > FROM Servers RIGHT JOIN NIC ON Servers.ID = NIC.ID ...
    (microsoft.public.access.queries)
  • Re: Public Folder Replication
    ... Sorry, I didn't check the display names with outlook, I checked them with ... > three servers. ... >> On the destination public folder verify if the public folder store has a ...
    (microsoft.public.exchange2000.win2000)
  • Re: How to display .files without ls -al
    ... > FTP to display those .ht files. ... I understand web servers don't display ... > them, because of system/security reasons, but it should not be blocked ...
    (comp.os.linux.misc)
  • Re: How to display .files without ls -al
    ... > FTP to display those .ht files. ... I understand web servers don't display ... > them, because of system/security reasons, but it should not be blocked ...
    (comp.unix.admin)