I hope this is not too off topic but since it involves remote machine
across the network , I trust if anyone has some help to offer they will
do so.  If it is indeed way off let me know and I won't get my feeling
hurttoo badly.  I also posted this to redhat-list nearly simultaneously.

Here goes

I need to be able to launch a java program in X on a remote machine and
have it display on the console of that remote machine.  I am gaining
experience in Linux but as far as X goes I still still have to think
about the apparent (to me at least) reversal of the client server roles
in X terminalogy every time someone says start the server so please go
easy on me.

I would also like to be able to start this same program up at boot time
and have it display on the console but for right now if I can start it
remotely I will be a happy camper.  I have tried a few guesses like
telneting into the remote machine and running the program with:

jre progname -display remotehostname 0:0
jre progname -display remotehostname:0.0

and a few other variants

Each time I get a message on the local machine from Xlib: telling me the

connection is refused and that I do not have authorization to connect to

server  Then Java gets mad and tells me I can't connect to the server
using the localhostname :0.0 as the value of the display variable.

At this point ps on the remote machine shows the process running and I
have to kill it from the telnet session with a cntl-c.

I would really like to know what is happening here (the why to) but
would settle for the correct syntax (the how to ) and a place to read up

on the why to without getting too terribly deep into system calls and
the like.

Any help at all would be greatly apprecitaed.


Running RedHat  5.2 on both machines
I can configure either machine anyway I need to.

Bret



-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to