{"id":1937,"date":"2023-02-28T14:06:50","date_gmt":"2023-02-28T06:06:50","guid":{"rendered":"http:\/\/www.algmain.com\/?p=1937"},"modified":"2023-02-28T14:08:04","modified_gmt":"2023-02-28T06:08:04","slug":"centos-xrdp","status":"publish","type":"post","link":"http:\/\/www.algmain.com\/index.php\/2023\/02\/28\/centos-xrdp\/","title":{"rendered":"CentOS\u5b89\u88c5\u8fdc\u7a0b\u684c\u9762(XRDP)"},"content":{"rendered":"\n<p>\u73b0\u5728\u5927\u90e8\u5206\u670d\u52a1\u7aef\u5e94\u7528\u90fd\u662f\u8fd0\u884c\u5728Linux\u4e0a\u7684\uff0c\u6240\u4ee5\u4f7f\u7528Linux\u64cd\u4f5c\u7cfb\u7edf\u6765\u5f00\u53d1\u5e94\u7528\u4f1a\u65b9\u4fbf\u5f88\u591a\uff08\u7528Mac\u7684\u7528\u6237\u8bf7\u81ea\u52a8\u8df3\u8fc7\uff09\u3002<\/p>\n\n\n\n<p>\uff081\uff09\u5b89\u88c5\u8f6f\u4ef6\u5e76\u542f\u52a8<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n#yum groupinstall &quot;X Window System&quot; -y\n\u2026\u2026\n#yum groupinstall -y &quot;GNOME Desktop&quot; -y\n\u2026\u2026\n#yum install -y epel-release\n\u2026\u2026\n#yum install -y xrdp\n\u2026\u2026\n#systemctl enable xrdp\n\u2026\u2026\n#systemctl start xrdp\n\u2026\u2026\n<\/pre><\/div>\n\n\n<p>\u8be5\u5b89\u88c5\u8fc7\u7a0b\u9700\u8981\u8f83\u957f\u65f6\u95f4\uff0c\u8bf7\u8010\u5fc3\u7b49\u5f85\u3002<\/p>\n\n\n\n<p>\uff082\uff09\u9a8c\u8bc1\u5b89\u88c5\u7ed3\u6784<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n&#x5B;root@ecs-5cd4 ~]# systemctl status xrdp\nxrdp.service - xrdp daemon\n   Loaded: loaded (\/usr\/lib\/systemd\/system\/xrdp.service; enabled; vendor preset: disabled)\n   Active: active (running) since Wed 2020-11-25 10:24:55 CST; 4s ago\n     Docs: man:xrdp(8)\n           man:xrdp.ini(5)\n Main PID: 29431 (xrdp)\n    Tasks: 1\n   CGroup: \/system.slice\/xrdp.service\n           \u2514\u250029431 \/usr\/sbin\/xrdp --nodaemo\n<\/pre><\/div>\n\n\n<p>\uff083\uff09\u901a\u8fc7Windows&nbsp;\u7684\u8fdc\u7a0b\u8fde\u63a5\u7ec8\u7aef\uff0c\u8fde\u63a5\u8fdc\u7a0b\u684c\u9762\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"489\" height=\"328\" src=\"http:\/\/www.algmain.com\/wp-content\/uploads\/2023\/02\/20201125104508624.png\" alt=\"\" class=\"wp-image-1938\" srcset=\"http:\/\/www.algmain.com\/wp-content\/uploads\/2023\/02\/20201125104508624.png 489w, http:\/\/www.algmain.com\/wp-content\/uploads\/2023\/02\/20201125104508624-300x201.png 300w\" sizes=\"(max-width: 489px) 100vw, 489px\" \/><\/figure>\n\n\n\n<p>\u5192\u53f7\u540e\u9762\u7684\u7aef\u53e3\u662f\u9ed8\u8ba4\u7684\uff0c\u5982\u679c\u8981\u4fee\u6539\u5176\u4ed6\u7aef\u53e3\uff0c\u76f4\u63a5\u7f16\u8f91\/etc\/xrdp\/xrdp.ini\u3002&nbsp;&nbsp;\u7136\u540e\u91cd\u542fxrdp\u670d\u52a1 : systemctl restart xrdp\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"702\" height=\"476\" src=\"http:\/\/www.algmain.com\/wp-content\/uploads\/2023\/02\/20201125104616819.png\" alt=\"\" class=\"wp-image-1939\" srcset=\"http:\/\/www.algmain.com\/wp-content\/uploads\/2023\/02\/20201125104616819.png 702w, http:\/\/www.algmain.com\/wp-content\/uploads\/2023\/02\/20201125104616819-300x203.png 300w\" sizes=\"(max-width: 702px) 100vw, 702px\" \/><\/figure>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n&#x5B;root@ecs-5cd4 ~]# systemctl status xrdp -l\nxrdp.service - xrdp daemon\n   Loaded: loaded (\/usr\/lib\/systemd\/system\/xrdp.service; enabled; vendor preset: disabled)\n   Active: active (running) since Wed 2020-11-25 10:29:24 CST; 13s ago\n     Docs: man:xrdp(8)\n           man:xrdp.ini(5)\n Main PID: 29481 (xrdp)\n    Tasks: 1\n   CGroup: \/system.slice\/xrdp.service\n           \u2514\u250029481 \/usr\/sbin\/xrdp --nodaemon\n \nNov 25 10:29:24 ecs-5cd4 systemd&#x5B;1]: Started xrdp daemon.\nNov 25 10:29:24 ecs-5cd4 xrdp&#x5B;29481]: (29481)(140118529112512)&#x5B;INFO ] starting xrdp with pid 29481\nNov 25 10:29:24 ecs-5cd4 xrdp&#x5B;29481]: (29481)(140118529112512)&#x5B;INFO ] address &#x5B;0.0.0.0] port &#x5B;23389] mode 1\nNov 25 10:29:24 ecs-5cd4 xrdp&#x5B;29481]: (29481)(140118529112512)&#x5B;INFO ] listening to port 23389 on 0.0.0.0\nNov 25 10:29:24 ecs-5cd4 xrdp&#x5B;29481]: (29481)(140118529112512)&#x5B;INFO ] xrdp_listen_pp done\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>\u73b0\u5728\u5927\u90e8\u5206\u670d\u52a1\u7aef\u5e94\u7528\u90fd\u662f\u8fd0\u884c\u5728Linux\u4e0a\u7684\uff0c\u6240\u4ee5\u4f7f\u7528Linux\u64cd\u4f5c\u7cfb\u7edf\u6765\u5f00\u53d1\u5e94\u7528\u4f1a\u65b9\u4fbf\u5f88\u591a\uff08\u7528Mac\u7684\u7528\u6237\u8bf7 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[11,10,56,57],"class_list":["post-1937","post","type-post","status-publish","format-standard","hentry","category-technology","tag-centos","tag-linux","tag-xrdp","tag-57"],"_links":{"self":[{"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/posts\/1937"}],"collection":[{"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/comments?post=1937"}],"version-history":[{"count":2,"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/posts\/1937\/revisions"}],"predecessor-version":[{"id":1941,"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/posts\/1937\/revisions\/1941"}],"wp:attachment":[{"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/media?parent=1937"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/categories?post=1937"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.algmain.com\/index.php\/wp-json\/wp\/v2\/tags?post=1937"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}