Author: hunter44102 (205.158.183.66.ptr.us.xo.net)
Date: 11-23-2004 18:01
I wonder if this would work (its from Ch19 of the Tutorial on Linux.org):
Using the X-Window programs from another computer
This is the thing I love to show people from the MS Windows world. I point to the computer across the room and then say: "Now I am going to start the browser from that system and make it appear here." You don't need to be David Copperfield to perform this magic. You only need X-window running on one and installed on the other. You also need a means of logging in to the other computer. And here's one more thing. The computer doesn't even need to be in the same room. It can be in a different room in a different building on a different continent. Providing your bandwidth is good enough, you can start a program on a computer 5000 kilometers away and use it on your desktop.
There are two ways to do this. One is not secure and probably should only be used on a local network, if at all. The second one is very secure and can be used for trans-oceanic X-window sessions.
If you have the remote login device telnet and the telnet server installed on the machines, you can use this fairly safely in a local network. For example, if your workstation is called 'amos' and the other machine is called 'andy' and you want to use a program on 'andy', sitting at 'amos', you would type:
xhost +andy
Then with telnet, login into 'amos' (telnet> open amos)
Then, type:
DISPLAY=amos:0.0
then
export DISPLAY
Now you can type the name of any program you want to run that you know is on 'andy'. Remember though, as I mentioned, telnet is insecure. This are better ways of doing this. You should never do this if you're working over a public network, like the Internet.
|