{"id":2803,"date":"2024-07-21T13:44:53","date_gmt":"2024-07-21T04:44:53","guid":{"rendered":"https:\/\/weblog.hirohiro716.com\/?p=2803"},"modified":"2024-07-21T13:44:53","modified_gmt":"2024-07-21T04:44:53","slug":"ubuntu22-04%e3%82%92%e3%83%89%e3%83%a1%e3%82%a4%e3%83%b3%e5%8f%82%e5%8a%a0%e3%81%97%e3%81%a6xrdp%e3%81%a7%e6%8e%a5%e7%b6%9a%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/weblog.hirohiro716.com\/?p=2803","title":{"rendered":"Ubuntu22.04\u3092\u30c9\u30e1\u30a4\u30f3\u53c2\u52a0\u3057\u3066xrdp\u3067\u63a5\u7d9a\u3059\u308b"},"content":{"rendered":"<h4>\u524d\u63d0\u6761\u4ef6<\/h4>\n<p>\n\u203b\u30c9\u30e1\u30a4\u30f3\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u306eIP\u306f192.168.1.11<br \/>\n\u203b\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306eFQDN\u306fclient.ad.example.jp\n<\/p>\n<pre class=\"brush: plain; gutter: false; title: ; notranslate\" title=\"\">\r\n\u30fb Ubuntu: 22.04.4\r\n\u30fb realmd: 0.17.0\r\n<\/pre>\n<p>\nDNS\u3092\u30c9\u30e1\u30a4\u30f3\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u306b\u3059\u308b\u3002\n<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# nmcli connection modify &#x5B;\u63a5\u7d9a\u540d] ipv4.dns 192.168.1.11\r\n<\/pre>\n<p>\n\u30db\u30b9\u30c8\u540d\u3092FQDN\u306b\u3057\u3066\u304a\u304f\u3002\n<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# hostnamectl set-hostname client.ad.example.jp\r\n<\/pre>\n<p>\n\u30c9\u30e1\u30a4\u30f3\u306b\u53c2\u52a0\u3059\u308b\u305f\u3081\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002\n<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# apt install realmd\r\n<\/pre>\n<p>\n\u53c2\u52a0\u3059\u308b\u30c9\u30e1\u30a4\u30f3\u3092\u78ba\u8a8d\u3059\u308b\u3002\n<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# realm discover AD.EXAMPLE.JP\r\n<\/pre>\n<p>\n\u30c9\u30e1\u30a4\u30f3\u306b\u53c2\u52a0\u3059\u308b\u3002\n<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# realm join AD.EXAMPLE.JP\r\n<\/pre>\n<p>\nxrdp\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3001\u6709\u52b9\u5316\u3057\u3066\u8d77\u52d5\u3059\u308b\u3002\n<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# apt install xrdp\r\n# systemctl enable --now xrdp\r\n<\/pre>\n<p>\n\u3053\u306e\u307e\u307e\u3067\u3082GUI\u30ed\u30b0\u30a4\u30f3\u3084ssh\u3067\u306e\u30ed\u30b0\u30a4\u30f3\u306f\u554f\u984c\u306a\u3044\u304c\u3001xrdp\u306b\u30c9\u30e1\u30a4\u30f3\u30e6\u30fc\u30b6\u30fc\u3067\u8a8d\u8a3c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u306a\u304b\u3063\u305f\u306e\u3067\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u30922\u7b87\u6240\u5909\u66f4\u3057\u305f\u3002<\/p>\n<pre class=\"brush: plain; title: \/etc\/sssd\/sssd.conf; notranslate\" title=\"\/etc\/sssd\/sssd.conf\">\r\n\u2026\r\n# \u30c9\u30e1\u30a4\u30f3\u540d\u3092\u7701\u7565\u3057\u3066\u30ed\u30b0\u30a4\u30f3\r\n# xrdp\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u30c9\u30e1\u30a4\u30f3\u540d\u3092\u89e3\u91c8\u3057\u3066\u304f\u308c\u306a\u3044\r\n#use_fully_qualified_names = True\r\nuse_fully_qualified_names = False\r\n\u2026\r\n# xrdp\u30bb\u30c3\u30b7\u30e7\u30f3\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u306e\u30b5\u30fc\u30d3\u30b9\u540d\u3092\u6307\u5b9a\r\nad_gpo_map_remote_interactive = +xrdp-sesman\r\n<\/pre>\n<p>\nsssd\u3092\u518d\u8d77\u52d5\u3059\u308b\u3002\n<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# systemctl restart sssd\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u63d0\u6761\u4ef6 \u203b\u30c9\u30e1\u30a4\u30f3\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u306eIP\u306f192.168.1.11 \u203b\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306eFQDN\u306fclient.ad.example.jp \u30fb Ubuntu: 22.04.4 \u30fb realmd: 0.17.0 DNS\u3092\u30c9\u30e1\u30a4 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-2803","post","type-post","status-publish","format-standard","hentry","category-ubuntu"],"views":1242,"_links":{"self":[{"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=\/wp\/v2\/posts\/2803","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2803"}],"version-history":[{"count":12,"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=\/wp\/v2\/posts\/2803\/revisions"}],"predecessor-version":[{"id":2815,"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=\/wp\/v2\/posts\/2803\/revisions\/2815"}],"wp:attachment":[{"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2803"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2803"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/weblog.hirohiro716.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2803"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}