Running Clients Remotely, or Locally as Another User
X clients use the value of the DISPLAY environment variable to get
the name of the server to which they should connect.
To Run Clients Remotely, or Locally As Another User
To run clients remotely, or locally as another user, follow these steps:
- On the machine running the server, allow another user access.
Depending on which authorization protocol you use, follow the steps outlined in either
Allowing Access When Using MIT-MAGIC-COOKIE-1 or Allowing Access When Using SUN-DES-1.
- Set DISPLAY to the name of the host running the server.
For this example, the host is remotehost.
- Run the client program.
The client is displayed on the remote machine, remotehost.