[lug] Newbie X-window questions
John Hernandez
John.Hernandez at noaa.gov
Wed May 9 17:04:36 MDT 2001
Glenn Murray wrote:
>
> This X terminology is just about opaque. I want for example, to open
> a window on mine in which the stuff happening is on her computer.
> E.g., if I type "mine$ netscape&" I'll get netscape with her
> bookmarks, etc.
>
> mine/$ ssh hers xterm
> bash: xterm: command not found
It's not in the path. Try 'ssh hers /usr/X11R6/bin/xterm'. If it still doesn't work, try 'ssh -v hers /usr/X11R6/bin/xterm' for some debugging info (regarding x11 forwarding and all that good stuff).
> mine/$ xhost +hers
> hers being added to access control list
> mine/$ ssh hers
> me at hers:me/$ export DISPLAY=adrenaline:0
> me at hers:me/$ xterm &
> [1] 1936
> me at hers:me/$ netscape &
>
> But nothing happens? Could this be a packet filtering problem?
>
Could be. X protocol is often blocked at border routers for security. If you're both on the same LAN, unlikely. SSH tunneling should fix that.
> Glenn Murray
> www.mines.edu/~glenn/public_html/Welcome.html
>
> On Wed, 9 May 2001, Hugh Brown wrote:
>
> > If you are sitting at mine why do you want a window to open up on hers?
> > You can't do that (that I know of) by the way. Maybe you mean this.
> > sitting at mine, want to get an xterm on hers to open on mine
> >
> > Method 1.
> > mine$ ssh hers xterm
> >
> > Method 2.
> > mine$ xhost +hers
> > mine$ ssh hers
> > hers$ export DISPLAY=mine:0 #assumes sh/bash/ksh syntax
> > hers$ xterm&
> >
> > Hugh
> >
> > >
> > > More fundamentally, though, I'd like at this point to get even one
> > > window open using "host-based authentication". To avoid the
> > > "local/remote" confusion, say I have a Linux box "mine" which I am
> > > sitting at, and there is a Linux box "hers" running on the local net,
> > > on which I have an account. I can ssh to hers, and then
> > >
> > > hers$ xhost +mine
> > > xhost: unable to open display ""
> > >
> > > Does X need to be running on hers already? Can I start it?
> > >
> > > Don't I have to export some DISPLAY variable?
> > >
> > > What do I type at mine$ to get a window on hers?
> > >
> > > Again, Thanks!
> > > Glenn Murray
> > > www.mines.edu/~glenn/public_html/Welcome.html
> > _______________________________________________
> > Web Page: http://lug.boulder.co.us
> > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> >
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
More information about the LUG
mailing list