[lug] Newbie X-window questions

Warren Sanders sanders at MontanaLinux.Org
Wed May 9 12:52:51 MDT 2001


On Wed, 9 May 2001, Hugh Brown wrote:

> Date: Wed, 9 May 2001 15:38:49 -0400 (EDT)
> From: Hugh Brown <hugh at vecna.com>
> Reply-To: lug at lug.boulder.co.us
> To: lug at lug.boulder.co.us
> Subject: Re: [lug] Newbie X-window questions
>
> 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.

I have seen it done before. It was a prank, but don't know the commands.
:(

>
> 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
>
> "Glenn Murray"
> >
> > Tony,
> >
> > Thanks much for the reply---I now know more about the security
> > issues than I thought I needed.  Also, I hadn't thought about
> > VNC, there's even a Debian package for it.  What happens when
> > you run connect to a machine with a VNC server which is not
> > at the moment, running X?
> >
> > 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
>

-- 
Warren Sanders
http://MontanaLinux.Org




More information about the LUG mailing list