How do I remotely control another desktop (both are Ubuntu 12.04) from my client machine?
Is it possible to use Remmina Remote Desktop Client?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
First, you need to allow the compter you want to remotely control to be controlled. Launch Remote Control Preferences, and allow Ubuntu to be remotely controlled. You can also set a password if you want. You can now control that computer remotely from another Ubuntu computer. Make sure to choose the VNC protocol when connecting to the computer. If you would like to control Windows 7 from Ubuntu, you need to choose the RDP protocol (You will need to have remote control allowed on the Windows 7 computer).
You need to change some settings on your host machine (to enable desktop control) and create a Remote Desktop Client profile on your client machine in order to connect to the host machine and ultimately view and control the host machine's desktop.
And yes, it is possible to use Remmina Remote Desktop Client on your client machine.
Do the following on the host machine:
vino-preferencesalso in Dash under
Allow other users to view your desktop
Allow other users to control your desktop
Require the user to enter this password
Do the following on the client machine:
Remmina Remote Desktop Client
Ctrl+N or Connection > New
On the client machine, when asked for the VNC password, enter the passphrase you previously entered into the host machine.
If successful at this step, you should now be viewing and controlling the host machine's desktop from your client machine.
Some machines will ask whether you want to allow connections on the server, during the client connection, live, such that if you don't actually see it happening, it might not work.
Secondly, if you plan to connect Ubuntu and Windows 7 machines, you must select the RDP option, otherwise, eg, Ubuntu to Ubuntu connections will use VNC.
Finally, depending on how your network is set up, you might have to use host names, IPs or FQDNs. Check them all before freaking out, as this will save you some time.
As an added bonus, there is also a trick to connect remote desktop connections behind networks where port forwards are needed to connect to machines behind the entry point. For example, if you have an access point of host.domain.com and it connects to a server on the network, you can set up a port forward using SSH, and then specify the RDP or VNC post like so (in putty for RDP on WIndows 7, this would be the example):
Source: 8585 (or whatever port you want) Destination: 192.168.x.x:3389 (where x.x is your network)
Then, when using RDC in Windows, for example, you would use localhost:8585 as the server name and voila. This can work on Linux too, with a command like:
ssh -i /path/to/key -L 8585:192.168.x.x:3389 email@example.com