From: Peter C. Tribble on
I'm trying to get X11 forwarding working under Solaris 10 the way it
used to under Solaris 9.

I enable X11Forwarding in /etc/ssh/sshd_config:

X11Forwarding yes

OK, so that enables X11 forwarding, but DISPLAY becomes localhost:10.0
and I can't connect to that from any other machine. OK, so I try
setting:

X11UseLocalhost no

which I think is what I'm supposed to do, but then DISPLAY doesn't get
set at all and I get an error

Feb 28 17:02:45 foobar sshd[1407]: [ID 800047 auth.error] error: Failed to allocate internet-domain X11 display socket.

So what is the problem here and how do I set up sshd to allow remote
hosts to connect to the proxy display that sshd sets up?

Thanks for any pointers...

--
-Peter Tribble
MRC Rosalind Franklin Centre for Genomics Research
http://www.rfcgr.mrc.ac.uk/~ptribble/ - http://ptribble.blogspot.com/
From: Fredrik Lundholm on
In article <cvvj95$e60$1(a)helium.hgmp.mrc.ac.uk>,
Peter C. Tribble <ptribble(a)hgmp.mrc.ac.uk> wrote:
>I'm trying to get X11 forwarding working under Solaris 10 the way it
>used to under Solaris 9.

That is quite a strange oxymoron considering Solaris 9 comes with X11-
forwarding disabled, and S10 with X11 tunneling enabled, by default! :)

:)

Maybe you need to convince the ssh CLIENT to request X11-forwading
aswell!? does 'ssh -X xxxxx' work!?
--
Fredrik Lundholm
dol @ ce.chalmers.se

From: Peter C. Tribble on
In article <d000l5$7f4$3(a)eol.dd.chalmers.se>,
dol(a)ce.chalmers.se (Fredrik Lundholm) writes:
> In article <cvvj95$e60$1(a)helium.hgmp.mrc.ac.uk>,
> Peter C. Tribble <ptribble(a)hgmp.mrc.ac.uk> wrote:
>>I'm trying to get X11 forwarding working under Solaris 10 the way it
>>used to under Solaris 9.
>
> That is quite a strange oxymoron considering Solaris 9 comes with X11-
> forwarding disabled, and S10 with X11 tunneling enabled, by default! :)

Yes, I know that. But S10 with X11 forwarding enabled behaves
differently than S9 does with X11 forwarding enabled.

> Maybe you need to convince the ssh CLIENT to request X11-forwading
> aswell!? does 'ssh -X xxxxx' work!?

Nope. The question isn't whether I can get X11 forwarding to work, it's
that I can't get it to accept remote connections like it did under
S9. If I do what the man page would indicate - namely to set
"X11UseLocalhost no" - then I get errors out of sshd and no X11
forwarding at all.

--
-Peter Tribble
MRC Rosalind Franklin Centre for Genomics Research
http://www.rfcgr.mrc.ac.uk/~ptribble/ - http://ptribble.blogspot.com/