Stephen F Bosch wrote:
> 
> Pierre Fortin wrote:
> >
> > Stephen Bosch wrote:
> > >
> > > Better yet, use ssh to make your console connections to the remote
> > > machine. ssh will do two nice things:
> > >
> > > 1) ssh will by default set your DISPLAY variable when you connect
> > > 2) ssh does display forwarding so that all your X traffic is encrypted,
> > > too.
> >
> > Strangely, I've never gotten this to work either to a remote machine or
> > locally.  Never fully investigated, except to ensure forwarding was enabled...
> > [time passes...]
> > I just tried again and it worked...  as root.
> > >From the same command window, I get:
> > [pfortin@bones Security]$ ssh -X bones
> > [EMAIL PROTECTED]'s password:
> > Last login: Sun Sep 10 00:24:56 2000
> > [pfortin@bones pfortin]$ emacs junk
> > channel 0: istate 4 != open
> > channel 0: ostate 64 != open
> > Error: Couldn't find per display information
> > [pfortin@bones pfortin]$
> >
> > I can't find the above error string in any of the binaries/libraries.
> >
> > Does this sound familiar to anyone?
> 
> Well...
> 
> I recently had a problem on one of my machines and finally discovered
> that it was because ssh looks in /etc/hosts or something... I had some
> bad information in there (grr... it escapes me exactly *what* was
> wrong)...

A valiant effort; but no...  the only anomoly I can find is:
   sshd: 127.0.0.1/255.255.255.255
fails to allow "ssh [-X] localhost", while:
   sshd: 127.0.0.0/255.255.255.252
works.  Strange since both are valid IP/mask pairs.  Even:
   sshd: 127.0.0.0/255.255.255.254
works.  This one is dubious since the mask is really insufficient for
[sub]netting; though valid for strict host masking.

At any rate, I can ssh fine as either root or pfortin.
X only works if I am root; not as pfortin.

Sounds like a permissions/authority problem since authentication works.

Thanks,
Pierre

> but you might try examining those things more closely.
> 
> Though my guess is that there is something wrong with your display
> forwarding (as opposed to just the variable).
> 
> -Stephen-
> 
>   --------------------------------------------------------------------------------
> Keep in touch with http://mandrakeforum.com:
> Subscribe the "[EMAIL PROTECTED]" mailing list.

-- 
Linux (Up 52 days) -- Reboots are for system upgrades...
Last reboot reason:  Installed new BackUPS power supply.

Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to