{"id":13697,"date":"2023-08-13T11:13:54","date_gmt":"2023-08-13T02:13:54","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=13697"},"modified":"2023-08-27T23:35:41","modified_gmt":"2023-08-27T14:35:41","slug":"rhel-9%e3%81%abvnc%e3%82%b5%e3%83%bc%e3%83%90%ef%bc%88tigervnc%ef%bc%89%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%99%e3%82%8b%ef%bc%81","status":"publish","type":"post","link":"https:\/\/lab4ict.com\/system\/archives\/13697","title":{"rendered":"RHEL 9\u306bVNC\u30b5\u30fc\u30d0\uff08TigerVNC\uff09\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01"},"content":{"rendered":"<p>RHEL 9\u306bVNC\u30b5\u30fc\u30d0\uff08TigerVNC\uff09\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<br \/>\n<!--more--><\/p>\n<h2>TigerVNC\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01<\/h2>\n<p>\u6a19\u6e96\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u3001TigerVNC\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ sudo dnf install tigervnc-server\r\nUpdating Subscription Management repositories.\r\nLast metadata expiration check: 0:16:42 ago on Sun 13 Aug 2023 10:24:24 AM JST.\r\nDependencies resolved.\r\n========================================================================================================================\r\n Package                        Architecture  Version                     Repository                               Size\r\n========================================================================================================================\r\nInstalling:\r\n tigervnc-server                x86_64        1.12.0-13.el9_2             rhel-9-for-x86_64-appstream-rpms        265 k\r\nInstalling dependencies:\r\n dbus-x11                       x86_64        1:1.12.20-7.el9_1           rhel-9-for-x86_64-appstream-rpms         26 k\r\n tigervnc-license               noarch        1.12.0-13.el9_2             rhel-9-for-x86_64-appstream-rpms         17 k\r\n tigervnc-selinux               noarch        1.12.0-13.el9_2             rhel-9-for-x86_64-appstream-rpms         26 k\r\n tigervnc-server-minimal        x86_64        1.12.0-13.el9_2             rhel-9-for-x86_64-appstream-rpms        1.1 M\r\n\r\nTransaction Summary\r\n========================================================================================================================\r\nInstall  5 Packages\r\n...\r\nComplete!\r\n<\/pre>\n<h2>VNC\u30b5\u30fc\u30d0\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3059\u308b\uff01<\/h2>\n<p>vncpasswd\u30b3\u30de\u30f3\u30c9\u3067\u3001VNC\u30b5\u30fc\u30d0\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ vncpasswd\r\nPassword:\r\nVerify:\r\nWould you like to enter a view-only password (y\/n)? n\r\nA view-only password is not used\r\n<\/pre>\n<h2>Firewalld\u306e\u901a\u4fe1\u8a31\u53ef\u8a2d\u5b9a\u3092\u884c\u3046\uff01<\/h2>\n<p>VNC\u306e\u63a5\u7d9a\u3067\u4f7f\u7528\u3059\u308b\u901a\u4fe1\u3092\u8a31\u53ef\u3057\u307e\u3059\u3002\u901a\u5e38\u30015901\u304b\u3089\u4f7f\u7528\u958b\u59cb\u3055\u308c\u308b\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u4ee5\u4e0b\u306e\u4f8b\u3067\u306f5900-5909\u3092\u8a31\u53ef\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ sudo firewall-cmd --permanent --add-port=5900-5909\/tcp\r\nsuccess\r\n$ sudo firewall-cmd --reload\r\nsuccess\r\n$ sudo firewall-cmd --list-ports\r\n5900-5909\/tcp\r\n<\/pre>\n<h2>TigerVNC\u3092\u8d77\u52d5\u3059\u308b\uff01<\/h2>\n<p>TigerVNC\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u4f8b\u306e\u5834\u5408\u30015901\u756a\u30dd\u30fc\u30c8\u3067\u3001VNC\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089\u63a5\u7d9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ vncserver\r\n\r\nWARNING: vncserver has been replaced by a systemd unit and is now considered deprecated and removed in upstream.\r\nPlease read \/usr\/share\/doc\/tigervnc\/HOWTO.md for more information.\r\n\r\nNew 'dpc011p1.loc.lab4ict.com:1 (usradmin)' desktop is dpc011p1.loc.lab4ict.com:1\r\n\r\nStarting applications specified in \/home\/usradmin\/.vnc\/xstartup\r\nLog file is \/home\/usradmin\/.vnc\/dpc011p1.loc.lab4ict.com:1.log\r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>RHEL 9\u3067\u306f\u3001VNC\u30b5\u30fc\u30d0\u3068\u3057\u3066\u3001TigerVNC\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<h2>\u53c2\u8003\u60c5\u5831<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.redhat.com\/en\/technologies\/linux-platforms\/enterprise-linux\" target=\"_blank\" rel=\"noopener\">Red Hat Enterprise Linux<\/a><\/li>\n<\/ul>\n<h2>\u95a2\u9023\u8a18\u4e8b<\/h2>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/14461\" ><div class=\"sc_getpost_thumb post-box-thumbnail__wrap\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODdhAQABAPAAAN3d3QAAACwAAAAAAQABAAACAkQBADs=\" width=\"150\" height=\"150\" alt=\"\u3010\u8a18\u4e8b\u4e00\u89a7\u3011VNC\u3067\u30ea\u30e2\u30fc\u30c8\u64cd\u4f5c\u3059\u308b\uff01\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2018\/06\/fia0000001-150x150.gif\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011VNC\u3067\u30ea\u30e2\u30fc\u30c8\u64cd\u4f5c\u3059\u308b\uff01<\/div><div class=\"substr\">VNC\u3067\u30ea\u30e2\u30fc\u30c8\u64cd\u4f5c\u3059\u308b\u305f\u3081\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<div class=\"sc_getpost\"><a class=\"clearfix\" href=\"https:\/\/lab4ict.com\/system\/archives\/11531\" ><div class=\"sc_getpost_thumb post-box-thumbnail__wrap\"><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODdhAQABAPAAAN3d3QAAACwAAAAAAQABAAACAkQBADs=\" width=\"150\" height=\"150\" alt=\"\u3010\u8a18\u4e8b\u4e00\u89a7\u3011RHEL 9\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01\" loading=\"lazy\" data-src=\"https:\/\/lab4ict.com\/system\/wp-content\/uploads\/2022\/04\/fi_rhel_01-150x150.png\" class=\"lazyload\"><\/div><div class=\"title\">\u3010\u8a18\u4e8b\u4e00\u89a7\u3011RHEL 9\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01<\/div><div class=\"substr\">RHEL 9\u3092\u4f7f\u3044\u3053\u306a\u3059\u305f\u3081\u306e\u8a18\u4e8b\u4e00\u89a7\u3092\u63b2\u8f09\u3057\u307e\u3059\u3002...<\/div><\/a><\/div>\n<h2>\u95a2\u9023\u66f8\u7c4d\uff08Amazon\uff09<\/h2>\n<p><a href=\"https:\/\/amzn.to\/3H8WqP7\" rel=\"noopener\" target=\"_blank\"><img decoding=\"async\" class=\"paapi5-pa-product-image-source lazyload\" data-src=\"https:\/\/m.media-amazon.com\/images\/I\/41Hsgz5kRSL._SL160_.jpg\" alt=\"N\/A\"><\/a><\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>RHEL 9\u306bVNC\u30b5\u30fc\u30d0\uff08TigerVNC\uff09\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":642,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[954],"tags":[282,308,898,899,606,52],"class_list":["post-13697","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vnc","tag-linux","tag-rhel","tag-rhel-9","tag-tigervnc","tag-vnc","tag-52"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/13697","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/comments?post=13697"}],"version-history":[{"count":9,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/13697\/revisions"}],"predecessor-version":[{"id":14465,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/13697\/revisions\/14465"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media\/642"}],"wp:attachment":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/media?parent=13697"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=13697"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=13697"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}