Re: remote session can't acess X
On Dec 22 2002, Nirmal Govind wrote:
> I ssh'd into the machine and started the app but I get an error
> saying "Cannot connect to X server" .. I did enable remote hosts
> using xhost but no luck.. I tried from another machine of mine
> (running Mandrake) and it works fine.. is there something else I
> need to enable on my ibook?
Well, both ends of the ssh suite have to allow X Forwarding.
For the client, it seems to be working ok, since you can
forward from your Mandrake box (you can use the -X command
line option).
But the server has to allow forwarding connections also. You
can see how it is configured seeing /etc/ssh/sshd_config
(assuming the Solaris box is running OpenSSH).
Hope this helps, Roger...
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rogério Brito - rbrito@ime.usp.br - http://www.ime.usp.br/~rbrito
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Reply to: