{"id":2138,"date":"2018-11-07T23:15:59","date_gmt":"2018-11-07T14:15:59","guid":{"rendered":"https:\/\/www.dogrow.net\/linux\/?p=2138"},"modified":"2018-11-07T23:30:02","modified_gmt":"2018-11-07T14:30:02","slug":"blog106","status":"publish","type":"post","link":"https:\/\/www.dogrow.net\/linux\/blog106\/","title":{"rendered":"(106) Intel NUC\u3092 VNC\u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u3067\u4f7f\u3046\u3002"},"content":{"rendered":"<h1 class=\"my_h\">1. \u3084\u308a\u305f\u3044\u3053\u3068<\/h1>\n<p>Linux\u30de\u30b7\u30f3\u3092\u4f5c\u308b\u305f\u3073\u306b\u3084\u308b\u3053\u3068\u3002<\/p>\n<p>\u305d\u308c\u306f&#8230;<br \/>\n<span class=\"my_fc_deeppink my_fs_big3\">Linux\u30de\u30b7\u30f3\u306b VNC\u3092\u5165\u308c\u3066 Windows\u30d1\u30bd\u30b3\u30f3\u4e0a\u306e GUI\u3067\u64cd\u4f5c\u3059\u308b\u3053\u3068\u3002<\/span><\/p>\n<p>\u65b0\u3057\u304f Intel NUC Linux\u30de\u30b7\u30f3\u3092\u4f5c\u3063\u305f\u306e\u3067\u3001\u4eca\u56de\u3082\u3053\u308c\u3092\u3084\u308b\u3002<\/p>\n<p>\u95a2\u9023\u3059\u308b\u904e\u53bb\u8a18\u4e8b\u306f\u3053\u3061\u3089\u3002<br \/>\n<a href=\"https:\/\/www.dogrow.net\/linux\/vnc\/\" target=\"_blank\">VNC\u306b\u95a2\u9023\u3059\u308b\u6295\u7a3f\u4e00\u89a7<\/a><\/p>\n<h1 class=\"my_h\">2. \u3084\u3063\u3066\u307f\u308b\uff01<\/h1>\n<h2 class=\"my_h\">(1) Intel NUC\u4e0a\u3067\u3084\u308b\u3053\u3068<\/h2>\n<h3 class=\"my_h\">1) Intel NUC\u306e Ubuntu\u306b VNC\u30b5\u30fc\u30d0\u30fc\u3092\u5165\u308c\u308b\u3002<\/h3>\n<p>VNC\u30b5\u30fc\u30d0\u30fc\u306f\u3069\u3061\u3089\u3067\u3082\u3088\u3044\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo apt install vnc4server\r\n<\/pre>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo apt install tightvncserver\r\n<\/pre>\n<h3 class=\"my_h\">2) Intel NUC\u306e Ubuntu\u306b Window Manager\u3092\u5165\u308c\u308b\u3002<\/h3>\n<p>\u3053\u3053\u3067\u306f LXDE\u3092\u5165\u308c\u308b\u3002GNOME\u3067\u3082 KDE\u3067\u3082 XFCE\u3067\u3082\u4f55\u3067\u3082\u3088\u3044\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo apt install lxde-core\r\n<\/pre>\n<h3 class=\"my_h\">3) xstartup\u3092\u66f8\u304d\u63db\u3048\u308b\u3002<\/h3>\n<p>\u307e\u305a\u4e00\u5ea6 vncserver \u3092\u8d77\u52d5\u3059\u308b\u3002<br \/>\nVNC\u306b\u63a5\u7d9a\u3059\u308b\u305f\u3081\u306e\u4efb\u610f\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3059\u308b\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nvncserver\r\n<\/pre>\n<p>VNC\u30b5\u30fc\u30d0\u30fc\u3092\u7d42\u4e86\u3059\u308b\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nvncserver -kill :1\r\n<\/pre>\n<p>xstartup\u3092\u66f8\u304d\u63db\u3048\u308b\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\ncd ~\/.vnc\r\ncp xstartup xstartup.org\r\nvi xstartup\r\n<\/pre>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304d\u63db\u3048\u308b\u3002\uff08Window Manager\u306b LXDE\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\uff09<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n#!\/bin\/bash\r\nxrdb $HOME\/.Xresources\r\nlxsession -s LXDE &amp;\r\n<\/pre>\n<h3 class=\"my_h\">4) firewall\u306b\u7a74\u3092\u3042\u3051\u308b\u3002<\/h3>\n<p>VNC\u30b5\u30fc\u30d0\u30fc\u306f <span class=\"my_fc_deeppink\">5900 + \u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u756a\u53f7<\/span> \u306e\u30dd\u30fc\u30c8\u3092\u4f7f\u3046\u3002<\/p>\n<p>\u8077\u5834\u3067\u8907\u6570\u4eba\u3067\u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u3092\u4f7f\u3046\u5834\u5408\u306f\u3001\u8907\u6570\u306e\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u756a\u53f7\u304c\u5b58\u5728\u3057\u5f97\u308b\u3002<br \/>\n\u4eca\u56de\u306e Intel NUC\u306f\u81ea\u5206\u5c02\u7528\u3067\u30ea\u30e2\u30fc\u30c8\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u3082 1\u500b\u3057\u304b\u4f7f\u308f\u306a\u3044\u304b\u3089\u3001\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u756a\u53f7\u306f 1\u56fa\u5b9a\u3068\u3059\u308b\u3002<\/p>\n<p>\u3088\u3063\u3066&#8230;<br \/>\nfirewall\u3067\u30dd\u30fc\u30c8\u756a\u53f7 <span class=\"my_fc_deeppink\">5901 \/ TCP<\/span> \u3092\u8a31\u53ef\u3059\u308b\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nsudo ufw allow 5901\/tcp\r\n\r\nsudo systemctl restart ufw\r\nsudo systemctl status ufw\r\n\r\nsudo ufw status\r\n<\/pre>\n<h3 class=\"my_h\">5) vncserver\u3092\u8d77\u52d5\u3059\u308b\u3002\uff08\u672c\u756a\uff09<\/h3>\n<p>vncserver \u3092\u8d77\u52d5\u3059\u308b\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nvncserver\r\n<\/pre>\n<p>\u8d77\u52d5\u6642\u306b\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u306e\u5927\u304d\u3055\u3084\u8272\u6df1\u5ea6\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3060\u3002<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nvncserver -geometry 1920x1080 -depth 16\r\n<\/pre>\n<h2 class=\"my_h\">(2) Windows\u30d1\u30bd\u30b3\u30f3\u4e0a\u3067\u3084\u308b\u3053\u3068<\/h2>\n<p>VNC Viewer\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff06\u8a2d\u5b9a\u3059\u308b\u3002<br \/>\n\u3053\u308c\u306b\u3064\u3044\u3066\u306f\u4e0b\u8a18\u306e\u904e\u53bb\u8a18\u4e8b\u3092\u53c2\u7167\u306e\u3053\u3068\u3002<\/p>\n<p><a href=\"https:\/\/www.dogrow.net\/linux\/blog46\/\" target=\"_blank\">(46) VNC Viewer 6.0.2\u306b\u5165\u308c\u66ff\u3048\u308b\u3002<\/a><\/p>\n<h1 class=\"my_h\">3. \u6240\u611f<\/h1>\n<p>\u30fb\u3044\u3064\u3082\u306e\u3053\u3068\u306a\u304c\u3089\u3001\u3053\u308c\u3092\u7121\u6599\u3067\u63d0\u4f9b\u3057\u3066\u304f\u308c\u3066\u3044\u308b\u3053\u3068\u306b\u611f\u8b1d\u3067\u3059\u3002<br \/>\n\u30fb\u6614\u306f 10\u4e07\u5186\u8fd1\u304f\u51fa\u3057\u3066 X-Window\u30a2\u30d7\u30ea\u3092\u8cb7\u3063\u3066\u3044\u305f\u3088\u3046\u306b\u8a18\u61b6\u3057\u3066\u3044\u307e\u3059\u3002\uff08\u3082\u3061\u308d\u3093\u500b\u4eba\u3067\u306f\u306a\u304f\u4f1a\u793e\u3067\u3067\u3059\u304c\uff09<br \/>\n\u30fb\u3067\u3082\u3001\u3082\u3063\u3068\u30ea\u30c3\u30c1\u306a Window Manager\u306b\u5165\u308c\u66ff\u3048\u305f\u3044\u306a\u3041&#8230; \u3044\u3064\u304b\u3084\u3063\u3066\u307f\u3088\u3046\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.dogrow.net\/linux\/wp-content\/uploads\/2018\/11\/001-5.png\" alt=\"\" \/><\/p>\n<h1 class=\"my_h\">4. \u53c2\u8003\u60c5\u5831<\/h1>\n<p>\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059\u3002 m(_ _)m<br \/>\n<a href=\"http:\/\/blog.algolab.jp\/post\/2016\/08\/22\/ubuntu-tightvnc-server\/\" target=\"_blank\">http:\/\/blog.algolab.jp\/post\/2016\/08\/22\/ubuntu-tightvnc-server\/<\/a><\/p>\n<hr class=\"my_hr_bottom\">\n","protected":false},"excerpt":{"rendered":"<p>1. \u3084\u308a\u305f\u3044\u3053\u3068 Linux\u30de\u30b7\u30f3\u3092\u4f5c\u308b\u305f\u3073\u306b\u3084\u308b\u3053\u3068\u3002 \u305d\u308c\u306f&#8230; Linux\u30de\u30b7\u30f3\u306b VNC\u3092\u5165\u308c\u3066 Windows\u30d1\u30bd\u30b3\u30f3\u4e0a\u306e GUI\u3067\u64cd\u4f5c\u3059\u308b\u3053\u3068\u3002 \u65b0\u3057\u304f Intel NUC Linux\u30de\u30b7\u30f3\u3092\u4f5c\u3063\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.dogrow.net\/linux\/blog106\/\">\u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[117,7],"tags":[],"class_list":["post-2138","post","type-post","status-publish","format-standard","hentry","category-intel-nuc","category-vnc"],"views":4044,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/posts\/2138","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/comments?post=2138"}],"version-history":[{"count":10,"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/posts\/2138\/revisions"}],"predecessor-version":[{"id":2151,"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/posts\/2138\/revisions\/2151"}],"wp:attachment":[{"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/media?parent=2138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/categories?post=2138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dogrow.net\/linux\/wp-json\/wp\/v2\/tags?post=2138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}