Running on the WindowServer of a remote host - NXHost

Title: Running on the WindowServer of a remote host - NXHost 
Entry Number: 1365
Last Updated: <<Date February 18, 1997>>

Keywords: WindowServer, NXHost

Q:  How can a NEXTSTEP application run windows on the WindowServer of a remote host?

A:  Someone must be logged on to the host you would like the windows to appear on (the "target" host).  The user that is logged on must have Public Window Server access on.   This gives permission for a remote host to establish a connection to its WindowServer.  Public Window Server access is set through the Preferences application.  From a remote host, you can then launch an application and specify that the windows should appear on the target machine like this:

	% /NextApps/Webster.app/Webster -NXHost TargetHost

In this case, Webster launches on the remote host and the windows show up on TargetHost.  "TargetHost" must be the hostname; you cannot substitute an ip address. 

It's not possible to use NXHost from a machine running Release 3 to a machine running an earlier release. However you can run an application on a Release 2 machine and have its windows display on a Release 3 machine. (In addition, you cannot use NXHost from a Release 1 machine to a Release 2 system, or vice versa.)

QA35

Valid for 1.0, 2.0, 3.0, 4.0