{"id":5250,"date":"2014-10-18T17:34:55","date_gmt":"2014-10-18T08:34:55","guid":{"rendered":"http:\/\/www.kayakersweb.org\/sueblog\/?p=5250"},"modified":"2014-10-26T19:00:07","modified_gmt":"2014-10-26T10:00:07","slug":"raspberry-pi-%e3%81%ab-vnc-%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab","status":"publish","type":"post","link":"https:\/\/www.kayakersweb.org\/sueblog\/2014\/10\/18\/5250\/","title":{"rendered":"Raspberry Pi \u306b vnc \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<p>\u4eca\u56de\u53c2\u8003\u306b\u3059\u308b\u30b5\u30a4\u30c8\u306f<a href=\"http:\/\/anopara.matrix.jp\/2014\/03\/03\/raspberry-pi-%E3%81%A7wifi%E7%9B%A3%E8%A6%96%E3%82%AB%E3%83%A1%E3%83%A9%E3%82%B7%E3%82%B9%E3%83%86%E3%83%A0%E3%82%92%E8%A3%BD%E4%BD%9C\/\">\u3053\u3061\u3089<\/a>\u3002<\/p>\n<p>\u30ab\u30e1\u30e9\u3067\u3082\u3064\u3051\u308b\uff1f\u3068\u601d\u3063\u3066\u898b\u3064\u3051\u305f\u30da\u30fc\u30b8\u3067\u3059\u3002\u30ad\u30fc\u30dc\u30fc\u30c9\u3082\u30de\u30a6\u30b9\u3082\u307e\u3060\u8cb7\u3063\u3066\u306a\u3044\u306e\u3067\u3068\u308a\u3042\u3048\u305a vnc \u5165\u308c\u3061\u3083\u3046\u3002<\/p>\n<p>\u7d20\u76f4\u306b<br \/>\n[code]<br \/>\nsudo apt-get install tightvncserver<br \/>\n[\/code]<\/p>\n<p>\u8d77\u52d5\u3057\u3066\u307f\u308b\u3002<br \/>\n[code]<br \/>\n$ tightvncserver :1<\/p>\n<p>You will require a password to access your desktops.<\/p>\n<p>Password:<br \/>\nWarning: password truncated to the length of 8.<br \/>\nVerify:<br \/>\nWould you like to enter a view-only password (y\/n)? n<\/p>\n<p>New &#8216;X&#8217; desktop is raspberrypi:1<\/p>\n<p>Creating default startup script \/home\/pi\/.vnc\/xstartup<br \/>\nStarting applications specified in \/home\/pi\/.vnc\/xstartup<br \/>\nLog file is \/home\/pi\/.vnc\/raspberrypi:1.log<br \/>\n[\/code]<\/p>\n<p>\u521d\u56de\u3060\u304b\u3089\u30d1\u30b9\u30ef\u30fc\u30c9\u3002<br \/>\nPiScreen \u6d88\u3048\u3066\u3057\u307e\u3063\u305f\u3002<\/p>\n<p>Windows \u5074\u306f <a href=\"http:\/\/sourceforge.net\/projects\/tigervnc\/\">tigerVNC<\/a>\u3002Server \u3068\u3057\u3066\u4f7f\u3046\u3064\u3082\u308a\u306f\u306a\u3044\u306e\u3067\u305d\u3093\u306a\u611f\u3058\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<\/p>\n<p>192.168.x.x:1 \u3067\u63a5\u7d9a\u3002<\/p>\n<p><a href=\"http:\/\/www.kayakersweb.org\/sueblog\/wp-content\/uploads\/2014\/10\/SnapCrab_pis-X-desktop-raspberrypi1-TigerVNC_2014-10-18_9-45-54_No-00.png\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.kayakersweb.org\/sueblog\/wp-content\/uploads\/2014\/10\/SnapCrab_pis-X-desktop-raspberrypi1-TigerVNC_2014-10-18_9-45-54_No-00-300x235.png\" alt=\"SnapCrab_pi&#039;s X desktop (raspberrypi1) - TigerVNC_2014-10-18_9-45-54_No-00\" width=\"300\" height=\"235\" class=\"aligncenter size-medium wp-image-5263\" srcset=\"https:\/\/www.kayakersweb.org\/sueblog\/wp-content\/uploads\/2014\/10\/SnapCrab_pis-X-desktop-raspberrypi1-TigerVNC_2014-10-18_9-45-54_No-00-300x235.png 300w, https:\/\/www.kayakersweb.org\/sueblog\/wp-content\/uploads\/2014\/10\/SnapCrab_pis-X-desktop-raspberrypi1-TigerVNC_2014-10-18_9-45-54_No-00-600x470.png 600w, https:\/\/www.kayakersweb.org\/sueblog\/wp-content\/uploads\/2014\/10\/SnapCrab_pis-X-desktop-raspberrypi1-TigerVNC_2014-10-18_9-45-54_No-00.png 1080w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u7e4b\u304c\u3063\u305f\u3002<\/p>\n<p>\u3063\u3066\u3048\u3063\uff1f Mathmatica \u304c\u3042\u308b\u306e\u304b\uff1f<\/p>\n<p>\u3042\u308c\uff1f\u30bf\u30a4\u30e0\u30e9\u30d7\u30b9\u3082<a href=\"http:\/\/blog.cloudninja.asia\/?p=755\">\u3067\u304d\u305d\u3046<\/a>\u3058\u3083\u306a\u3044\u304b\uff01<\/p>\n<p>2014\/10\/26 \u8ffd\u8a18<\/p>\n<p>\u8d77\u52d5\u3059\u308b\u3068\u81ea\u52d5\u8d77\u52d5\u3057\u3066\u308b\u306e\u304b\u3068\u601d\u3063\u305f\u3089\u3057\u3066\u306a\u3044\u3058\u3083\u3093\u3053\u308c\u3002<\/p>\n<p>\u3093\uff5e&#8230;.<a href=\"http:\/\/www.raspberrypi.org\/documentation\/remote-access\/vnc\/\">raspberry pi \u306e\u30b5\u30a4\u30c8\u306b \u8aac\u660e<\/a>\u304c\u3042\u3063\u305f\u3002<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u6e08\u3093\u3067\u3044\u308b\u306e\u3067\u300cAutomation and run at boot\u300d\u306e\u4e0b\u300cTo run at boot:\u300d\u306e\u4e0b\u3042\u305f\u308a\u304b\u3089\u3002<\/p>\n<p>\u307e\u305a\u306f\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210<br \/>\n[code]<br \/>\npi@raspberrypi ~ $sudo vi \/etc\/init.d\/vncboot<br \/>\n### BEGIN INIT INFO<br \/>\n# Provides: vncboot<br \/>\n# Required-Start: $remote_fs $syslog<br \/>\n# Required-Stop: $remote_fs $syslog<br \/>\n# Default-Start: 2 3 4 5<br \/>\n# Default-Stop: 0 1 6<br \/>\n# Short-Description: Start VNC Server at boot time<br \/>\n# Description: Start VNC Server at boot time.<br \/>\n### END INIT INFO<\/p>\n<p>#! \/bin\/sh<br \/>\n# \/etc\/init.d\/vncboot<\/p>\n<p>USER=pi<br \/>\nHOME=\/home\/pi<\/p>\n<p>export USER HOME<\/p>\n<p>case &quot;$1&quot; in<br \/>\n start)<br \/>\n  echo &quot;Starting VNC Server&quot;<br \/>\n  #Insert your favoured settings for a VNC session<br \/>\n  su $USER -c &#8216;\/usr\/bin\/vncserver :1 -geometry 1280&#215;800 -depth 16 -pixelformat rgb565&#8217;<br \/>\n  ;;<\/p>\n<p> stop)<br \/>\n  echo &quot;Stopping VNC Server&quot;<br \/>\n  su $USER -c &#8216;\/usr\/bin\/vncserver -kill :1&#8217;<br \/>\n  ;;<\/p>\n<p> *)<br \/>\n  echo &quot;Usage: \/etc\/init.d\/vncboot {start|stop}&quot;<br \/>\n  exit 1<br \/>\n  ;;<br \/>\nesac<\/p>\n<p>exit 0<br \/>\n[\/code]<\/p>\n<p>\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u8a2d\u5b9a\u3057\u3066\u3001<br \/>\n[code]<br \/>\npi@raspberrypi ~ $sudo chmod 755 \/etc\/init.d\/vncboot<br \/>\n[\/code]<\/p>\n<p>\u81ea\u52d5\u8d77\u52d5\u306e\u8a2d\u5b9a\u3092\u8ffd\u52a0\u3057\u3066\u3001<br \/>\n[code]<br \/>\npi@raspberrypi ~ $sudo update-rc.d vncboot defaults<br \/>\n[\/code]<\/p>\n<p>\u3067\u304d\u305f\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u56de\u53c2\u8003\u306b\u3059\u308b\u30b5\u30a4\u30c8\u306f\u3053\u3061\u3089\u3002 \u30ab\u30e1\u30e9\u3067\u3082\u3064\u3051\u308b\uff1f\u3068\u601d\u3063\u3066\u898b\u3064\u3051\u305f\u30da\u30fc\u30b8\u3067\u3059\u3002\u30ad\u30fc\u30dc\u30fc\u30c9\u3082\u30de\u30a6\u30b9\u3082\u307e\u3060\u8cb7\u3063\u3066\u306a\u3044\u306e\u3067\u3068\u308a\u3042\u3048\u305a vnc \u5165\u308c\u3061\u3083\u3046\u3002 \u7d20\u76f4\u306b [code] sudo apt-get install tig [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","footnotes":""},"categories":[58],"tags":[],"class_list":["post-5250","post","type-post","status-publish","format-standard","hentry","category-raspberrypi"],"_links":{"self":[{"href":"https:\/\/www.kayakersweb.org\/sueblog\/wp-json\/wp\/v2\/posts\/5250","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kayakersweb.org\/sueblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kayakersweb.org\/sueblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kayakersweb.org\/sueblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kayakersweb.org\/sueblog\/wp-json\/wp\/v2\/comments?post=5250"}],"version-history":[{"count":6,"href":"https:\/\/www.kayakersweb.org\/sueblog\/wp-json\/wp\/v2\/posts\/5250\/revisions"}],"predecessor-version":[{"id":5306,"href":"https:\/\/www.kayakersweb.org\/sueblog\/wp-json\/wp\/v2\/posts\/5250\/revisions\/5306"}],"wp:attachment":[{"href":"https:\/\/www.kayakersweb.org\/sueblog\/wp-json\/wp\/v2\/media?parent=5250"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kayakersweb.org\/sueblog\/wp-json\/wp\/v2\/categories?post=5250"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kayakersweb.org\/sueblog\/wp-json\/wp\/v2\/tags?post=5250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}