{"id":378,"date":"2016-09-11T12:56:04","date_gmt":"2016-09-11T03:56:04","guid":{"rendered":"http:\/\/35.185.230.144\/?p=378"},"modified":"2016-09-11T12:56:04","modified_gmt":"2016-09-11T03:56:04","slug":"raspberry-pi%e3%82%92vnc%e3%81%a7%e6%93%8d%e4%bd%9c%e3%81%a7%e3%81%8d%e3%82%8b%e3%82%88%e3%81%86%e3%81%ab%e3%81%97%e3%81%9f","status":"publish","type":"post","link":"https:\/\/aoboshi.org\/?p=378","title":{"rendered":"Raspberry Pi\u3092VNC\u3067\u64cd\u4f5c\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f"},"content":{"rendered":"<p>Raspberry Pi\u306b\u306f\u666e\u6bb5SSH\u3067\u5165\u3063\u3066\u307e\u3059\u304c\u3001GUI\u3092\u4f7f\u3046\u3068\u304d\u306f\u3044\u3061\u3044\u3061\u30c6\u30ec\u30d3\u3064\u3051\u306a\u3044\u3068\u3067\u9762\u5012\u306a\u306e\u3067\u3001<br \/>\n\u4e0b\u8a18\u30d6\u30ed\u30b0\u3092\u53c2\u8003\u306bVNC Server\u3092\u5165\u308c\u3066\u307f\u307e\u3057\u305f\u3002<br \/>\nhttp:\/\/d.hatena.ne.jp\/pasela\/20121225\/raspi_vnc<\/p>\n<p>1 VNC Server\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n<p>VNC Sever\u306b\u3082\u3044\u308d\u3093\u306a\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u4f8b\u306b\u306a\u3089\u3063\u3066\u300ctightvncserver\u300d\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<blockquote><p>pi@raspberrypi:~ $ <strong>sudo apt-get install tightvncserver<\/strong><\/p>\n<p>Reading package lists&#8230; Done<\/p>\n<p>Building dependency tree       <\/p>\n<p>Reading state information&#8230; Done<\/p>\n<p>The following packages were automatically installed and are no longer required:<\/p>\n<p>  x11-apps x11-session-utils xbase-clients xbitmaps<\/p>\n<p>Use &#8216;apt-get autoremove&#8217; to remove them.<\/p>\n<p>Suggested packages:<\/p>\n<p>  tightvnc-java<\/p>\n<p>The following NEW packages will be installed:<\/p>\n<p>  tightvncserver<\/p>\n<p>0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.<\/p>\n<p>Need to get 555 kB of archives.<\/p>\n<p>After this operation, 1,416 kB of additional disk space will be used.<\/p>\n<p>Get:1 http:\/\/mirrordirector.raspbian.org\/raspbian\/ jessie\/main tightvncserver armhf 1.3.9-6.5 [555 kB]<\/p>\n<p>Fetched 555 kB in 1s (302 kB\/s)         <\/p>\n<p>Selecting previously unselected package tightvncserver.<\/p>\n<p>(Reading database &#8230; 120529 files and directories currently installed.)<\/p>\n<p>Preparing to unpack &#8230;\/tightvncserver_1.3.9-6.5_armhf.deb &#8230;<\/p>\n<p>Unpacking tightvncserver (1.3.9-6.5) &#8230;<\/p>\n<p>Processing triggers for man-db (2.7.0.2-5) &#8230;<\/p>\n<p>Setting up tightvncserver (1.3.9-6.5) &#8230;<\/p>\n<p>update-alternatives: using \/usr\/bin\/tightvncserver to provide \/usr\/bin\/vncserver (vncserver) in auto mode<\/p>\n<p>update-alternatives: using \/usr\/bin\/Xtightvnc to provide \/usr\/bin\/Xvnc (Xvnc) in auto mode<\/p>\n<p>update-alternatives: using \/usr\/bin\/tightvncpasswd to provide \/usr\/bin\/vncpasswd (vncpasswd) in auto mode<\/p>\n<p>pi@raspberrypi:~ $ <\/p><\/blockquote>\n<p>2 VNC Server\u8d77\u52d5<\/p>\n<p>\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u756a\u53f7(\u3053\u3053\u3067\u306f\u300c1\u300d)\u3092\u3064\u3051\u3066\u8d77\u52d5\u3057\u307e\u3059\u3002<br \/>\nVNC\u3067\u63a5\u7d9a\u3059\u308b\u969b\u306b\u4f7f\u7528\u3059\u308b\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u805e\u3044\u3066\u304f\u308b\u306e\u3067\u5165\u529b\u3057\u307e\u3059(\u901a\u5e38\u306e\u30e6\u30fc\u30b6\u30d1\u30b9\u30ef\u30fc\u30c9\u3068\u306f\u5225\u6307\u5b9a\u3067\u3059)\u3002<\/p>\n<blockquote><p><strong>pi@raspberrypi:~ $ vncserver :1<\/strong><\/p>\n<p>You will require a password to access your desktops.<\/p>\n<p>Password: <\/p>\n<p>Verify:   <\/p>\n<p>Would you like to enter a view-only password (y\/n)? n<\/p>\n<p>2<\/p>\n<p>New &#8216;X&#8217; desktop is raspberrypi:1<\/p>\n<p>Creating default startup script \/home\/pi\/.vnc\/xstartup<\/p>\n<p>Starting applications specified in \/home\/pi\/.vnc\/xstartup<\/p>\n<p>Log file is \/home\/pi\/.vnc\/raspberrypi:1.log<\/p><\/blockquote>\n<p>\u3061\u306a\u307f\u306e\u3001\u505c\u6b62\u3055\u305b\u308b\u5834\u5408\u306f\u300cvncserver -kill :1\u300d\u3067\u3059\u3002<\/p>\n<p>3 VNC\u63a5\u7d9a<\/p>\n<p>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089VNC\u63a5\u7d9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306fRealVNC\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002<br \/>\nhttps:\/\/www.realvnc.com\/download\/vnc\/<\/p>\n<p><a href=\"https:\/\/aoboshi.org\/wp-content\/uploads\/2016\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2016-09-10-17.28.24.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/aoboshi.org\/wp-content\/uploads\/2016\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2016-09-10-17.28.24-300x231.png\" alt=\"%e3%82%b9%e3%82%af%e3%83%aa%e3%83%bc%e3%83%b3%e3%82%b7%e3%83%a7%e3%83%83%e3%83%88-2016-09-10-17-28-24\" width=\"300\" height=\"231\" class=\"alignnone size-medium wp-image-379\" srcset=\"https:\/\/aoboshi.org\/wp-content\/uploads\/2016\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2016-09-10-17.28.24-300x231.png 300w, https:\/\/aoboshi.org\/wp-content\/uploads\/2016\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2016-09-10-17.28.24-768x591.png 768w, https:\/\/aoboshi.org\/wp-content\/uploads\/2016\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2016-09-10-17.28.24-1024x788.png 1024w, https:\/\/aoboshi.org\/wp-content\/uploads\/2016\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2016-09-10-17.28.24-624x480.png 624w, https:\/\/aoboshi.org\/wp-content\/uploads\/2016\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2016-09-10-17.28.24.png 1026w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Raspberry Pi\u306b\u306f\u666e\u6bb5SSH\u3067\u5165\u3063\u3066\u307e\u3059\u304c\u3001GUI\u3092\u4f7f\u3046\u3068\u304d\u306f\u3044\u3061\u3044\u3061\u30c6\u30ec\u30d3\u3064\u3051\u306a\u3044\u3068\u3067\u9762\u5012\u306a\u306e\u3067\u3001 \u4e0b\u8a18\u30d6\u30ed\u30b0\u3092\u53c2\u8003\u306bVNC Server\u3092\u5165\u308c\u3066\u307f\u307e\u3057\u305f\u3002 http:\/\/d.hatena.ne.jp\/pas [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-378","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/aoboshi.org\/index.php?rest_route=\/wp\/v2\/posts\/378","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aoboshi.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aoboshi.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aoboshi.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aoboshi.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=378"}],"version-history":[{"count":0,"href":"https:\/\/aoboshi.org\/index.php?rest_route=\/wp\/v2\/posts\/378\/revisions"}],"wp:attachment":[{"href":"https:\/\/aoboshi.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=378"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aoboshi.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=378"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aoboshi.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=378"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}