xhost & Xserver?

xhost & Xserver?

Post by Jame » Sun, 12 May 2002 11:42:56



Hi all.

I'm not sure if this the correct place or not... 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.

I am getting this error:

xclock -display testsrvr=0
Error: Can't open display: testsrvr=0

I have this running on a private, non-internet, network. Consequently I am
not running a firewall. Does anyone have any ideas as to what I should
read, try or rethink?

Thanks,
-james

 
 
 

xhost & Xserver?

Post by Hal Burgis » Sun, 12 May 2002 12:24:43



> Hi all.

> I'm not sure if this the correct place or not... 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.

> I am getting this error:

> xclock -display testsrvr=0
> Error: Can't open display: testsrvr=0

> I have this running on a private, non-internet, network. Consequently I am
> not running a firewall. Does anyone have any ideas as to what I should
> read, try or rethink?

Undo the xhost thing, and try:

 ssh $some_host xclock &

(Assuming sshd is running on the remote.)

--
Hal Burgiss

 
 
 

xhost & Xserver?

Post by I R A Darth Agg » Sun, 12 May 2002 12:31:09


On Sat, 11 May 2002 03:24:43 GMT,


+> > Hi all.
+> >
+> > I'm not sure if this the correct place or not... 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.
+> >
+> >
+> > I am getting this error:
+> >
+> > xclock -display testsrvr=0
+> > Error: Can't open display: testsrvr=0
+> >
+> > I have this running on a private, non-internet, network. Consequently I am
+> > not running a firewall. Does anyone have any ideas as to what I should
+> > read, try or rethink?
+>
+> Undo the xhost thing, and try:
+>
+>  ssh $some_host xclock &
+>
+> (Assuming sshd is running on the remote.)

Depends on the ssh involved. Recent setups of OpenSSH requires one to
invoke ssh thusly:

% ssh -X remote xclock &

James
--
Consulting Minister for Consultants, DNRC
I can please only one person per day. Today is not your day. Tomorrow
isn't looking good, either.
I am BOFH. Resistance is futile. Your network will be assimilated.

 
 
 

xhost & Xserver?

Post by Billy O'Conno » Sun, 12 May 2002 14:58:57



> Hi all.

> I'm not sure if this the correct place or not... 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.

> I am getting this error:

> xclock -display testsrvr=0

                          ^^
                          Bad syntax.  Should be:
  xclock -display testserver:0.0

  This must be run from an xterm connected to the server.
  ssh to the server first, then run the command.

Quote:> Error: Can't open display: testsrvr=0

> I have this running on a private, non-internet, network. Consequently I am
> not running a firewall. Does anyone have any ideas as to what I should
> read, try or rethink?

> Thanks,
> -james

 
 
 

xhost & Xserver?

Post by Wayne Thro » Mon, 13 May 2002 04:25:49



:: 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.


 
 
 

1. XHost XServer, Xtrahelp b/c i'm lost

Kind of new to linux. Here is what I wanted to do: I wanted to telnet
into my schools server and run programs it has on that server on my local
box. I've been to #linuxhelp and the advice i was given was to use the
command export 'DISPLAY=IP:0' however this cmd is not available on our
server (but the xhost command is). I'm really new to this so if someone
could respond and tell me a good source (either a FAQ or site) on
Xclients and Xservers that would be great. The problem that i've
encounted is that when i try to lauch (lets say) &netscape  (i get the
error) Error: Can't open display. i figure this is because it doesn't
know where to export the display to. any ideas. thanks

2. SMTP to Perl

3. &&&&----Looking for a unix shell------&&&&&

4. aRts

5. xhost & $DISPLAY: problem

6. DAT on a remote machine?

7. xhost & setenv DISPLAY

8. SSA disks upgrade for in a cabinet.

9. xhost & dynamic IP addresses

10. aix 4.3 & xhost

11. ppp && PPPoE && ADSL && net && buffer(s)

12. 没有人用中文吗?

13. &&&&&& SUGGESTION ??? &&&&&&&&