{"id":735,"date":"2012-04-01T20:40:19","date_gmt":"2012-04-01T17:40:19","guid":{"rendered":"http:\/\/www.hakancakiroglu.com\/wordpress\/?p=735"},"modified":"2012-04-01T22:05:30","modified_gmt":"2012-04-01T19:05:30","slug":"remote-vnc-login-to-ubuntu-12-04","status":"publish","type":"post","link":"https:\/\/www.hakancakiroglu.com\/wordpress\/?p=735","title":{"rendered":"Remote VNC login to Ubuntu 12.04"},"content":{"rendered":"<p>Here is a different remote vnc solution to your newly installed Ubuntu 12.04<\/p>\n<p>The solution is going to be with the package x11vnc. And after that we are going to write startup script to start x11vnc at startup.<\/p>\n<p>Let&#8217;s start ;<\/p>\n<p><!--more--><\/p>\n<p>&nbsp;<\/p>\n<p>So we need to install that package first :<\/p>\n<p><code>sudo apt-get install x11vnc<\/code><\/p>\n<p>And then create startup file at location \/etc\/init\/x11vnc.conf<\/p>\n<p><code>#sudo vi \/etc\/init\/x11vnc.conf (command to create the file with vi editor)<br \/>\n<\/code><\/p>\n<p>write the scirpt below;<\/p>\n<p><code>start on login-session-start<br \/>\nscript<br \/>\nx11vnc -xkb -noxrecord -noxfixes -noxdamage -display :0 -auth \/var\/run\/lightdm\/root\/:0 -forever -bg -o \/var\/log\/x11vnc.log<br \/>\nend script<\/code><\/p>\n<p>To save file write down <span style=\"color: #ff0000;\"><strong>:wq<\/strong><\/span> and press enter.<\/p>\n<p>That&#8217;s all. Now restart your computer. After restart, x11vnc shoud listen on vnc startard port \u2013 5900.<\/p>\n<p>you can use vncviewer with :0 option.<\/p>\n<p>Here is the example usage :<\/p>\n<p><a href=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/04\/vncviewer.png\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-737\" title=\"vncviewer\" src=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/04\/vncviewer.png\" alt=\"\" width=\"356\" height=\"148\" srcset=\"https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/04\/vncviewer.png 356w, https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2012\/04\/vncviewer-300x124.png 300w\" sizes=\"(max-width: 356px) 100vw, 356px\" \/><\/a><\/p>\n<p>I hope this article was helpful for you and hope to see you again in another article, thank you\u2026<\/p>\n<p>&nbsp;<\/p>\n<p>Ref : http:\/\/mlepicki.com\/2011\/10\/remote-vnc-login-to-ubuntu-11-10\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is a different remote vnc solution to your newly installed Ubuntu 12.04 The solution is going to be with the package x11vnc. And after that we are going to write startup script to start x11vnc at startup. Let&#8217;s start ;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/www.hakancakiroglu.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/735"}],"collection":[{"href":"https:\/\/www.hakancakiroglu.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hakancakiroglu.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hakancakiroglu.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hakancakiroglu.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=735"}],"version-history":[{"count":9,"href":"https:\/\/www.hakancakiroglu.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/735\/revisions"}],"predecessor-version":[{"id":769,"href":"https:\/\/www.hakancakiroglu.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/735\/revisions\/769"}],"wp:attachment":[{"href":"https:\/\/www.hakancakiroglu.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=735"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hakancakiroglu.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=735"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hakancakiroglu.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=735"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}