There would be two parts. The first one is to connect Ubuntu in Windows; the second part is to connect Windows in Ubuntu.
- Connect Ubuntu in Windows
One way is to use vnc4server in Ubuntu side, and UltraVNC in windows side. In this way, you have to deal with two things: one is the “cannot type d because of the default keyboard shortcuts in Ubuntu”, the other one is the Terminator (my favorite terminal) cannot run well. And another thing is that you should adjust the screen resolution by yourself.
The other way is to use xrdp in Ubuntu side, and remote desktop client in windows side. I love this way because there is less error. (HIGHLY RECOMMENDED)
sudo apt-get install xrdp
- Connect Windows in Ubuntu
- Tricky Things
Cannot type “d” with the remote console
- Go to System -> Preferences -> Keyboard Shortcuts;
- Select the row
Hide all normal windows and set focus to the desktop;
Alt+Dor any other combination;
- Kill your current vncserver connection by
vncserver -kill :1;
- Restart it by
- Re-connect it from your VNC client.
1 Connect to Ubuntu via Windows Remote Desktop http://www.liberiangeek.net/2010/11/connect-ubuntu-10-10-maverick-meerkat-windows-remote-desktop/