X server not reponding

John Morrison jmorrison at snspix.com
Thu Jun 23 14:21:55 UTC 2005


On Thu, 2005-06-23 at 09:02 -0400, William Hooper wrote:
> Dan Track wrote:
> > On 6/23/05, William Hooper <whooperhsd3 at earthlink.net> wrote:
> >
> >>
> >> Dan Track wrote:
> >>
> >>> I have done this on the remote client:
> >>>
> >>>
> >>>
> >>> export DISPLAY=x.x.x.x:0.0
> >>>
> >>> (x.x.x.x is my desktop, X is not listening on port 6000)
> >>>
> >>
> >> Then you aren't using the OpenSSH forwarding.  Leave the DISPLAY alone
> >> and see what happens.
> >
> > Hi
> > Yep I left it alone but is says this:
> >
> >
> > gthumb Xlib: connection to "dan:0.0" refused by server
> > Xlib: No protocol specified
> >
> >
> >
> > (gthumb:24899): Gtk-WARNING **: cannot open display:
> >
> >
> > Dan is the name of the remote client.
> 
> Do you have anything else setting DISPLAY?  When used by SSH, it should be
> something like "DISPLAY=localhost:10.0".
> 
> Does it fail if you run something simple (like xlogo)?
> 
> Also, just a hunch, but post the contents of your /etc/hosts file.
> 
> -- 
> William Hooper
> 
Hi,
I have a similar problem.
On my remote machine $DISPLAY set as localhost:10.0
When i do ssh -X (or Y) user at remote_machine and try to run xclock, for
example, i get the following error: 

_X11TransSocketINETConnect() can't get address for localhost:6010: Name
or service not known
Error: Can't open display: localhost:10.0

I have set 'X11Forwarding yes' in /etc/ssh/sshd_config and 'ForwardX11
yes' in /etc/ssh/ssh_config.
Anyone else getting this?





More information about the fedora-list mailing list