{"id":13086,"date":"2025-02-13T06:20:54","date_gmt":"2025-02-13T04:20:54","guid":{"rendered":"https:\/\/raspberrytips.com\/?p=13086"},"modified":"2026-04-10T00:47:10","modified_gmt":"2026-04-09T22:47:10","slug":"use-vnc-raspberry-pi","status":"publish","type":"post","link":"https:\/\/raspberrytips.com\/use-vnc-raspberry-pi\/","title":{"rendered":"Getting Started With VNC on Raspberry Pi (Trixie  Update)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">VNC is a tool that allows you to get remote desktop access from another computer. On Raspberry Pi, using VNC is one of the easiest ways to get remote control. If you use Raspberry Pi OS, VNC is preinstalled so you only have to enable it to get started. Let&#8217;s see how to use it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>The first step is to enable VNC on Raspberry Pi OS (via the Control Centre or <em>raspi-config<\/em>). Next, install a VNC client on another device, and type the IP address of the Raspberry Pi to connect to it.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But don&#8217;t worry, I&#8217;ll explain all these steps in detail, so you won&#8217;t fail. You are in the right place &#8211; just keep reading to learn everything about VNC on Raspberry Pi.<\/p>\n\n\n<style>.kb-table-of-content-nav.kb-table-of-content-id19563_c031ec-35 .kb-table-of-content-wrap{padding-top:var(--global-kb-spacing-sm, 1.5rem);padding-right:var(--global-kb-spacing-sm, 1.5rem);padding-bottom:var(--global-kb-spacing-sm, 1.5rem);padding-left:var(--global-kb-spacing-sm, 1.5rem);background-color:var(--global-palette7, #EDF2F7);box-shadow:0px 0px 14px 0px rgba(0, 0, 0, 0.2);}.kb-table-of-content-nav.kb-table-of-content-id19563_c031ec-35 .kb-table-of-contents-title-wrap{padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;}.kb-table-of-content-nav.kb-table-of-content-id19563_c031ec-35 .kb-table-of-contents-title{font-weight:regular;font-style:normal;}.kb-table-of-content-nav.kb-table-of-content-id19563_c031ec-35 .kb-table-of-content-wrap .kb-table-of-content-list{font-size:var(--global-kb-font-size-sm, 0.9rem);font-weight:regular;font-style:normal;margin-top:var(--global-kb-spacing-sm, 1.5rem);margin-right:0px;margin-bottom:0px;margin-left:0px;}.kb-table-of-content-nav.kb-table-of-content-id19563_c031ec-35 .kb-toggle-icon-style-basiccircle .kb-table-of-contents-icon-trigger:after, .kb-table-of-content-nav.kb-table-of-content-id19563_c031ec-35 .kb-toggle-icon-style-basiccircle .kb-table-of-contents-icon-trigger:before, .kb-table-of-content-nav.kb-table-of-content-id19563_c031ec-35 .kb-toggle-icon-style-arrowcircle .kb-table-of-contents-icon-trigger:after, .kb-table-of-content-nav.kb-table-of-content-id19563_c031ec-35 .kb-toggle-icon-style-arrowcircle .kb-table-of-contents-icon-trigger:before, .kb-table-of-content-nav.kb-table-of-content-id19563_c031ec-35 .kb-toggle-icon-style-xclosecircle .kb-table-of-contents-icon-trigger:after, .kb-table-of-content-nav.kb-table-of-content-id19563_c031ec-35 .kb-toggle-icon-style-xclosecircle .kb-table-of-contents-icon-trigger:before{background-color:var(--global-palette7, #EDF2F7);}<\/style>\n\n<p class='ml_begpost' id='ml_begpost_commands'>If you&#8217;re new to Raspberry Pi or Linux, I\u2019ve got something that can help you right away! <br \/><a rel='noopener' href='https:\/\/raspberrytips.com\/downloads\/?source=begpost&#038;lm=4' target='_blank'>Download my free Linux commands cheat sheet<\/a> \u2013 it\u2019s a quick reference guide with all the essential commands you\u2019ll need to get things done on your Raspberry Pi. <a rel='noopener' href='https:\/\/raspberrytips.com\/downloads\/?source=begpost&#038;lm=4' target='_blank'><b>Click here to get it for free!<\/b><\/a><\/p>\n\n\n<h2 class=\"wp-block-heading\">Enable the VNC Server on Raspberry Pi<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Depending on the operating system and version you use, enabling VNC on your Raspberry Pi might be slightly different. Let&#8217;s start by making sure it&#8217;s enabled on your system.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">On Raspberry Pi OS<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you have Raspberry Pi OS installed on your Pi, it will be straightforward, as VNC is pre-installed on any version. It&#8217;s disabled by default, for security reasons, so all you have to do is enable the VNC server to use it.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">From the Desktop Environment<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">If you can get access to the desktop environment of your Raspberry Pi, here are the steps to enable the VNC server:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Open the Pi menu.<\/strong><\/li>\n\n\n\n<li>Go to <strong>Preferences > Control Centre<\/strong>.<\/li>\n\n\n\n<li>In the <strong>Interfaces <\/strong>tab, <strong>enable VNC<\/strong>:<br><img decoding=\"async\" src=\"https:\/\/raspberrytips.com\/wp-content\/uploads\/2024\/08\/trixie_vnc_enable.jpg\" alt=\"\"><\/li>\n\n\n\n<li>The interface can be slightly different depending on your version, but basically, it&#8217;s just a checkbox to enable it.<\/li>\n\n\n\n<li>Once done, <strong>close the Control Centre to apply the changes<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">A few seconds later, VNC server is enabled, and you can move to the next part to install a VNC client on your computer.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">From the Command Line with raspi-config<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">If you don&#8217;t have access to a graphical interface (for example if <a href=\"https:\/\/raspberrytips.com\/ssh-guide-raspberry-pi\/\" data-type=\"post\" data-id=\"10748\">you&#8217;re using SSH<\/a>, or don&#8217;t have a keyboard\/mouse on the Pi), you can use the <a href=\"https:\/\/raspberrytips.com\/raspi-config-guide\/\">Raspberry Pi Software Configuration Tool<\/a> instead:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Open a session on the Raspberry Pi, and get to the command line.<br><\/strong>You can also use the terminal app on the desktop if you want, even if there is no real reason to do this instead of the previous method.<\/li>\n\n\n\n<li><strong>Launch the Raspberry Pi Software Configuration Tool:<br><\/strong><code>sudo raspi-config<\/code><\/li>\n\n\n\n<li><strong>Go to the &#8216;Interfaces&#8217; section and choose &#8216;VNC&#8217;:<\/strong><br><img loading=\"lazy\" decoding=\"async\" width=\"1283\" height=\"390\" class=\"wp-image-20686\" style=\"\" src=\"https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/10\/vnc-raspi-config-bookworm.jpg\" alt=\"raspi-config enable VNC\" srcset=\"https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/10\/vnc-raspi-config-bookworm.jpg 1283w, https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/10\/vnc-raspi-config-bookworm-300x91.jpg 300w, https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/10\/vnc-raspi-config-bookworm-1024x311.jpg 1024w, https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/10\/vnc-raspi-config-bookworm-768x233.jpg 768w\" sizes=\"auto, (max-width: 1283px) 100vw, 1283px\" \/><\/li>\n\n\n\n<li>Confirm that you want to enable it.<\/li>\n\n\n\n<li>Quit <em>raspi-config<\/em> to apply your changes.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">After doing this, VNC is enabled right away, and you can start using it (scroll to the VNC client installation part of this tutorial).<\/p>\n\n\n\n<p class=\"has-background wp-block-paragraph\" style=\"background-color:#c71e4b5e\"><strong>Note<\/strong>: Want to see how to remote control your Pi with VNC, TeamViewer, or other options? I have a video lesson on this topic just for community members. <a href=\"https:\/\/raspberrytips.com\/school\/community\/?coupon=IP25CTY&amp;utm_source=raspberrytips&amp;utm_medium=website&amp;utm_campaign=inpost\">Join here to watch<\/a>, and get access to 30+ other lessons for Raspberry Pi!<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">On Other Systems<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Just a quick word about other Linux systems. Your Raspberry Pi can run on many alternatives to Raspberry Pi OS (<a href=\"https:\/\/raspberrytips.com\/best-os-for-raspberry-pi\/\" data-type=\"post\" data-id=\"486\">check my favorites here<\/a>). It&#8217;s possible to use VNC on almost all of these distributions, but the procedure is not as straightforward.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>While many VNC tools are available for free, not all of them are. What I recommend is to use the package manager on your distribution and search for any VNC package included in the default repository. <\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Something like:<br><code>sudo apt search vnc<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you can find a server package for VNC, use the same app on your computer.  For example, on Ubuntu and Manjaro, you can easily <a href=\"https:\/\/www.tightvnc.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">install TightVNC on the Raspberry Pi<\/a> and install TightVNC viewer on your computer to access it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a rel=\"noreferrer noopener\" href=\"https:\/\/tigervnc.org\/\" target=\"_blank\">TigerVNC<\/a> is another alternative you can try, especially for Red Hat and Arch-based distributions. As we&#8217;ll use it for Raspberry Pi OS, it might be a good idea to install this version too, so you can follow along in the next part.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The protocol and apps are similar, but they are generally not compatible with one another. So make sure to use the same client as your server in the next steps.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">By the way, even if the Raspberry Pi doesn&#8217;t run on Raspberry Pi OS, it&#8217;s often possible to install TigerVNC on it anyway, like on Ubuntu: <a href=\"https:\/\/raspberrytips.com\/tigervnc-server-on-ubuntu\/\" data-type=\"post\" data-id=\"22536\">Setting Up TigerVNC Server on Ubuntu: A Beginner\u2019s Tutorial<\/a>.<\/p>\n\n\n\r\n\t\t<!-- wp:paragraph -->\r\n\t<p  id=\"inpost_lm_linux_commands\"><b>Tip: <\/b> Command lines can be a pain to memorize. I put the essential Linux commands on a printable cheat sheet so you don't have to keep googling them.\u00a0You can <a rel=\"noreferrer noopener\" href=\"https:\/\/raspberrytips.com\/downloads\/?source=rb_linux&lm=4\" target=\"_blank\">grab the PDF here<\/a> if you want to save some time.<\/p>\r\n\t<!-- \/wp:paragraph -->\r\n\t\t\n\n\n<h2 class=\"wp-block-heading\">Install the VNC Client on Your Computer<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once the server part is installed and enabled on your Raspberry Pi, we can next switch to your PC. We just need to install the VNC viewer app to remote access the Raspberry Pi from there.<\/p>\n\n\n\n<p class=\"has-theme-palette-7-background-color has-background wp-block-paragraph\"><strong>Note<\/strong>: I&#8217;m giving you the instructions for TigerVNC, that seems the best option right now with the latest releases of Raspberry Pi OS. Just know that you can now also use the RealVNC client for free. <br><br>Or if you installed a specific VNC server instead, it&#8217;s easier to use the client from the same software (like TightVNC).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That said, let&#8217;s install TigerVNC on your computer.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Linux Installation<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you&#8217;re lucky, TigerVNC might be available in your package manager or application store. You should probably start there.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, on Ubuntu, it&#8217;s available in the Ubuntu Software app:<br><img loading=\"lazy\" decoding=\"async\" width=\"891\" height=\"243\" class=\"wp-image-20690\" style=\"\" src=\"https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/10\/ubuntu-tiger.jpg\" alt=\"ubuntu tigervnc search\" srcset=\"https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/10\/ubuntu-tiger.jpg 891w, https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/10\/ubuntu-tiger-300x82.jpg 300w, https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/10\/ubuntu-tiger-768x209.jpg 768w\" sizes=\"auto, (max-width: 891px) 100vw, 891px\" \/><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And on Debian, you should find it with APT:<br><img loading=\"lazy\" decoding=\"async\" width=\"966\" height=\"107\" class=\"wp-image-20689\" style=\"\" src=\"https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/10\/tiger-vnc-debian-apt.jpg\" alt=\"debian tigervnc install from command line\" srcset=\"https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/10\/tiger-vnc-debian-apt.jpg 966w, https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/10\/tiger-vnc-debian-apt-300x33.jpg 300w, https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/10\/tiger-vnc-debian-apt-768x85.jpg 768w\" sizes=\"auto, (max-width: 966px) 100vw, 966px\" \/><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In these cases, simply install the TigerVNC viewer like any other app, and you&#8217;ll be ready to go.<br>So, for example:<br><code>sudo apt install tigervnc-viewer<\/code><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Windows &amp; Other Systems<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">On Windows, it&#8217;s a bit less intuitive. The official website is not that user-friendly, and we can easily get lost in the SourceForge folders.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here are the steps to install TigerVNC binaries manually:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go directly to the <a href=\"https:\/\/sourceforge.net\/projects\/tigervnc\/files\/stable\/\" data-type=\"link\" data-id=\"https:\/\/sourceforge.net\/projects\/tigervnc\/files\/stable\/\" target=\"_blank\" rel=\"noreferrer noopener\">SourceForge project here<\/a>.<\/li>\n\n\n\n<li><strong>Find the latest version available and click on it:<\/strong><br><img decoding=\"async\" src=\"https:\/\/raspberrytips.com\/wp-content\/uploads\/2025\/02\/tigervnc_download_version.jpg\" alt=\"\"><\/li>\n\n\n\n<li><strong>Now click on the file corresponding to your system and architecture.<br><\/strong>For example, I downloaded &#8220;tigervnc64-&lt;version>.exe&#8221;.<br><img decoding=\"async\" src=\"https:\/\/raspberrytips.com\/wp-content\/uploads\/2025\/02\/tigervnc_download_windows.jpg\" alt=\"\"><br>Several files are listed. You have the 32 and 64 bit versions, and then the ones with &#8220;winvnc&#8221; in the name are servers, adding the ability to take control of your PC.<br>If you just want to access the Raspberry Pi only, download the one named &#8220;tigervnc64-&lt;version>.exe&#8221;.<\/li>\n\n\n\n<li>Once the file downloaded, <strong>double-click on it to install it<\/strong> or start it, like any other executable.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s see how to use this now that the prerequisites are installed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Use VNC to Control Raspberry Pi Remotely<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once the VNC viewer is installed on your computer, you can enter the IP address of the Raspberry Pi, type your login and password and get access to the full interface remotely.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s learn how to do this.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Find the Raspberry Pi IP Address<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Before anything else, you need the Raspberry Pi IP address.<br>If you don&#8217;t know what I&#8217;m talking about, <a href=\"https:\/\/raspberrytips.com\/find-current-ip-raspberry-pi\/\" data-type=\"post\" data-id=\"96\">I recommend reading this article first<\/a>, where I explain everything and different methods to find it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But the short version is that you can hover the network icon in the top-right corner, or use the following command to get it:<br><code>ip a<\/code><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"456\" src=\"https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/06\/armbian-ip-1024x456.jpg\" alt=\"find ip address raspberry pi\" class=\"wp-image-11716\" srcset=\"https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/06\/armbian-ip-1024x456.jpg 1024w, https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/06\/armbian-ip-300x134.jpg 300w, https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/06\/armbian-ip-768x342.jpg 768w, https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/06\/armbian-ip-1536x684.jpg 1536w, https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/06\/armbian-ip.jpg 1558w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">The format of the IP address is something like <em>AAA.BBB.CCC.DDD<\/em>. On my screenshot, it&#8217;s <em>192.168.222.8<\/em> for example.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Create a New Connection<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You can then open the VNC viewer to create a new connection.<br>The interface will be slightly different depending on your operating system (and the VNC client you use), but basically, the steps are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Open your VNC viewer application.<\/strong><\/li>\n\n\n\n<li><strong>Create a new connection by typing the Raspberry Pi IP address.<br><\/strong><img loading=\"lazy\" decoding=\"async\" width=\"472\" height=\"198\" class=\"wp-image-20695\" style=\"\" src=\"https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/10\/tiger-connect.jpg\" alt=\"vnc viewer enter new connection\" srcset=\"https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/10\/tiger-connect.jpg 472w, https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/10\/tiger-connect-300x126.jpg 300w\" sizes=\"auto, (max-width: 472px) 100vw, 472px\" \/><br>You can play with the &#8220;Options&#8221; section if needed, but in most cases the default are just fine.<\/li>\n\n\n\n<li><strong>Click on &#8220;Connect&#8221; to start the connection<\/strong><\/li>\n\n\n\n<li><strong>Click &#8220;Yes&#8221; to accept the server fingerprint on the first connection<\/strong><\/li>\n\n\n\n<li>Then enter the username and password to access the current session:<br><img loading=\"lazy\" decoding=\"async\" width=\"485\" height=\"255\" class=\"wp-image-20696\" style=\"\" src=\"https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/10\/tiger-password.jpg\" alt=\"tigervnc authentication\" srcset=\"https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/10\/tiger-password.jpg 485w, https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/10\/tiger-password-300x158.jpg 300w\" sizes=\"auto, (max-width: 485px) 100vw, 485px\" \/><br>It&#8217;s the Raspberry Pi user and password, so it depends on your settings.<\/li>\n\n\n\n<li>You should then get access to the full interface of the Raspberry Pi:<br><img decoding=\"async\" src=\"https:\/\/raspberrytips.com\/wp-content\/uploads\/2024\/08\/trixie_vnc_windows-1024x476.jpg\" alt=\"\"><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">And that&#8217;s it. After that, you&#8217;ll get access to the <a href=\"https:\/\/raspberrytips.com\/best-desktop-environment\/\">full desktop environment<\/a> of your Raspberry Pi, and can do whatever you want from the comfort of your main computer.<br>Check the following part if you experience any issues, I answer the most common questions.<\/p>\n\n\n\n<p class=\"has-theme-palette-7-background-color has-background wp-block-paragraph\"><strong>Note<\/strong>: On older releases of Raspberry Pi OS, you might get an error related to the ZRLE compression, and get disconnected quickly. You can avoid it by disabling the compression in the settings, using &#8220;Raw&#8221; for example (see related question below).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Related Questions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">How to fix the error: &#8220;Exception on worker thread: ZRLE decode error&#8221;?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>This error only happens on older releases of Raspberry Pi OS (&#8220;Bullseye&#8221; for example), and a workaround is to disable the compression in the connection options.<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"644\" height=\"224\" src=\"https:\/\/raspberrytips.com\/wp-content\/uploads\/2023\/10\/zrle-error.jpg\" alt=\"zrle decode error vnc\" class=\"wp-image-20704\" srcset=\"https:\/\/raspberrytips.com\/wp-content\/uploads\/2023\/10\/zrle-error.jpg 644w, https:\/\/raspberrytips.com\/wp-content\/uploads\/2023\/10\/zrle-error-300x104.jpg 300w\" sizes=\"auto, (max-width: 644px) 100vw, 644px\" \/><\/figure>\n<\/div>\n\n\n<ul class=\"wp-block-list\">\n<li>Click on <strong>Options<\/strong> below the IP address field.<\/li>\n\n\n\n<li>In the <strong>Compression<\/strong> tab, uncheck <strong>Auto-select<\/strong> and select <strong>Raw<\/strong> instead.<br><img loading=\"lazy\" decoding=\"async\" width=\"608\" height=\"233\" class=\"wp-image-20705\" style=\"\" src=\"https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/10\/zrle-error-fix.jpg\" alt=\"vnc compression encoding\" srcset=\"https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/10\/zrle-error-fix.jpg 608w, https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/10\/zrle-error-fix-300x115.jpg 300w\" sizes=\"auto, (max-width: 608px) 100vw, 608px\" \/><\/li>\n\n\n\n<li>Click on <strong>Ok<\/strong> to save the changes, and try again.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">It should work fine after that.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What&#8217;s the default username and password for VNC?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The username and password for a VNC connection are the same as for a desktop connection. On an old Raspberry Pi OS version, it might be &#8220;pi&#8221; and &#8220;raspberry&#8221; for example. These days, it would more likely be the user you created on the first boot.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If needed, you can check my other tutorials on <a href=\"https:\/\/raspberrytips.com\/forgot-raspberry-pi-password\/\" data-type=\"post\" data-id=\"12001\">how to recover a lost password<\/a>, or <a href=\"https:\/\/raspberrytips.com\/new-user-on-raspberry-pi\/\" data-type=\"post\" data-id=\"3322\">how to create new users on Raspberry Pi<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How to fix the error: &#8220;Cannot currently show the desktop&#8221; with VNC?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Raspberry Pi OS used to not start the desktop environment if there was no <a href=\"https:\/\/raspberrytips.com\/connect-raspberry-pi-monitor\/\">HDMI cable<\/a> plugged into the Raspberry Pi. If you boot without plugging one and try to access it via VNC, you may get this error: &#8220;Cannot currently show the desktop.&#8221;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"299\" height=\"199\" src=\"https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/09\/error-vnc.jpg\" alt=\"vnc cannot show desktop error\" class=\"wp-image-13100\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>To fix this, keep a monitor plugged in all the time, or start VNC manually via SSH with:<br><\/strong><code>vncserver<\/code><br>You may need to specify a different port after that, for example: IP_ADDRESS:1 instead of IP_ADDRESS.<br>The port is mentioned in the command output:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"392\" height=\"46\" src=\"https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/09\/new-vnc-started.jpg\" alt=\"vnc monitor display which one\" class=\"wp-image-13102\" srcset=\"https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/09\/new-vnc-started.jpg 392w, https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/09\/new-vnc-started-300x35.jpg 300w\" sizes=\"auto, (max-width: 392px) 100vw, 392px\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">How to change the default resolution in VNC?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">When a monitor is plugged in, the VNC server will start with the corresponding resolution. But it&#8217;s not always ideal, especially if you have a small screen on it, but a bigger screen on your computer.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>To fix this, you can go to the system configuration and change the &#8220;Headless resolution&#8221; in the &#8220;Display&#8221; tab. You have the same thing in raspi-config, under &#8220;Display options&#8221; &gt; &#8220;VNC resolution&#8221;.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Another thing you can try is to change the options on the VNC viewer. In the advanced settings for the connection, there is a list where you can choose to adjust the resolution to the window or use a percentage (scaling).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"541\" height=\"221\" src=\"https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/09\/scaling-vnc.jpg\" alt=\"vnc scaling display options\" class=\"wp-image-13103\" srcset=\"https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/09\/scaling-vnc.jpg 541w, https:\/\/raspberrytips.com\/wp-content\/uploads\/2022\/09\/scaling-vnc-300x123.jpg 300w\" sizes=\"auto, (max-width: 541px) 100vw, 541px\" \/><\/figure>\n<\/div>\n\n<section id=\"end-block-pi\">\r\n<div class=\"rt-community-card \">\r\n\t<div class=\"rt-community-card__inner\">\r\n\r\n\t\t<div class=\"rt-community-card__main\">\r\n\t\t\t<h3 class=\"rt-community-card__headline\">\r\n\t\t\t\tNot getting the same result?\t\t\t<\/h3>\r\n\r\n\t\t\t<p class=\"rt-community-card__description\">\r\n\t\t\t\tEven when you follow every step, small differences in OS version, hardware or config can change the outcome. Instead of wasting time guessing, get help from people who have already fixed the same kind of issue.\t\t\t<\/p>\r\n\r\n\t\t\t<div class=\"rt-community-card__actions\">\r\n\t\t\t\t<a class=\"rt-community-card__button\" href=\"https:\/\/raspberrytips.com\/school\/community\/?coupon=EBCTY\">\r\n\t\t\t\t\t<span>Ask your question now<\/span>\r\n\t\t\t\t\t<span class=\"rt-community-card__button-arrow\">\u2192<\/span>\r\n\t\t\t\t<\/a>\r\n\r\n\t\t\t\t\t\t\t\t\t<div class=\"rt-community-card__small\">\r\n\t\t\t\t\t\t<span class=\"rt-community-card__small-lock\">\ud83d\udd12<\/span>\r\n\t\t\t\t\t\tNo risk. Cancel anytime.\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t\t<\/div>\r\n\t\t<\/div>\r\n\r\n\t\t\t\t\t<div class=\"rt-community-card__side\">\r\n\t\t\t\t<ul class=\"rt-community-card__benefits\">\r\n\t\t\t\t\t\t\t\t\t\t\t<li>Get help on your exact issue<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t<li>Access step-by-step videos for tricky setups<\/li>\r\n\t\t\t\t\t\t\t\t\t\t\t<li>Browse the website without ads<\/li>\r\n\t\t\t\t\t\t\t\t\t<\/ul>\r\n\t\t\t<\/div>\r\n\t\t\r\n\t<\/div>\r\n<\/div>\r\n<\/section>\r\n\r\n<style>\r\n.rt-community-card {\r\n\t--rt-bg: #f7f7f9;\r\n\t--rt-border: #e4e4e8;\r\n\t--rt-text: #15171b;\r\n\t--rt-muted: #5b6270;\r\n\t--rt-accent: #C61E4A;\r\n\t--rt-accent-hover: #aa183f;\r\n\t--rt-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);\r\n\r\n\tmargin: 36px 0;\r\n\tcolor: var(--rt-text);\r\n\tfont-family: inherit;\r\n}\r\n\r\n.rt-community-card__inner {\r\n\tdisplay: grid;\r\n\tgrid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.95fr);\r\n\tgap: 34px;\r\n\talign-items: start;\r\n\tbackground: var(--rt-bg);\r\n\tborder: 1px solid var(--rt-border);\r\n\tborder-radius: 22px;\r\n\tpadding: 34px 36px;\r\n\tbox-shadow: var(--rt-shadow);\r\n}\r\n\r\n.rt-community-card__main {\r\n\tmin-width: 0;\r\n}\r\n\r\n.rt-community-card__side {\r\n\tborder-left: 1px solid #e1e1e6;\r\n\tpadding-left: 28px;\r\n}\r\n\r\n.rt-community-card__benefits {\r\n\tmargin: 6px 0 0;\r\n\tpadding: 0;\r\n\tlist-style: none;\r\n\tdisplay: grid;\r\n\tgap: 18px;\r\n}\r\n\r\n.rt-community-card__benefits li {\r\n\tposition: relative;\r\n\tpadding-left: 18px;\r\n\tfont-size: 18px;\r\n\tline-height: 1.55;\r\n\tcolor: var(--rt-text);\r\n}\r\n\r\n.rt-community-card__benefits li::before {\r\n\tcontent: \"\";\r\n\tposition: absolute;\r\n\tleft: 0;\r\n\ttop: 0.72em;\r\n\twidth: 7px;\r\n\theight: 7px;\r\n\tborder-radius: 999px;\r\n\tbackground: var(--rt-accent);\r\n\ttransform: translateY(-50%);\r\n}\r\n\r\n.rt-community-card__actions {\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\talign-items: flex-start;\r\n\tgap: 10px;\r\n\tmargin-top: 30px;\r\n}\r\n\r\n.rt-community-card__button {\r\n\tdisplay: inline-flex;\r\n\talign-items: center;\r\n\tjustify-content: center;\r\n\tgap: 10px;\r\n\tmin-height: 60px;\r\n\tpadding: 0 28px;\r\n\tborder-radius: 14px;\r\n\tbackground: var(--rt-accent);\r\n\tcolor: #fff !important;\r\n\ttext-decoration: none !important;\r\n\tfont-size: 21px;\r\n\tfont-weight: 700;\r\n\tline-height: 1;\r\n\tbox-shadow: 0 12px 22px rgba(198, 30, 74, 0.22);\r\n\ttransition: background .2s ease, transform .2s ease, box-shadow .2s ease;\r\n}\r\n\r\n.rt-community-card__button:hover {\r\n\tbackground: var(--rt-accent-hover);\r\n\tcolor: #fff !important;\r\n\ttransform: translateY(-1px);\r\n\tbox-shadow: 0 14px 26px rgba(198, 30, 74, 0.28);\r\n}\r\n\r\n.rt-community-card__button-arrow {\r\n\tfont-size: 20px;\r\n\tline-height: 1;\r\n}\r\n\r\n.rt-community-card__small {\r\n\tfont-size: 15px;\r\n\tline-height: 1.5;\r\n\tcolor: #6a717d;\r\n\tpadding-left: 2px;\r\n}\r\n\r\n.rt-community-card__small-lock {\r\n\tmargin-right: 6px;\r\n\tfont-size: 14px;\r\n\tvertical-align: baseline;\r\n}\r\n\r\n\/* Tablet *\/\r\n@media (max-width: 900px) {\r\n\t.rt-community-card {\r\n\t\tmargin: 28px 0;\r\n\t}\r\n\r\n\t.rt-community-card__inner {\r\n\t\tgrid-template-columns: 1fr;\r\n\t\tgap: 24px;\r\n\t\tpadding: 28px 24px;\r\n\t}\r\n\r\n\t.rt-community-card__side {\r\n\t\tborder-left: 0;\r\n\t\tborder-top: 1px solid #e1e1e6;\r\n\t\tpadding-left: 0;\r\n\t\tpadding-top: 22px;\r\n\t}\r\n\r\n\t.rt-community-card__benefits {\r\n\t\tgrid-template-columns: 1fr;\r\n\t\tgap: 12px;\r\n\t}\r\n}\r\n\r\n\/* Mobile *\/\r\n@media (max-width: 640px) {\r\n\t.rt-community-card__inner {\r\n\t\tpadding: 22px 18px;\r\n\t\tborder-radius: 18px;\r\n\t\tgap: 20px;\r\n\t}\r\n\t\r\n\t.rt-community-card__side {\r\n\t\tpadding-top: 18px;\r\n\t}\r\n\r\n\t.rt-community-card__benefits li {\r\n\t\tfont-size: 16px;\r\n\t}\r\n\r\n\t.rt-community-card__actions {\r\n\t\tmargin-top: 24px;\r\n\t\talign-items: stretch;\r\n\t}\r\n\r\n\t.rt-community-card__button {\r\n\t\twidth: 100%;\r\n\t\tmin-height: 56px;\r\n\t\tfont-size: 18px;\r\n\t\tpadding: 0 20px;\r\n\t}\r\n\r\n\t.rt-community-card__small {\r\n\t\ttext-align: center;\r\n\t\tpadding-left: 0;\r\n\t}\r\n}\r\n<\/style>\r\n\t\r\n","protected":false},"excerpt":{"rendered":"<p>VNC is a tool that allows you to get remote desktop access from another computer. On Raspberry Pi, using VNC is one of the easiest ways to get remote control. If you use Raspberry Pi OS, VNC is preinstalled so you only have to enable it to get started. Let&#8217;s see how to use it&#8230;.<\/p>\n","protected":false},"author":1,"featured_media":50823,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"categories":[2],"tags":[],"class_list":["post-13086","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to-tutorials"],"taxonomy_info":{"category":[{"value":2,"label":"How-To Tutorials"}]},"featured_image_src_large":["https:\/\/raspberrytips.com\/wp-content\/uploads\/2025\/02\/banner_vnc-1024x683.jpg",1024,683,true],"author_info":{"display_name":"Patrick Fromaget","author_link":"https:\/\/raspberrytips.com\/author\/admin\/"},"comment_info":0,"category_info":[{"term_id":2,"name":"How-To Tutorials","slug":"how-to-tutorials","term_group":0,"term_taxonomy_id":2,"taxonomy":"category","description":"","parent":0,"count":228,"filter":"raw","cat_ID":2,"category_count":228,"category_description":"","cat_name":"How-To Tutorials","category_nicename":"how-to-tutorials","category_parent":0}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/raspberrytips.com\/wp-json\/wp\/v2\/posts\/13086","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/raspberrytips.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/raspberrytips.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/raspberrytips.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/raspberrytips.com\/wp-json\/wp\/v2\/comments?post=13086"}],"version-history":[{"count":27,"href":"https:\/\/raspberrytips.com\/wp-json\/wp\/v2\/posts\/13086\/revisions"}],"predecessor-version":[{"id":50824,"href":"https:\/\/raspberrytips.com\/wp-json\/wp\/v2\/posts\/13086\/revisions\/50824"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/raspberrytips.com\/wp-json\/wp\/v2\/media\/50823"}],"wp:attachment":[{"href":"https:\/\/raspberrytips.com\/wp-json\/wp\/v2\/media?parent=13086"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raspberrytips.com\/wp-json\/wp\/v2\/categories?post=13086"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raspberrytips.com\/wp-json\/wp\/v2\/tags?post=13086"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}