We already wrote earlier about using the iPhone as a remote desktop. I, as a person who is little versed in these issues, will present this topic from this point of view: how to quickly, effortlessly manage a Mac’s iPhone. The question remains, of course, why this is necessary. precisely, why remote control from the phone over the local network, because access to your computer via the Internet does not raise questions. As always, I will be guided by the principle "If there is one, then it is necessary."
The connection will be based on VNC. “Virtual Network Computing (VNC). virtual network computing using the RFB (Remote FrameBuffer) protocol. Management is carried out by transmitting keystrokes on the keyboard and mouse movements from one computer to another and relaying the contents of the screen through a computer network.
The VNC system is platform independent: a VNC client, called a VNC viewer, running on one operating system, can connect to a VNC server running on any other OS. There are client and server implementations for almost all operating systems, including Java (including the J2ME mobile platform). Multiple clients can connect to one VNC server at the same time. The most popular ways to use VNC are remote technical support and access to a working computer from home ”(Wikipedia).
The fact is that there is already a VNC server in Mac OS. True, I once set OSXvnc-server to work with a PC. I don’t know whose merit, native or third-party, but everything works fine. You can read more about the reasons for this step in the article How to take a picture of the login window.
Common screen on a local Wi-Fi network
So, step 1: in the System Settings, activate the General Screen option.
Be sure to go to Computer Settings and set a password. You never know.
Step 2: Install VNC Client for iPhone. I settled on Mocha VNC Lite. For the test, I did not need more.
Open the program, create a new connection and enter the Mac’s internal IP, which can be seen immediately after activating the Common screen. If necessary, make additional settings (for example, set a password).
Screen resolution is better to do a little less than the maximum. The iPhone does not have enough memory to display this resolution, and the program can simply complete its work.
I had no crash and it worked the first time.
By the way, I read somewhere that the program works successfully on devices without jailbreaking.
Remote control via the Internet
It’s not so simple here. Each modem, whether wired or wireless, has its own settings. To access from the network, the computer will have an external IP in addition to the internal IP. The main configuration you will have to do is redirect all incoming external IP connections through port 5900 to the internal one. Go into the settings of your modem and find something like Port Forwarding, configure all the traffic on port 5900 and route it to the internal IP. I had to rummage through the settings of my D-Link. If everything is done correctly, you will have access to the computer from anywhere in the global network. The main thing is not to forget to turn it on;).