{"id":15883,"date":"2024-01-31T07:29:18","date_gmt":"2024-01-30T22:29:18","guid":{"rendered":"https:\/\/lab4ict.com\/system\/?p=15883"},"modified":"2024-01-31T07:31:42","modified_gmt":"2024-01-30T22:31:42","slug":"rhel-8%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\/15883","title":{"rendered":"RHEL 8\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>RHEL 8\u3092\u300cServer with GUI\u300d\u3067\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\uff01<\/h2>\n<p>RHEL 8\u3092\u300cServer with GUI\u300d\u3067\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u5f8c\u304b\u3089\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5834\u5408\u306f\u3001\u300cdnf group install \"Server with GUI\"\u300d\u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<h2>\u74b0\u5883\u3092\u78ba\u8a8d\u3059\u308b\uff01<\/h2>\n<p>TigerVNC\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ hostnamectl\r\n   Static hostname: vmsrhe11.loc.lab4ict.com\r\n         Icon name: computer-vm\r\n           Chassis: vm\r\n        Machine ID: 1b376bee9ce244d2a1ede743dadfd4a5\r\n           Boot ID: 1642c0a075dd4168ace0cd31de063c00\r\n    Virtualization: oracle\r\n  Operating System: Red Hat Enterprise Linux 8.9 (Ootpa)\r\n       CPE OS Name: cpe:\/o:redhat:enterprise_linux:8::baseos\r\n            Kernel: Linux 4.18.0-372.9.1.el8.x86_64\r\n      Architecture: x86-64\r\n<\/pre>\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:20 ago on Wed 31 Jan 2024 07:05:34 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.13.1-2.el8_9.7             rhel-8-for-x86_64-appstream-rpms          279 k\r\nInstalling dependencies:\r\n tigervnc-selinux          noarch          1.13.1-2.el8_9.7             rhel-8-for-x86_64-appstream-rpms           51 k\r\n\r\nTransaction Summary\r\n========================================================================================================================\r\nInstall  2 Packages\r\n\r\nTotal download size: 330 k\r\nInstalled size: 625 k\r\nIs this ok &#x5B;y\/N]: y\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>\u8d77\u52d5\u4e2d\u306eTigerVNC\u3092\u4e00\u89a7\u8868\u793a\u3059\u308b\uff01<\/h2>\n<p>\u8d77\u52d5\u4e2d\u306eTigerVNC\u3092\u4e00\u89a7\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ vncserver -list\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\nTigerVNC server sessions:\r\n\r\nX DISPLAY #\tPROCESS ID\r\n:1\t\t108604\r\n<\/pre>\n<h2>TigerVNC\u3092\u505c\u6b62\u3059\u308b\uff01<\/h2>\n<p>TigerVNC\u3092\u505c\u6b62\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; highlight: [1]; title: ; notranslate\" title=\"\">\r\n$ vncserver -kill :1\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\nKilling Xvnc process ID 108604\r\n<\/pre>\n<h2>\u304a\u308f\u308a\u306b<\/h2>\n<p>RHEL 8\u3067VNC\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u3001VNC\u30b5\u30fc\u30d0\u3068\u3057\u3066TigerVNC\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\/11526\" ><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 8\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 8\u3092\u4f7f\u3044\u3053\u306a\u3059\uff01<\/div><div class=\"substr\">RHEL 8\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,315,899,606,52],"class_list":["post-15883","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vnc","tag-linux","tag-rhel","tag-rhel-8","tag-tigervnc","tag-vnc","tag-52"],"_links":{"self":[{"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/15883","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=15883"}],"version-history":[{"count":4,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/15883\/revisions"}],"predecessor-version":[{"id":15888,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/posts\/15883\/revisions\/15888"}],"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=15883"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/categories?post=15883"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lab4ict.com\/system\/wp-json\/wp\/v2\/tags?post=15883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}