{"id":7305,"date":"2015-01-11T23:37:21","date_gmt":"2015-01-11T14:37:21","guid":{"rendered":"https:\/\/the-world-star.com\/?p=7305"},"modified":"2026-11-28T17:35:21","modified_gmt":"2026-11-28T08:35:21","slug":"setting-up-a-vnc-server-on-ubuntu-for-remote-access","status":"publish","type":"post","link":"https:\/\/the-world-star.com\/en\/server\/setting-up-a-vnc-server-on-ubuntu-for-remote-access-7305\/","title":{"rendered":"Setting Up a VNC Server on Ubuntu for Remote Access"},"content":{"rendered":"<p>My Ubuntu server (an EeePC 901 netbook) is currently placed on top of the refrigerator. To access it directly, I have to stand on the TV stand and stretch on my toes. To make things easier, I set up a VNC server so I can access it from my daily driver PC. Surprisingly, VNC clients are now available for tablets and smartphones too, meaning I can control Ubuntu while lounging in bed. Take it a step further by configuring your router to forward the IP and ports, and you can even access it from your smartphone while away from home.<br \/>\nReference URL:<a href=\"http:\/\/masahir0y.blogspot.jp\/2013\/05\/ubuntu.html\" target=\"_blank\" title=\"http:\/\/masahir0y.blogspot.jp\/2013\/05\/ubuntu.html\" rel=\"noopener\">http:\/\/masahir0y.blogspot.jp\/2013\/05\/ubuntu.html<\/a>VNC can be easily configured through the GUI after logging in. Running the shell command &quot;$vino-preferences&quot; opens the &quot;Desktop Sharing Preferences.&quot; However, with this method, you lose the connection as soon as you log out. That would mean physically accessing the top of the fridge every time I want a remote connection...<br \/>\n[The Problem] It only works when logged in.<br \/>\n[The Solution] Use X11vnc.<br \/>\nInstall it with:<br \/>\n$ sudo apt-get install x11vnc xinetd<br \/>\nThe default settings were fine out of the box.<br \/>\n\/etc\/xinetd.d\/x11vnc<br \/>\nSet up the x11vnc password:<br \/>\n$ sudo x11vnc -storepasswd \/etc\/vncpasswd<br \/>\n-&gt; Enter and confirm your password.<br \/>\nRestart xinetd:<br \/>\n$ sudo service xinetd restart<br \/>\nAfter that, you can connect using a VNC client from Ubuntu, Windows, or even your smartphone.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My Ubuntu server (an EeePC 901 netbook) is currently placed on top of the refrigerator. To access it directly, I have to stand on the TV stand and stretch on my toes. To make things easier, I set up a VNC server so I can access it from my daily driver PC. Surprisingly, VNC clients [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2137,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"en_US","_original_post":"https:\/\/175.41.248.22\/uncategorized\/ubuntu-vnc%e3%82%b5%e3%83%bc%e3%83%90%e3%83%bc%e8%a8%ad%e5%ae%9a-1308\/","_lightning_design_setting":{"layout":"default"},"footnotes":""},"categories":[3],"tags":[67,134,139,140,1457,1458],"class_list":["post-7305","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-server","tag-ubuntu","tag-vnc","tag-listen","tag-port-check","tag-router","en-US"],"_links":{"self":[{"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/posts\/7305","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/comments?post=7305"}],"version-history":[{"count":1,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/posts\/7305\/revisions"}],"predecessor-version":[{"id":7306,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/posts\/7305\/revisions\/7306"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/media\/2137"}],"wp:attachment":[{"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/media?parent=7305"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/categories?post=7305"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/the-world-star.com\/wp-json\/wp\/v2\/tags?post=7305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}