{"id":14044,"date":"2017-06-12T11:13:04","date_gmt":"2017-06-12T15:13:04","guid":{"rendered":"http:\/\/scruss.com\/blog\/?p=14044"},"modified":"2017-06-29T09:15:52","modified_gmt":"2017-06-29T13:15:52","slug":"headless-raspberry-pi-vnc-useful-resolution","status":"publish","type":"post","link":"https:\/\/scruss.com\/blog\/2017\/06\/12\/headless-raspberry-pi-vnc-useful-resolution\/","title":{"rendered":"Headless Raspberry Pi + VNC: useful resolution"},"content":{"rendered":"<figure id=\"attachment_14045\" aria-describedby=\"caption-attachment-14045\" style=\"width: 1024px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/x2017-06-12-09.54.04.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-14045\" src=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/x2017-06-12-09.54.04.jpg\" alt=\"\" width=\"1024\" height=\"576\" srcset=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/x2017-06-12-09.54.04.jpg 1024w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/x2017-06-12-09.54.04-160x90.jpg 160w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/x2017-06-12-09.54.04-320x180.jpg 320w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/x2017-06-12-09.54.04-768x432.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption id=\"caption-attachment-14045\" class=\"wp-caption-text\">Breadboards of Canada \u00e2\u20ac\u00a6<\/figcaption><\/figure>\n<p>I just set up a Raspberry Pi Zero to be a little breadboard computer. Running a headless machine only through SSH gets a bit dull at times, so the inclusion of <a href=\"https:\/\/www.realvnc.com\/raspberrypi\/\">VNC Connect<\/a> in Raspbian is handy.<\/p>\n<p>Only problem was that the default screen size \u00e2\u20ac\u201d something like 720\u00c3\u2014480 \u00e2\u20ac\u201d was too small for most dialogue windows. Here&#8217;s how to enable a more useful resolution of 1024 \u00c3\u2014 768.<\/p>\n<p>All of these are enabled from the raspi-config tool, so open a terminal and start it with:<\/p>\n<pre>sudo raspi-config<\/pre>\n<h2>Enable Boot to Desktop<\/h2>\n<p>Select <em>3 Boot Options<\/em> \u00e2\u2020\u2019 <em>B1 Desktop \/ CLI<\/em> \u00e2\u2020\u2019 <em>B4 Desktop Autologin<\/em>:<\/p>\n<h2><a href=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100243_659x422_scrot.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-14055\" src=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100243_659x422_scrot.png\" alt=\"\" width=\"659\" height=\"422\" srcset=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100243_659x422_scrot.png 659w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100243_659x422_scrot-160x102.png 160w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100243_659x422_scrot-320x205.png 320w\" sizes=\"auto, (max-width: 659px) 100vw, 659px\" \/><\/a><br \/>\n<a href=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100255_659x422_scrot.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-14054\" src=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100255_659x422_scrot.png\" alt=\"\" width=\"659\" height=\"422\" srcset=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100255_659x422_scrot.png 659w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100255_659x422_scrot-160x102.png 160w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100255_659x422_scrot-320x205.png 320w\" sizes=\"auto, (max-width: 659px) 100vw, 659px\" \/><\/a><br \/>\n<a href=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100314_659x422_scrot.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-14053\" src=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100314_659x422_scrot.png\" alt=\"\" width=\"659\" height=\"422\" srcset=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100314_659x422_scrot.png 659w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100314_659x422_scrot-160x102.png 160w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100314_659x422_scrot-320x205.png 320w\" sizes=\"auto, (max-width: 659px) 100vw, 659px\" \/><\/a>Enable VNC on Startup<\/h2>\n<p>Select <em>5 Interfacing Options<\/em> \u00e2\u2020\u2019 <em>P3 VNC<\/em>, and answer <em>Yes<\/em> to <em>Would you like the VNC Server to be enabled?<\/em>:<br \/>\n<a href=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100357_659x422_scrot.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-14052\" src=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100357_659x422_scrot.png\" alt=\"\" width=\"659\" height=\"422\" srcset=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100357_659x422_scrot.png 659w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100357_659x422_scrot-160x102.png 160w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100357_659x422_scrot-320x205.png 320w\" sizes=\"auto, (max-width: 659px) 100vw, 659px\" \/><\/a><br \/>\n<a href=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100419_659x422_scrot.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-14051\" src=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100419_659x422_scrot.png\" alt=\"\" width=\"659\" height=\"422\" srcset=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100419_659x422_scrot.png 659w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100419_659x422_scrot-160x102.png 160w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100419_659x422_scrot-320x205.png 320w\" sizes=\"auto, (max-width: 659px) 100vw, 659px\" \/><\/a><br \/>\n<a href=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100432_659x422_scrot.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-14050\" src=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100432_659x422_scrot.png\" alt=\"\" width=\"659\" height=\"422\" srcset=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100432_659x422_scrot.png 659w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100432_659x422_scrot-160x102.png 160w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100432_659x422_scrot-320x205.png 320w\" sizes=\"auto, (max-width: 659px) 100vw, 659px\" \/><\/a>Set Screen Resolution<\/p>\n<p>Select <em>7 Advanced Options<\/em> \u00e2\u2020\u2019 <em>A5 Resolution<\/em> \u00e2\u2020\u2019 <em>DMT Mode 16 (1024\u00c3\u2014768)<\/em> \u00e2\u20ac\u00a6:<br \/>\n<a href=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100453_659x422_scrot.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-14049\" src=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100453_659x422_scrot.png\" alt=\"\" width=\"659\" height=\"422\" srcset=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100453_659x422_scrot.png 659w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100453_659x422_scrot-160x102.png 160w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100453_659x422_scrot-320x205.png 320w\" sizes=\"auto, (max-width: 659px) 100vw, 659px\" \/><\/a><br \/>\n<a href=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100511_659x422_scrot.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-14048\" src=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100511_659x422_scrot.png\" alt=\"\" width=\"659\" height=\"422\" srcset=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100511_659x422_scrot.png 659w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100511_659x422_scrot-160x102.png 160w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100511_659x422_scrot-320x205.png 320w\" sizes=\"auto, (max-width: 659px) 100vw, 659px\" \/><\/a><br \/>\n<a href=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100526_659x422_scrot.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-14047\" src=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100526_659x422_scrot.png\" alt=\"\" width=\"659\" height=\"422\" srcset=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100526_659x422_scrot.png 659w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100526_659x422_scrot-160x102.png 160w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/2017-06-12-100526_659x422_scrot-320x205.png 320w\" sizes=\"auto, (max-width: 659px) 100vw, 659px\" \/><\/a>Once you&#8217;ve enabled all of these, raspi-config will ask if you wish to reboot your Raspberry Pi. Once it has rebooted, you should have a usable remote desktop.<\/p>\n<p>(<em>All of the above screenshots were taken from a headless Raspberry Pi Zero via VNC.<\/em>)<\/p>\n<h2>Before &amp; After<\/h2>\n<p>These were taken later on a Raspberry Pi 2 I&#8217;m setting up for a maker festival booth:<\/p>\n<figure id=\"attachment_14137\" aria-describedby=\"caption-attachment-14137\" style=\"width: 740px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/Screen-Shot-2017-06-23-at-18.07.27.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-14137\" src=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/Screen-Shot-2017-06-23-at-18.07.27.png\" alt=\"\" width=\"740\" height=\"522\" srcset=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/Screen-Shot-2017-06-23-at-18.07.27.png 740w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/Screen-Shot-2017-06-23-at-18.07.27-160x113.png 160w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/Screen-Shot-2017-06-23-at-18.07.27-320x226.png 320w\" sizes=\"auto, (max-width: 740px) 100vw, 740px\" \/><\/a><figcaption id=\"caption-attachment-14137\" class=\"wp-caption-text\">decidedly smol: 720\u00c3\u2014480<\/figcaption><\/figure>\n<figure id=\"attachment_14138\" aria-describedby=\"caption-attachment-14138\" style=\"width: 1017px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/Screen-Shot-2017-06-23-at-18.08.21.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-14138\" src=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/Screen-Shot-2017-06-23-at-18.08.21.png\" alt=\"\" width=\"1017\" height=\"668\" srcset=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/Screen-Shot-2017-06-23-at-18.08.21.png 1017w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/Screen-Shot-2017-06-23-at-18.08.21-160x105.png 160w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/Screen-Shot-2017-06-23-at-18.08.21-320x210.png 320w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/Screen-Shot-2017-06-23-at-18.08.21-768x504.png 768w\" sizes=\"auto, (max-width: 1017px) 100vw, 1017px\" \/><\/a><figcaption id=\"caption-attachment-14138\" class=\"wp-caption-text\">fix it to 1024\u00c3\u2014768 \u00e2\u20ac\u00a6<\/figcaption><\/figure>\n<figure id=\"attachment_14139\" aria-describedby=\"caption-attachment-14139\" style=\"width: 1108px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/Screen-Shot-2017-06-23-at-18.09.50.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-14139\" src=\"http:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/Screen-Shot-2017-06-23-at-18.09.50.png\" alt=\"\" width=\"1108\" height=\"874\" srcset=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/Screen-Shot-2017-06-23-at-18.09.50.png 1108w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/Screen-Shot-2017-06-23-at-18.09.50-160x126.png 160w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/Screen-Shot-2017-06-23-at-18.09.50-320x252.png 320w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/Screen-Shot-2017-06-23-at-18.09.50-768x606.png 768w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2017\/06\/Screen-Shot-2017-06-23-at-18.09.50-1024x808.png 1024w\" sizes=\"auto, (max-width: 1108px) 100vw, 1108px\" \/><\/a><figcaption id=\"caption-attachment-14139\" class=\"wp-caption-text\">so much better!<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>I just set up a Raspberry Pi Zero to be a little breadboard computer. Running a headless machine only through SSH gets a bit dull at times, so the inclusion of VNC Connect in Raspbian is handy. Only problem was that the default screen size \u00e2\u20ac\u201d something like 720\u00c3\u2014480 \u00e2\u20ac\u201d was too small for most [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_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":[7],"tags":[2562,2510,3055,2198],"class_list":["post-14044","post","type-post","status-publish","format-standard","hentry","category-computers-suck","tag-headless","tag-raspberrypi","tag-resolution","tag-vnc"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pQNZZ-3Ew","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/14044","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/comments?post=14044"}],"version-history":[{"count":4,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/14044\/revisions"}],"predecessor-version":[{"id":14141,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/14044\/revisions\/14141"}],"wp:attachment":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/media?parent=14044"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/categories?post=14044"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/tags?post=14044"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}