[CentOS] ssh X11 forwarding not working

Wed Oct 10 14:00:27 UTC 2007
Barry Schiffman <schiffo2000 at yahoo.com>

--- Bent Terp <bent at nagstrup.dk> wrote:

> I often see this when I've forgotten to install the
> xorg-x11-xauth package.
> 
> Having to set DISPLAY manually is annoying
> 
> regards,
>   Bent
> 
> 
> On 10/10/07, Barry Schiffman <schiffo2000 at yahoo.com>
> wrote:
> > --- Barry Schiffman <schiffo2000 at yahoo.com> wrote:
> >
> > >
> > > --- Feizhou <feizhou at graffiti.net> wrote:
> > >
> > > > James A. Peltier wrote:
> > > > > I'm having problems with ssh.com and X11
> > > > forwarding
> > > > >
> > > > > ssh: SSH Secure Shell 3.2.0 (non-commercial
> > > > version) on i686-pc-linux-gnu
> > > > >
> > > > > I am in the process of testing some of my
> > > machines
> > > > with CentOS 5
> > > > > x86/x86_64 and have run into a bit of a
> snag.
> > > X11
> > > > Forwarding is not
> > > > > working.
> > > > >
> > > > > Any hints?  I've checked the ssh config
> files
> > > and
> > > > they seem to be
> > > > > identical to the config files on our
> existing
> > > SuSE
> > > > 10.0 machines which
> > > > > are working.  This is troubling indeed.
> > > > >
> > > > >
> > > >
> > > > ssh -v and see what the ssh client complains
> > > about.
> > >
> > > I just installed CentOS 5.0 on one machine here
> and
> > > have a similar problem. I haven't changed the
> config
> > > file from what was installed, and it looks
> pretty
> > > much
> > > like the config in CentOS 4.5.
> > >
> > > I've got openssh-4.3p2-16.el5 on the CentOS 5.0
> > > machine, and have tried to get X11 forwarding
> > > working
> > > on connections from three machines with
> different
> > > os's
> > > -- centos 4.5, ubuntu and Mac OS.
> > >
> > > ssh -v doesn't seem to say anything out of the
> > > ordinary. After authentication, it says:
> > >
> > > Entering interactive session.
> > > Requesting X11 forwarding with authentication
> > > spoofing.
> > >
> > > Trying to open an emacs window without a -d
> > > argument,
> > > I get a message about no address for
> localhost:6010.
> > >
> > > Supplying the -d argument, I get
> > > Xlib: connection to "xxx:0" refused by server
> > > Xlib: No protocol specified.
> > >
> > > Barry
> > >
> >
> > I should've tried this before writing. If I set
> the
> > environment variable DISPLAY in the xterm after
> making
> > the ssh connection, it works.
> >

Alas, I've got it.

xorg-x11-xauth-1.0.1-2.1



       
____________________________________________________________________________________
Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow