xhost question

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Matt Alexander
Date:  
Subject: xhost question
Isn't the -X option the default anyway?


On 7 Feb 2002, Blake Barnett wrote:

> You should not be exporting the DISPLAY, ssh does this for you. So when
> you login via 'ssh -X' $DISPLAY should be set to something like
> 'jim:10.0' ('X11DisplayOffset' defaults to an offset of 10, check
> sshd_config).
>
> If this does not work, you need to verify that sshd_config has the
> 'X11Forwarding' option set to 'yes' and then restart sshd and retry.
>
>
> On Thu, 2002-02-07 at 12:00, Anthony Hologounis wrote:
> > I saw der hans post about using ssh with the -X flag. I read the man page on
> > ssh too. I cant seem to get that feature to work, either that or I am not
> > doing it right..hmm, lets take a guess..
> >
> > Here is what I am doing:
> >
> > xhost +bob #lets allow the machine bob
> >
> > ssh -X bob #lets get over to bob
> >
> > Whilst on bob
> >
> > export DISPLAY=jim:0.0
> >
> > $xosview &
> >
> >
> > Ok that works fine.
> >
> > After reading the threads concerning xhost I got the impression that I dont
> > need to do
> >
> > xhost +bob
> >
> > that ssh with the -X flag will work in its place...
> >
> > I tried it of course but it doesnt.
> >
> > So can someone give me the exact syntax of using ssh with the -X option to
> > export displays from one machine to another?
> > Thanks
> >
> > Anthony
> >
> > On Tuesday 05 February 2002 08:30 am, you wrote:
> > > The best reason I can think of to use ssh internally is for compression
> > > - X11 is a major bandwidth piggie.
> > >
> > > "der.hans" wrote:
> > > > Am 03. Feb, 2002 schwätzte Kevin Brown so:
> > > > > If this is on an internal LAN at home then I would think that you
> > > > > could connect without having to use ssh. My systems here all accept
> > > >
> > > > Sure, you can, but why? ssh does what you need with less effort and way
> > > > more security.
> > > >
> > > > ciao,
> > > >
> > > > der.hans
> > >
> > > ________________________________________________
> > > See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't
> > > post to the list quickly and you use Netscape to write mail.
> > >
> > > PLUG-discuss mailing list -
> > > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> > ________________________________________________
> > See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
> >
> > PLUG-discuss mailing list  -  
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> --
> Blake Barnett (bdb)  <>
> Sr. Unix Administrator
> DevelopOnline.com                 office: 480-377-6816

>
> Learning is a skill, you get better at it with practice.
>
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
>
> PLUG-discuss mailing list -
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>