{"id":3675,"date":"2023-11-28T11:59:21","date_gmt":"2023-11-28T11:59:21","guid":{"rendered":"https:\/\/raspberry-projects.com\/pi\/?p=3675"},"modified":"2026-02-24T13:55:29","modified_gmt":"2026-02-24T13:55:29","slug":"realvnc-connect","status":"publish","type":"post","link":"https:\/\/raspberry-projects.com\/pi\/software_utilities\/remote-access\/realvnc-connect","title":{"rendered":"RealVNC Connect"},"content":{"rendered":"\n<p>Free to locally connect, paid for service for remote access, but not painfully priced, that will let you connect to remote RPi\u2019s via the desktop without needing to configure the local router to allow incoming connections.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.realvnc.com\/en\/raspberrypi\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.realvnc.com\/en\/raspberrypi\/<\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Setup on the RPi<\/h4>\n\n\n\n<p>RealVNC Server is included with Raspberry Pi OS.<\/p>\n\n\n\n<p>Start &gt; Preferences &gt; Raspberry Pi Configuration &gt; Interfaces &gt; VNC = On<\/p>\n\n\n\n<p>You should then get the RealVNC server icon in your top bar (next to the Bluetooth icon). Open it<\/p>\n\n\n\n<p>Press the hamburger menu button (3 lines) &gt; Licencing &gt; Enter your RealVNC account username and password<\/p>\n\n\n\n<p>Press Next (Leave allow cloud and direct connections checked)<\/p>\n\n\n\n<p>Press Next (UNIX password and Encryption always on selected)<\/p>\n\n\n\n<p>Press Next (Administrators can connect selected)<\/p>\n\n\n\n<p>Enter a name for this system (how it will appear in the Real VNC portal)<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><em><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-luminous-vivid-orange-color\">RPi5 special note &#8211; see below<\/mark><\/strong><\/em><\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Running on devices without a keyboard and mouse connected<\/h5>\n\n\n\n<p>You will need to install another entropy generator such as haveged, which you can install by running this command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install haveged<\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\">Running on devices with no monitor connected<\/h5>\n\n\n\n<p>You need to set a resolution that the RPi will use when there is no monitor connected:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo raspi-config<\/code><\/pre>\n\n\n\n<p>Display options &gt; VNC resolution<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">RPi5 issue late 2023<\/h4>\n\n\n\n<p>There&#8217;s an issue with RealVNC support for the default Raspberry Pi OS currently, to be resolved &#8211; <a href=\"https:\/\/help.realvnc.com\/hc\/en-us\/articles\/14110635000221-Raspberry-Pi-5-Bookworm-and-RealVNC-Connect\" target=\"_blank\" rel=\"noreferrer noopener\">details here<\/a>.<\/p>\n\n\n\n<p>You must be running the 64bit OS (shown on the startup splash screen).<\/p>\n\n\n\n<p>First ensure that VNC is turned off in Start &gt; Preferences &gt; Raspberry Pi Configuration &gt; Interfaces<\/p>\n\n\n\n<p>On the command line run<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo raspi-config<\/code><\/pre>\n\n\n\n<p>Advanced Options &gt; Wayland &gt; Select X11 instead of the default Bookworm.<\/p>\n\n\n\n<p>After your RPi reboots you will now be able to turn on VNC and see RealVNC run\/appear.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Updating version<\/h4>\n\n\n\n<p>If you manually need to update RealVNC server on a RPi (e.g. to ensure it is running min V7.13.1 to solve locked up concurrent session state), you can do the following:<\/p>\n\n\n<p>Download RealVNC Server from: <a href=\"https:\/\/www.realvnc.com\/en\/connect\/download\/vnc\/?lai_vid=rAO8JaNQxClE9&amp;lai_sr=20-24&amp;lai_sl=l\" target=\"_blank\" rel=\"noopener\">https:\/\/www.realvnc.com\/en\/connect\/download\/vnc\/?lai_vid=rAO8JaNQxClE9&amp;lai_sr=20-24&amp;lai_sl=l<\/a><\/p>\n<p>Select arm64 for 64bit RPi OS<\/p>\n<p style=\"padding-left: 40px;\">You can confirm you are running 64bit using these on the command line:<br \/>sudo apt install lshw<br \/>sudo lshw | head -6<\/p>\n<p>Right click the downloaded &#8220;VNC-Server-7.13.1-Linux-ARM64.deb&#8221; file &gt; Package Install<\/p>\n<p style=\"padding-left: 40px;\">Alternatively you can use the below command:<br \/>sudo apt install .\/VNC-Server-7.13.1-Linux-ARM64.deb<\/p>\n<p>Once complete, reboot the RPi<\/p>\n\n\n<h4 class=\"wp-block-heading\">Changing RealVNC server identity<\/h4>\n\n\n\n<p>If you have signed into your RealVNC account on a RPi and then cloned the RPi SD card, the server identity is copied causing a clash with the RPi using the original SD card if both are used at the same time. There appears to be no feature currently in RealVNC server to get it to regenerate its server ID, or even log out of your RealVNC account. If you rename it in RealVNC viewer it will make no difference, it just changes the name shown in viewer.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Changing server identity<\/h5>\n\n\n\n<p>You&#8217;ll need to do this locally with the RPi, although you can do it over a local RealVNC connection if your RPi is headless.<\/p>\n\n\n\n<p>Get the IP address of your RPi on the local network so you&#8217;ll be able to connect to it again.<\/p>\n\n\n\n<p>Open command prompt and run this command to delete all the files RealVNC server uses as its cloud server ID (you&#8217;ll immediately loose your RealVNC connection to it):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo rm -rf \/root\/.vnc \/home\/pi\/.vnc \/etc\/vnc \/var\/lib\/realvnc &amp;&amp; sudo reboot<\/code><\/pre>\n\n\n\n<p>Wait for it to have rebooted and then connect to it again using a local RealVNC viewer connection with its IP address.<\/p>\n\n\n\n<p>You can now re-log it into your RealVNC account using RealVNC menu &gt; Licencing &gt; Next<\/p>\n\n\n\n<p>Give it your RealVNC login details and follow the steps, giving it a new name you&#8217;ll then see it as in your RealVNC viewer.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Free to locally connect, paid for service for remote access, but not painfully priced, that will let you connect to remote RPi\u2019s via the desktop without needing to configure the local router to allow incoming connections. https:\/\/www.realvnc.com\/en\/raspberrypi\/ Setup on the RPi RealVNC Server is included with Raspberry Pi OS. Start &gt; Preferences &gt; Raspberry Pi [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[189],"tags":[],"class_list":["post-3675","post","type-post","status-publish","format-standard","hentry","category-remote-access"],"_links":{"self":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/3675","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/comments?post=3675"}],"version-history":[{"count":21,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/3675\/revisions"}],"predecessor-version":[{"id":4015,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/3675\/revisions\/4015"}],"wp:attachment":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/media?parent=3675"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/categories?post=3675"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/tags?post=3675"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}