{"id":4668,"date":"2026-09-07T12:06:15","date_gmt":"2026-09-07T03:06:15","guid":{"rendered":"https:\/\/www.kinryo.net\/?p=4668"},"modified":"2026-09-07T13:05:47","modified_gmt":"2026-09-07T04:05:47","slug":"%e5%a4%a7%e5%a4%89%e3%81%a0%e3%83%bc-vnc%e3%81%8c%e3%81%a4%e3%81%aa%e3%81%8c%e3%82%89%e3%81%aa%e3%81%84","status":"publish","type":"post","link":"https:\/\/www.kinryo.net\/?p=4668","title":{"rendered":"\u5927\u5909\u3060\u30fc VNC\u304c\u3064\u306a\u304c\u3089\u306a\u3044"},"content":{"rendered":"\r\n<p class=\"wp-block-paragraph\">\uff12\uff10\uff12\uff16\u5e74\uff19\u6708\uff15\u306b\u30b5\u30fc\u30d0\u30fc\u3092\u518d\u8d77\u52d5\u3057\u305f\u3089\u3001VNC\u30b5\u30fc\u30d0\u30fc\u306b\u63a5\u7d9a\u3067\u304d\u306a\u304f\u306a\u3063\u305f\u3002\u3053\u306e\u65e5\u306f\u571f\u66dc\u65e5\u306a\u306e\u3067\u3001\u4ed5\u65b9\u306a\u3057\u306b\u4f1a\u793e\u306b\u884c\u304f\u3002\u3066\u3063\u304d\u308a\u30e1\u30a4\u30f3\u306e\u30b5\u30fc\u30d0\u30fc\u304c\u8d77\u52d5\u3057\u3066\u3044\u306a\u3044\u3068\u601d\u3063\u3066\u305f\u304c\u3001\u8d77\u52d5\u3057\u3066\u3044\u308b\u3002\u30b5\u30d6\u30db\u30b9\u30c8\u3082\u8d77\u52d5\u3057\u3066\u3044\u308b\u306e\u3067\u30c6\u30b9\u30c8\u4e2d\u306eRails\u30a2\u30d7\u30ea\u3082\u6b63\u5e38\u306b\u898b\u3048\u3066\u3044\u308b\u3002\u3060\u3063\u305f\u3089\u3068\u3001\u3067\u3082\u30b5\u30fc\u30d0\u30fc\u306b\u76f4\u63a5\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u3068\u30ed\u30b0\u30a4\u30f3\u51fa\u6765\u306a\u3044\uff01<br \/>\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u3088\u304f\u899a\u3048\u3066\u306a\u3044\u304c\u3001\u3069\u3046\u3082\u6b8b\u9ab8\u304c\u6b8b\u3063\u3066\u3044\u308b\u898b\u305f\u3044\u306a\u8868\u793a\u3060\u3063\u305f\u3001\u4ed6\u306e\u30e6\u30fc\u30b6\u3067\u3082\u540c\u3058\u3067\u30ed\u30b0\u30a4\u30f3\u51fa\u6765\u306a\u3044\u3001<strong><span style=\"color: #ff6600;\">\uff13\u3064\u306e\u30e6\u30fc\u30b6\u30fc\u306e\u5185\u3001\u4e00\u3064\u3060\u3051\u30ed\u30b0\u30a4\u30f3\u51fa\u6765\u305f\uff1f\uff08\uff36\uff2e\uff23\u3092\u4f7f\u3063\u3066\u3044\u306a\u3044\u30e6\u30fc\u30b6\uff09<\/span><\/strong>\u306a\u306e\u3067pkill\u3067\u6b8b\u9ab8\u3092\u6d88\u3059\uff08\u540d\u524d\u3092\u6307\u5b9a\u3057\u3066\u30d7\u30ed\u30bb\u30b9\u3092\u7d42\u4e86\u3055\u305b\u308b\u3001\u30b3\u30de\u30f3\u30c9\uff09<br \/><span style=\"color: #ff6600;\">$<\/span> <span style=\"color: #008000;\">sudo pkill -KILL -u \u30e6\u30fc\u30b6\u540d<\/span><br \/>\u3067\u3001\u4e8c\u3064\u306e\u30e6\u30fc\u30b6\u3092\u6307\u5b9a\u3057\u305f\u3002<br \/>\u305d\u308c\u3067\u305d\u308c\u305e\u308c\u30ed\u30b0\u30a4\u30f3\u306f\u51fa\u6765\u305f\u3002\u8272\u3005\u8abf\u3079\u308b\u3068\u3001\u7406\u7531\u306f\u4e0d\u660e\u3060\u304cVNC\u30b5\u30fc\u30d0\u3092\u8d77\u52d5\u6642\u306bSTART\u3057\u3066\u3044\u308b\u306e\u304c\u554f\u984c\u3060\u3063\u305f\u306e\u3067\u3001<br \/><span style=\"color: #ff6600;\">$<\/span> <span style=\"color: #008000;\">sudo systemctl disable vncserver@:1<\/span> (\u6ce8\uff1a1\u306fPORT 5901\u3001\u6570\u5b57\u306f\u81ea\u5206\u306e\u74b0\u5883\u306b\u5408\u308f\u305b\u308b\uff09<br \/>\u305d\u3057\u3066\u3001\u30b5\u30fc\u30d0\u30fc\u3092\u518d\u8d77\u52d5\u3001\u4eca\u5ea6\u306f\u5168\u54e1\u30ed\u30b0\u30a4\u30f3\u51fa\u6765\u305f\u3002<br \/>\u3067\u3082\u3001\u307e\u3060VNC\u306b\u7e4b\u304c\u3089\u306a\u3044\u3002\u3084\u3063\u3068<a href=\"https:\/\/github.com\/TigerVNC\/tigervnc\/issues\/117\">https:\/\/github.com\/TigerVNC\/tigervnc\/issues\/117<\/a> \u306b\u305f\u3069\u308a\u7740\u3044\u305f\u3002GOOGLE\u306eAI\u306b\u3088\u308b\u3068\u3001<span style=\"color: #ff00ff;\">In AlmaLinux 9.8, the default TigerVNC server configuration binds exclusively to <code>localhost<\/code> (<code>127.0.0.1<\/code>) for enhanced security. To allow direct external remote connections without forcing an SSH tunnel, you must explicitly disable this behavior by setting <strong><code>localhost=no<\/code><\/strong><\/span>\u3000\u3068\u66f8\u3044\u3066\u3042\u308b\u3002\u3053\u308c\u304c\u539f\u56e0\u3067\u3064\u306a\u304c\u3089\u306a\u3044\u3002\u65e9\u901f\u3001\u5404\u30e6\u30fc\u30b6\u306e\u30db\u30fc\u30e0\u306b\u3042\u308b .vnc\/config \u3092\u5909\u66f4\u3059\u308b<br \/><span style=\"color: #ff6600;\">$<\/span> <span style=\"color: #008000;\">gedit ~\/.vnc\/config<\/span><br \/><span style=\"color: #0000ff;\"># \u65b0\u898f\u4f5c\u6210<\/span><br \/><span style=\"color: #0000ff;\"># session=(\u4f7f\u7528\u3059\u308b\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u30de\u30cd\u30fc\u30b8\u30e3\u30fc)<\/span><br \/><span style=\"color: #0000ff;\"># securitytypes=(\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30aa\u30d7\u30b7\u30e7\u30f3)<\/span><br \/><span style=\"color: #0000ff;\"># geometry=(\u753b\u9762\u306e\u30b5\u30a4\u30ba)<\/span><br \/><span style=\"color: #0000ff;\">session=gnome<\/span><br \/><span style=\"color: #0000ff;\">securitytypes=vncauth,tlsvnc<\/span><br \/><span style=\"color: #0000ff;\">geometry=1920&#215;900<\/span><br \/><span style=\"color: #0000ff;\">localhost=no\u00a0<\/span> \u00a0 \u00a0 \u00a0<span style=\"color: #ff0000;\">\u3053\u308c\u3092\u8ffd\u8a18<\/span><br \/>\u3053\u308c\u3067\u3001\uff36\uff2e\uff23\u3092\u30b9\u30bf\u30fc\u30c8\u3059\u308b<br \/><span style=\"color: #ff6600;\">$<\/span> <span style=\"color: #008000;\">sudo systemctl start vncserver@:1 vncserver@:2<\/span><br \/>\u3053\u308c\u3067\u3084\u3063\u3068\u51fa\u6765\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002<\/p>\r\n<p>\u3067\u3082\u3001\u3053\u308c\u304b\u3089\u306f\u3001\u518d\u8d77\u52d5\u5f8c\u306f\u4e00\u5ea6\u3001\uff33\uff33\uff28\u3067\u30b5\u30fc\u30d0\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3001\uff36\uff2e\uff23\u30b5\u30fc\u30d0\u3092\u30b9\u30bf\u30fc\u30c8\u3057\u3066\u304b\u3089\u51fa\u306a\u3044\u3068\u3001\uff36\uff2e\uff23\u304c\u51fa\u6765\u306a\u3044<\/p>\r\n<p><span style=\"color: #ff0000;\">2026\/9\/7 \u8ffd\u8a18<\/span><br \/>\u3069\u3046\u3082\u3001OS\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30fc\u304c\u53b3\u3057\u304f\u306a\u3063\u305f\u307f\u305f\u3044\u3067\u3001VNC\u30b5\u30fc\u30d0\u3092\u30b9\u30bf\u30fc\u30c8\u3057\u3001\u30e6\u30fc\u30b6\u306f\u5b9f\u969b\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u306a\u304f\u3066\u3082\u3001\u7aef\u672b\u306b\u30ed\u30b0\u30a4\u30f3\u51fa\u6765\u306a\u3044\u3088\u3046\u3060\u3002<br \/>\u306a\u306e\u3067\u3001<span style=\"color: #008000;\"> systemctl enable vncserver@:1<\/span> \u3068\u3001\u5143\u306b\u623b\u3057\u305f\u5ff5\u306e\u305f\u3081\u306bVNC\u3092\u4f7f\u308f\u306a\u3044\u30e6\u30fc\u30b6\u3092\u3082\u3046\u4e00\u4eba\u5897\u3084\u3057\u3066\u304a\u3044\u305f\u3002<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>\uff12\uff10\uff12\uff16\u5e74\uff19\u6708\uff15\u306b\u30b5\u30fc\u30d0\u30fc\u3092\u518d\u8d77\u52d5\u3057\u305f\u3089\u3001VNC\u30b5\u30fc\u30d0\u30fc\u306b\u63a5\u7d9a\u3067\u304d\u306a\u304f\u306a\u3063\u305f\u3002\u3053\u306e\u65e5\u306f\u571f\u66dc\u65e5\u306a\u306e\u3067\u3001\u4ed5\u65b9\u306a\u3057\u306b\u4f1a\u793e\u306b\u884c\u304f\u3002\u3066\u3063\u304d\u308a\u30e1\u30a4\u30f3\u306e\u30b5\u30fc\u30d0\u30fc\u304c\u8d77\u52d5\u3057\u3066\u3044\u306a\u3044\u3068\u601d\u3063\u3066\u305f\u304c\u3001\u8d77\u52d5\u3057\u3066\u3044\u308b\u3002\u30b5\u30d6\u30db\u30b9\u30c8\u3082\u8d77\u52d5\u3057\u3066\u3044\u308b\u306e\u3067\u30c6 &hellip; <a href=\"https:\/\/www.kinryo.net\/?p=4668\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","sitemap_hide":"","_veu_custom_css":"","veu_display_promotion_alert":"common","vkexunit_cta_each_option":"","footnotes":""},"categories":[10],"tags":[],"class_list":["post-4668","post","type-post","status-publish","format-standard","hentry","category-linux"],"acf":[],"veu_head_title_object":{"title":"","add_site_title":""},"_links":{"self":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/4668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4668"}],"version-history":[{"count":6,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/4668\/revisions"}],"predecessor-version":[{"id":4674,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=\/wp\/v2\/posts\/4668\/revisions\/4674"}],"wp:attachment":[{"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4668"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4668"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kinryo.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}