
{"id":3296,"date":"2021-12-17T10:25:00","date_gmt":"2021-12-17T09:25:00","guid":{"rendered":"https:\/\/contabo.com\/blog\/?p=3296"},"modified":"2022-07-18T18:34:05","modified_gmt":"2022-07-18T16:34:05","slug":"vnc-connect-vps","status":"publish","type":"post","link":"https:\/\/contabo.com\/blog\/vnc-connect-vps\/","title":{"rendered":"How to Connect to Your Server Using VNC"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"630\" src=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2021\/12\/MicrosoftTeams-image-6.jpg\" alt=\"vnc-cover-pic\" class=\"wp-image-12398\" srcset=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2021\/12\/MicrosoftTeams-image-6.jpg 1200w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2021\/12\/MicrosoftTeams-image-6-600x315.jpg 600w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2021\/12\/MicrosoftTeams-image-6-768x403.jpg 768w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>In this guide I will show you how to connect to your VPS (or any server) using VNC.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-what-is-vnc-and-how-does-it-work\">What is VNC and How Does It Work?<\/h2>\n\n\n\n<p>VNC or Virtual Network Computing is a platform allowing you to control a remote computer, server or other device. It\u2019s typically used to control your remote instance via graphical interface, meaning you use your local keyboard and mouse to work on a remote computer. <\/p>\n\n\n\n<p>The transmission itself uses open-source Remote Framebuffer protocol, compatible with operating systems such as macOS, Windows and Linux. Remote Framebuffer protocol was built as an easy solution to a wide variety of systems and configurations, allowing greater capability than older protocols.<\/p>\n\n\n\n<p>Although easy to set up and use, VNC is lacking in security in comparison to mainstream protocols, such as SSH or Windows Remote Desktop. That being said, VNC can be invaluable in a situation when you can\u2019t connect to your server using standard methods. Our customers can use VNC when working with their virtual instance, <a href=\"https:\/\/contabo.com\/en\/vps\/\">VPS<\/a> or <a href=\"https:\/\/contabo.com\/en\/vds\/\">VDS<\/a>.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-vnc-clients\">VNC Clients<\/h2>\n\n\n\n<p>In this tutorial, we\u2019ll show you how to log in to the server via VNC. Our tool of choice is a free VNC client called <a href=\"https:\/\/uvnc.com\/\" rel=\"nofollow nofollow\">UltraVNC<\/a>. Although we use UltraVNC in this tutorial, there are many good alternatives. Check for instance RealVNC or TigerVNC and others.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-getting-started-with-ultravnc\">Getting Started with UltraVNC<\/h2>\n\n\n\n<p>It\u2019s sufficient to install just the VNC Client on your local computer. We do not recommend installing a VNC Server on your local computer. After you install UltraVNC, start the UltraVNC Viewer app. The program will prompt you for credentials:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2021\/12\/ultravncscreenshot1.png\" alt=\"login-windows-ultravnc\" class=\"wp-image-12434\" width=\"563\" height=\"281\"\/><\/figure>\n\n\n\n<p>Now prepare your login credentials for VNC. Type in your credentials in this format: <strong>&lt;VNC_IP&gt;:&lt;VNC_PORT&gt;<\/strong>. For instance <strong>0.120.120.120:65432<\/strong>.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>The standard port number is 5900, although it may change depending on your server setup. Contact your provider if not sure about the credentials.<\/p>\n\n\n\n<p>In case you\u2019re a Contabo customer, just login to Customer Control Panel and click on <a href=\"https:\/\/my.contabo.com\/abos\">Your services page<\/a>. Then find the server you\u2019re trying to connect to and copy-paste the VNC credentials.<\/p>\n\n\n\n<p>After entering this information, please press the connect button and type in your VNC password. <\/p>\n\n\n\n<p>Contabo customers can easily change the VNC password. Access Customer Control Panel\u2019s page of your instance &gt; Manage &gt; VNC Password:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"312\" height=\"442\" src=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2022\/01\/VNC-pass2.png\" alt=\"VNC pass2\" class=\"wp-image-13076\"\/><\/figure>\n\n\n\n<p>Please keep in mind to always check your spelling since the VNC login is case sensitive. Also look out for your keyboard layout to prevent any mishaps during the login (Y and Z might be switched due to a different keyboard layout). To test which keyboard layout is active, you can enter a few test characters at the login prompt and remove them again before entering your actual login name.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-connecting-to-your-operating-system-using-vnc\">Connecting to Your Operating System Using VNC<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-connecting-to-linux-server\">Connecting to Linux Server<\/h3>\n\n\n\n<p>After you type in your password and click on the \u201cLog On\u201d button, the command line will open. The program will ask for your login data to your server. If you don\u2019t remember where to find the login data for VNC, contact your provider. <\/p>\n\n\n\n<p>Contabo customers can find their username in the Customer Control Panel, section VPS, VDS or Server control. The username for Linux servers is typically <strong>root<\/strong>, unless you are using advanced features, such as custom OS images. If you don&#8217;t know your server&#8217;s password, just access Customer control panel &gt; * Control &gt; Manage &gt; Password reset.<\/p>\n\n\n\n<p>After you successfully login, your command line will begin with your username and hostname, for instance: <strong>&lt;USERNAME&gt;@&lt;YOUR_SERVER&gt;:~#<\/strong><\/p>\n\n\n\n<p>In case you\u2019re a Contabo user, the default screen will look as following:<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"756\" height=\"226\" src=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2021\/12\/VNC-contabo-login-screen.png\" alt=\"\" class=\"wp-image-12464\" srcset=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2021\/12\/VNC-contabo-login-screen.png 756w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2021\/12\/VNC-contabo-login-screen-600x179.png 600w\" sizes=\"auto, (max-width: 756px) 100vw, 756px\" \/><figcaption class=\"wp-element-caption\">Welcome screen for Contabo servers<\/figcaption><\/figure>\n\n\n\n<p>If your Linux is equipped with a GUI, you can now launch graphic interface and do whatever you want to do with your server using both mouse and keyboard.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-connecting-to-a-windows-server\">Connecting to a Windows Server<\/h3>\n\n\n\n<p>When you try to log in to your Windows Server, the system will prompt locked screen:<br><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-medium\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"486\" src=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2021\/12\/VNC-pic-locked-screen-600x486.jpg\" alt=\"\" class=\"wp-image-12468\" srcset=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2021\/12\/VNC-pic-locked-screen-600x486.jpg 600w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2021\/12\/VNC-pic-locked-screen-768x622.jpg 768w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2021\/12\/VNC-pic-locked-screen.jpg 999w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/figure>\n\n\n\n<p>To log in, press Ctrl+Alt+Delete and the password field will appear. Your physical keyboard will not likely work at this stage, therefore, use a special button on the left of the UltraVNC control panel.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-connecting-to-your-server-which-does-not-run-os\">Connecting to Your Server which Does Not Run OS<\/h3>\n\n\n\n<p>VNC access can be used in situations when the operating system is not booting at all. By using VNC, you can still work on your server without having physical access to it. A typical scenario is manual file system check or booting the OS from another kernel.<br><\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-vnc-troubleshooting-the-black-screen\">VNC Troubleshooting: The Black Screen<\/h2>\n\n\n\n<p>If you see just a black screen after you login to VNC, it doesn\u2019t have to mean something is wrong. Simply click on the UltraVNC window and press enter. The operating system will then open the login screen.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-finishing-your-vnc-session\">Finishing Your VNC Session<\/h2>\n\n\n\n<p>Remember to always log out of the VNC after you have finished your work on the server! The logout does not happen automatically with VNC since VNC is independent of your operating system. To log out in Linux, simply run this command:<br><code><strong>logout<\/strong><\/code><\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-security-concerns-over-using-vnc\">Security Concerns over Using VNC<\/h2>\n\n\n\n<p>While VNC technology is very convenient and easy to use, it\u2019s not ideal from a security standpoint.<\/p>\n\n\n\n<p>Please keep in mind that VNC access is <strong>not as safe as a connection via SSH or Windows Remote Desktop<\/strong>. Under normal circumstances, you should always connect to your server using methods that are more secure.<\/p>\n\n\n\n<p><strong>We recommend using VNC only in case your server is not accessible via SSH or Remote Desktop<\/strong>.<\/p>\n\n\n\n<p>If you are a Contabo customer, we recommend changing the VNC password in the Customer Control Panel or disabling it altogether.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1417\" height=\"453\" src=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2021\/12\/VNC-article-CCP-changing-VNC-pass.png\" alt=\"\" class=\"wp-image-12615\" srcset=\"https:\/\/contabo.com\/blog\/wp-content\/uploads\/2021\/12\/VNC-article-CCP-changing-VNC-pass.png 1417w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2021\/12\/VNC-article-CCP-changing-VNC-pass-600x192.png 600w, https:\/\/contabo.com\/blog\/wp-content\/uploads\/2021\/12\/VNC-article-CCP-changing-VNC-pass-768x246.png 768w\" sizes=\"auto, (max-width: 1417px) 100vw, 1417px\" \/><figcaption class=\"wp-element-caption\">Changing the password in Contabo Customer Control Panel<\/figcaption><\/figure>\n\n\n\n<p><br><code><strong><br><\/strong><\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this guide I will show you how to connect to your VPS (or any server) using VNC. What is VNC and How Does It Work? VNC or Virtual Network Computing is a platform allowing you to control a remote computer, server or other device. It\u2019s typically used to control your remote instance via graphical [&hellip;]<\/p>\n","protected":false},"author":49,"featured_media":12398,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[18],"tags":[855,889,894,896,902],"ppma_author":[1481],"class_list":["post-3296","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-ultravnc","tag-vnc","tag-vps","tag-vps-hosting","tag-vps-via-vnc"],"uagb_featured_image_src":{"full":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2021\/12\/MicrosoftTeams-image-6.jpg",1200,630,false],"thumbnail":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2021\/12\/MicrosoftTeams-image-6-150x150.jpg",150,150,true],"medium":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2021\/12\/MicrosoftTeams-image-6-600x315.jpg",600,315,true],"medium_large":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2021\/12\/MicrosoftTeams-image-6-768x403.jpg",768,403,true],"large":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2021\/12\/MicrosoftTeams-image-6.jpg",1200,630,false],"1536x1536":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2021\/12\/MicrosoftTeams-image-6.jpg",1200,630,false],"2048x2048":["https:\/\/contabo.com\/blog\/wp-content\/uploads\/2021\/12\/MicrosoftTeams-image-6.jpg",1200,630,false]},"uagb_author_info":{"display_name":"Petr","author_link":"https:\/\/contabo.com\/blog\/author\/petr\/"},"uagb_comment_info":0,"uagb_excerpt":"In this guide I will show you how to connect to your VPS (or any server) using VNC. What is VNC and How Does It Work? VNC or Virtual Network Computing is a platform allowing you to control a remote computer, server or other device. It\u2019s typically used to control your remote instance via graphical&hellip;","authors":[{"term_id":1481,"user_id":49,"is_guest":0,"slug":"petr","display_name":"Petr","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/3a3991d3f2f2e482436c374c378ac5dec17a1e02bd60ef356744005bc37a02e7?s=96&d=mm&r=g","0":null,"1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":""}],"_links":{"self":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/posts\/3296","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/users\/49"}],"replies":[{"embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/comments?post=3296"}],"version-history":[{"count":0,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/posts\/3296\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/media\/12398"}],"wp:attachment":[{"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/media?parent=3296"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/categories?post=3296"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/tags?post=3296"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/contabo.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=3296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}