LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Remote Desktop, ssh, vnc, rdesktop, RDP, cygwin? (http://www.linuxquestions.org/questions/linux-networking-3/remote-desktop-ssh-vnc-rdesktop-rdp-cygwin-301593/)

chbin 03-14-2005 04:07 PM

Remote Desktop, ssh, vnc, rdesktop, RDP, cygwin?
 
Okay, I would like to know the different ways to see a linux GUI desktop on a windows xp box?

Although I'm not as interested in the reverse, I would also like to know the how to see a Windows XP desktop on a linux box?

I have a 100 MB/s LAN so I don't think bandwith will be a problem there. However, lets say I want to use a computer away from home that is on dialup. Is a GUI export even feasable?

pave 03-14-2005 07:12 PM

I use a rather unpopular solution. A few of my servers are windoze (unfortunatelly). They are running a Remote Administrator programme (which is a commercial one). It is a really good server/client programme but it doesnt run on Linux. Fortunately it runs perfectly using winex (which is commercial too - damn), but you could try WINE which is free. This solution lets me do the job both ways. See Windows from Linux and vice versa.

{BBI}Nexus{BBI} 03-16-2005 09:58 PM

You can achieve the same results by installing tightvnc on your windoze boxes, then running the tightvnc server in 'Listen' mode. On the Linux side you can use the tightvnc viewer or the Remote Desktop app to get your remote windoze desktops in Linux. Works a treat :-)

pyrosim 12-15-2005 07:47 PM

Cygwin X will let you do an ssh session with X forwarding.

Install Cygwin, download PuTTY, execute xinit from Cygwin bash, execute PuTTY from the shell there enable X forwarding, and you should be good. From there (the PuTTY shell) you can "startkde &" or "gnome-session &" or "(whatever you do to start your window manager) &", and you have a *nix GUI on windows. Congratulations.

danblackracing 12-15-2005 10:25 PM

1. Make sure you have VNC installed on in Linux. In my Fedora (gnome) I go to Applications > Accessories

2. Turn on Remote Desktop in Preference. Add the option for a password. Turn off "ask permission"

3. Add '5900:tcp to your Linux Firewall if its on

4. forward 5900 in your LAN router (if you have one

5. Download vncveiwer.exe to the Win machine
tightvnc.com/download.html
"tightvnc-1.2.9_x86_viewer.zip"

6. Open the vncviewer.exe and enter your Linux internal IP (remoting internally) or external IP.

Bingo :-)

43r05p4c3 12-16-2005 10:16 PM

Hey,

You can also use this program, called PuTTY. Just type the IP address to connect to, set it to SSH on port 22 (you can also use different protocols if you want, but as far as I know they're all worse.)
You'll also need to enable X11 forwarding under the SSH properties.

You should be able to get the program at these sites:

ftp://ftp.chiark.greenend.org.uk/use...test/putty.exe

http://www.chiark.greenend.org.uk/~s.../x86/putty.exe

Hope this helped,

Steve

spooon 12-17-2005 01:22 AM

There is SSH with X forwarding. You need an X server to use X forwarding. The main X servers on Windows are Cygwin/X (the X server in Cygwin) or Xming (the same X server but without Cygwin). Keep in mind that X is REALLY slow over the Internet. Enabling compression on the SSH connection helps a little, but not much. Also, keep in mind that you are forwarding X to the local X server, so you may not be able to get a "desktop" environment since it may conflict with the local one.

VNC allows you to get a desktop. Also, it is usually faster than X because it can perform compression. The main implementations of VNC are RealVNC and TightVNC. You may want to tunnel VNC traffic over SSH for security.

Another technology that is much, much faster than X and VNC is NX, which gives near local speeds over really slow connections like modems. It also includes SSL encryption. There is FreeNX server for Linux. I use this to connect to my machine from home.

poochdog 12-17-2005 05:28 PM

Hi I use FreeNX and VNC solutions for my Linux box, there are guides on these two solutions here.


All times are GMT -5. The time now is 10:12 AM.