I plan to use Ubuntu to compile the android source code. Because the compilation takes a long time to remotely control my computer, I thought of installing the Remote Desktop software. The specific method is as follows:
Operations under Ubuntu
1. remote connection to Ubuntu via win7, the protocol used is RDP. You need to install this item. Open the terminal:
Sudo apt-Get install xrdp
2. Install xrdp and then:
Sudo apt-Get install vnc4server tightvncserver
4. After installation, set, Allow Remote Desktop, allow control, and so on in "preference-Remote Desktop.
In Windows:
After all the above work is done, open "Remote Desktop Connection" and fill in the "computer" column with the IP address of the Ubuntu you want to connect. In ubuntu, you can use "ifconfig" to obtain the overview of the local network connection, including the IP address. Because I use common broadband ADSL, the IP address changes every time I restart a computer or router. In order to be able to connect to my computer on the internet, I thought of using a peanut shell, for detailed installation process, see ubuntu10.10 installation of peanut shells
Enter the correct IP address or the domain name provided by the peanut shell. Press enter to display a login box. Select "sessman-xvnc" and enter your Ubuntu user name and password. OK!
Note:
If you use this method to connect to Ubuntu, the default shortcut keys may conflict. Open System -- preferences -- keyboard shortcut key and modify the default shortcut.