{"id":3208,"date":"2017-10-26T13:59:36","date_gmt":"2017-10-26T20:59:36","guid":{"rendered":"http:\/\/mattfife.com\/?p=3208"},"modified":"2017-11-02T13:21:09","modified_gmt":"2017-11-02T20:21:09","slug":"vnc-on-ubuntu-16-and-17","status":"publish","type":"post","link":"https:\/\/mattfife.com\/?p=3208","title":{"rendered":"VNC on Ubuntu 16 and 17"},"content":{"rendered":"<p>Works on 17.04 as well.<\/p>\n<p>The biggest pain about Ubuntu is changes they made to vnc setup. Often, once you think you have it set up, you connect and get nothing but the ancient X windows grey screen with no way to interact with the UI.<\/p>\n<p>This method works for 17.04 and 16.04. It&#8217;s also faster performance that other approaches.<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"o2n9i7QVBE\"><p><a href=\"http:\/\/c-nergy.be\/blog\/?p=8984\">Ubuntu 16.04 &#8211; Configure your system to have x11vnc running at startup<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Ubuntu 16.04 &#8211; Configure your system to have x11vnc running at startup&#8221; &#8212; Griffon&#039;s IT Library\" src=\"http:\/\/c-nergy.be\/blog\/?p=8984&#038;embed=true#?secret=RlqB2czzjd#?secret=o2n9i7QVBE\" data-secret=\"o2n9i7QVBE\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>Summary:<\/p>\n<pre>sudo apt-get install x11vnc -y\r\nsudo x11vnc -storepasswd \/etc\/x11vnc.pass\r\nEdit\u00a0\/lib\/systemd\/system\/x11vnc.service<\/pre>\n<blockquote><p>[Unit]<br \/>\nDescription=Start x11vnc at startup.<br \/>\nAfter=multi-user.target<br \/>\n[Service]<br \/>\nType=simple<br \/>\nExecStart=\/usr\/bin\/x11vnc -auth guess -forever -loop -noxdamage -repeat -rfbauth \/etc\/x11vnc.pass -rfbport 5900 -shared<br \/>\n[Install]<br \/>\nWantedBy=multi-user.target<\/p><\/blockquote>\n<pre>sudo systemctl enable x11vnc.service\r\nsudo systemctl daemon-reload<\/pre>\n<pre>sudo shutdown -r now<\/pre>\n<p>On reboot run the script:<br \/>\nsudo .\/vnc-startup.sh<\/p>\n<p>Or, just manually start it:<br \/>\nx11vnc -usepw -forever<\/p>\n<p>Use your vnc client to connect to the system&#8217;s ip address at port :5900<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Works on 17.04 as well. The biggest pain about Ubuntu is changes they made to vnc setup. Often, once you think you have it set up, you connect and get nothing but the ancient X windows grey screen with no way to interact with the UI. This method works for 17.04 and 16.04. It&#8217;s also faster performance that other approaches. Ubuntu 16.04 &#8211; Configure your system to have x11vnc running at startup Summary: sudo apt-get install x11vnc -y sudo x11vnc&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/mattfife.com\/?p=3208\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[6,5],"tags":[],"class_list":["post-3208","post","type-post","status-publish","format-standard","hentry","category-technicalproblemsolutions","category-technical"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4WECr-PK","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts\/3208","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3208"}],"version-history":[{"count":4,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts\/3208\/revisions"}],"predecessor-version":[{"id":3239,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/posts\/3208\/revisions\/3239"}],"wp:attachment":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3208"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3208"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}