To remotely connect to Ubuntu Linux from windows, you can use either of the following methods:
1. SSH
2. Remote Desktop
The remote desktop mode is used here, mainly VNC.
The main steps are as follows:
1. Install vnc4server In ubuntu. Vnc4server-free software, which can be found from the source.
Bash code
- <Span> sudo apt-Get install vnc4server </span>
Sudo apt-Get install vnc4server
2. simple configuration: generate a passwd file,
Bash code
- <Span> vnc4passwd </span>
Vnc4passwd
Generate a passwd file under the $ home/. VNC directory.
$ Home/. VNC is a key directory of vnc4server.
3. Enable vnc4server and input the following in the Ubuntu command line:
Bash code
- <Span> vnc4server </span>
Vnc4server
You can enable vnc4server. Note: After vnc4server is started, some prompts will be given, such as the name of the current computer. Here, a message is very important, that is, the prompt information similar to "desktop: 1. Here we will use "1" for remote connection. (For example, here is "1", we should enter <Ubuntu IP address>: <default port 5900> + 1 during remote connection, that is, <Ubuntu IP address>: 5901.
4. Use UltraVNC for Ubuntu Remote Desktop Connection in Windows
UltraVNC for Windows is also a free software. UltraVNC contains the server and client, but I only installed the client.
UltraVNC download: http://ultravnc.sourceforge.net/
After UltraVNC is installed, enter the above address in the address bar to connect the Remote Desktop to Ubuntu.
From: http://neolimeng.iteye.com/blog/811472