[lug] Newbie X-window questions

Hugh Brown hugh at vecna.com
Wed May 9 13:38:49 MDT 2001


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

"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



More information about the LUG mailing list