Remote-desktop into Ubuntu 9.04 from a Windows PC
Solution 1
I have found NX (No Machine) to be the most reliable - it appears to tunnel over port 22, so aslong as you can SSH OK (you mentioned PuTTY so I assume yes) you should be able to connect. Although not open source it is free for Linux with free clients for Windows and Linux.
We use this at work over the internet, the compression / optimisation makes a serious difference - our VPN is now redundant!
http://www.nomachine.com/download.php
Note: It is based upon GPL software, with some propietary addons.
Solution 2
Are you connecting to the wrong display? Use netstat -ptan
to figure out what port the VNC server is running on. If it is port 5900, you should connect to 'yourip:0' in your VNC client. If 5901, connect to 'yourip:1'. et cetera.
Also, the log of your VNC server should be kept in ~/.vnc - take a look for any obvious issues.
Solution 3
Connection has been reset is probably due to transparent security device that can only reset connections. If firewall was a problem you would have got connection timed out error.
You can install XManager on windows PC and Run XManager Passive.
After running Xmanager passive, connect to Linux machine from Windows and type following command in putty / SSH Secure Shell Client
export DISPLAY=10.10.10.10:0
Where, 10.10.10.10 is IP of your windows machine. Do not put space before or after '=' sign in above command.
Then type some command like "gedit &" in putty and you should be able to see gedit in Windows. I prefer this over VNC as things look way way better using this method.
Solution 4
When we moved to a Linux database server, XMing really helped. It has a simple point-and-click install on the Windows side and about 5 minutes of configuration on the Linux side. (Turning on XWindows for remote access)
Related videos on Youtube
aeroshock
Updated on September 17, 2022Comments
-
aeroshock over 1 year
My server is Ubuntu 9.04 and I want to 'remote-desktop' into it from my Windows PC. vnc4server is not working even though I confirm that the services are running on the Server PC - 'connection has been reset' on every attempt. I've attempted connects with VNC Viewer 1.3.0.5, 4.1.3.0 and Ultra VNC. Putty works great, but I also need the graphical interface. Is there a way to do this that works?