:: I'm trying to run applications off RH 7.3 server from my RH 7.3
:: workstation. I have added the testsrvr this way:
::
:: xhost +testsrvr.
Better to use xauth, better still ssh, but OK.
: I am getting this error: xclock -display testsrvr=0
Perhaps you meant -display testsrvr:0
But even so... it makes no sense. You just allowed clients on
testsrvr (the "applications" you want to run are X clients),
to access the X server on your workstation. That's what
xhost +testsrvr does; it allows access to your workstation's
screen from processes running on the server.
Now, you start a clock, telling it to run on the SERVER's screen.
Um. Why? You want to display this clock to somebody else
sitting somewhere else? This is confusing; I don't understand
what you are attempting to accomplish.
Let's say you are sitting in front of machine "foo", have logged in
there, and are typing to a shell in an xterm all running on foo.
You want to run some app (let's call it, oh, let's see, "app")
on another workstation, let's call that one "bar".
So. You type
xhost +bar
telnet bar
[.. complete login, now on bar; continue with ..]
export DISPLAY=foo:0
app
( assuming bar is running telnetd; any remote login will do )
or, same effect but more secure, and less clutter left over:
ssh -X -f bar app
(assuming bar is running sshd).
If, on the other hand, you want to run an entire desktop
on bar and display it all on foo, then you'd want to do something
else entirely; probably what you want is to start an entirely
separate X server, and tell it to "-query bar" so that the xdm
processor on bar will log you in there instead of locally.
Or possibly, use of VNC.
There are so many ways to do this, it's a bit hard to pick one.
But something like
X :1 -query bar
or maybe
Xnest :1 -query bar
should work, if bar has been configured to allow remote xdmcp access.