Search for Tips & Tricks

Google
 

Sunday, January 20, 2008

How to open remove application on local machine

This can be done using xhost utility:

Step 1. On the local host

Type the following at the command line:

$ xhost +

Step 2. Log on to the remote host

$ telnet

Step 3. On the remote host (through the telnet connection)

Instruct the remote host to display windows on the local host by typing:

$ setenv DISPLAY :0.0
->> user zsh ( shell)
at the command line. (Instead of setenv you may have to use export on
certain shells. in bash shell use DISPLAY=:0.0)

Step 4. Now you can run software from the remote host.

E.g.: when you type $ xterm on the remote host, you should see an
xterm window on the local host.

Step 5. After You Finish

You should remove the remote host from your access control list as follows.
On the local host type:

$ xhost -

No comments: