Teamviewer is a desktop sharing and remote control application, users can remotely control the desktop of the connected computer.
Follow these steps to install it on Ubuntu Linux.
1. Download teamviewer .deb file
2. Install teamviewer using dpkg
sudo dpkg -i teamviewer*.deb
3. Install the dependencies
sudo apt-get -f install
Open up Teamviewer by searching the same in the dashboard.
or, similarly give your Id and Password to the other computer, you want that computer to control your desktop.