Howto open xterm to another X virtual monitor

Rick Sewill rsewill at cableone.net
Mon Jan 29 18:22:40 UTC 2007


On Mon, 2007-01-29 at 18:50 +0100, David Kovalsky wrote:
> Dario Lesca wrote:
> > Hi! ... from a gnome-terminal if I run "xterm &" the xterm is open on
> > current desktop; it's possible open it on another desktop?
> >
> > Many thanks
> >   
> `xterm -display $DISPLAY'
> 
> could be what you are looking for
> 
> 

The other desktop has to allow you to connect to the X server
controlling the other desktop.  Please see "man xhost"

They changed the syntax for the host names, which confuses me.

On the other desktop, I would do "xhost +", but only for debugging
purposes to first see you can get your xterm appearing on the other
desktop.  Doing "xhost +" in general might be a security risk....
Eventually, I would suggest "xhost username at yourhostname",
caution: I have not had an occasion to try the above xhost command!
I do the following xhost command so root programs that want to access a
desktop can access my user desktop for when I do "su -" to root and do
things: 
"xhost SI:localuser:root"

I would have suggested doing "man X" to learn about the format of the
DISPLAY variable...but "man X" does not work.  "man Xserver" tells one
to look at "man 7 X" and "man 7 X" does not work for me.  I must need to
install some rpm or something.  I would try the following xterm command:
xterm -display otherhostname:0.0





More information about the fedora-list mailing list