DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Running remote programs

Gaining access to the remote client

Before you can run clients on other machines, you must also be able to access the remote machines. If the client is NFS-mounted on your system, then you can run it locally, and no display access permission is required. If, on the other hand, you want the client to run on the remote machine, you need an account on the remote machine to access the remote client by any of the following methods:


If you want to run the client via rcmd, you must have user equivalence on the remote machine or the rcmd command returns a ``Permission denied'' error message.

To establish user equivalence on the remote host:

  1. Log in to the remote host machine.

  2. Create a file named .rhosts in your $HOME directory, or if one already exists, open it for editing and add the following line:

    localhost login

    localhost is the name of the machine on which you are running the X server. login is your account name on localhost.

    When you have finished, save and exit the file.

  3. Make sure that the user ID (UID) of login is the same on both machines. Check the file /etc/passwd on both machines and make sure the UID fields match. You can also use the id(C) command to verify the UIDs on each machine. For information about the structure of the /etc/passwd file, see the passwd(F) manual page.

  4. Log out from the remote host.
You can now use rcmd(TC) to run clients on the remote host. You can also log in to the remote host without being prompted for your password.

For more details on the above network commands, see Networking Guide.


Next topic: Setting up access permissions to your display
Previous topic: Running remote programs

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003