You'll want to use the VNC protocol. A good windows program for this is TightVNC (google it). Most linux distro's already have a VNC client/server software included with them by default. x11vnc is one such program that works on many linux distros.
It is not necessary to tunnel your connections through SSH, though security gurus will warn you to do so if the server machine contains highly confidential information (it is possible for VNC data streams to be captured and keystrokes extracted, perhaps video data as well).
If you wanted to connect from Windows to Linux using TightVNC, you would open TightVNC viewer and add a new server to establish a connection. The server address is the IP or DyDNS address to the linux machine. Either you'll need to enable remote desktop support in the distro, or use a program like "vncviewer -listen" to wait for an incoming connection request from the Windows machine. While in a VNC window in Linux, you can often hit the F8 key to bring up a menu that will allow you to do things like switch back and forth between fullscreen and windowed mode, Send-F8 to the host computer, other certain keyboard combos, close sessions and other stuff.
If you wanted to connected from Linux to windows, you'd start TightVNC server on Windows, and run vncviewer IP.ADD.REE.SS of the Windows machine.
Communication is established on port 5900 by default, so be sure to port forward this on your routers if you have any between the PC's in question.
Good luck!
Last edited by diablo75 : 08-Mar-2008 09:39 AM.
Reason: Added much more detail
|