Virtual Network Computing is the obvious option when you work with Linux platforms. In short, it’s called VNC. It’s a cross-platform remote desktop technology which can be used on most operating systems. There is a verity of products available on the market. Few products are free and few are commercial. But, most of the new Raspberry Pi distributions comes with ReavVNC which supports cloud-based connections right in. This allows you to connect Pi not only within the network but also over the internet. RealVNC gives users the freedom to connect from anywhere. This flexibility makes this option more prominent than others. Let’s see how to set up VNC on the Raspberry Pi.
Note: VNC runs on the port 5900. You should open this port on all the middle devices to work the communication from your PC to the Raspberry Pi.
- Make sure VNC is enabled on the Pi. to ensure that, go to main menu -> preferences -> Raspberry Pi configuration as shone here. And, go to interfaces tab there you can enable the VNC and hit OK.
If you you see problem in enabling the VNC on your Pi, then you may need to install the RealVNC from the repositories.
Time needed: 5 minutes.
Install the RealVNC on Raspberry Pi
- Update the system repositories:
Open the terminal if you have direct access. Or, take a SSH session to the Raspberry Pi CLI.
$ sudo apt-get update && apt-get upgrade - Install the RealVNC server:
$ sudo apt-get install realvnc-vnc-server
- Enable VNC server:
$ sudo raspi-config
Got to Interfacing options
Select VNC
Answer Yes
Select Finish to quit (or ESC)
Connect from Windows client: Visit the RealVNC “https://www.realvnc.com/en/connect/download/viewer/” site and download the client for your operating system and install. Once it’s done, fire up the VNC viewer and enter the Raspberry PI IP address and hit enter. You are going to see a warning message like this.
Select ‘Continue’. this prompt username and password. In a movement you are going to see the full size GUI desktop.
Note: You ended up in some sort of problem if you unplug the monitor, mouse and keyboard from the Pi and try accessing its GUI desktop over VNC
$ sudo raspi-config
Choose Advanced Options.
Set the resolution as per your screen size. We recommend to set DMT Mode 82 1920 X 1080 69 Hz 16:9.
As we said earlier, it is possible to connect Raspberry Pi over the internet. You need not be part of the network to which Raspberry Pi has connected. To access Pi over the internet, you should create an account on the VNC cloud and sign into it.
Open the VNC application on the Pi and click in the Sign in link.
Create your own account here or just sign in if you have already.
Note: You are allowed to connect only 5 computers in the free account. You have payed account options as well if you want to add more than 5 computers.
Upon setting up these configurations on VNC you can sign in to your cloud account and connect the Pi over the internet. That’s all. This ends how to set up VNC on the Raspberry Pi.
Thank you for reading this article. Please visit the below links to read more such interesting articles. Peace leave your comments here below and let us know your feedback. This helps us to bring more such articles.
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/269916.html