{"id":250,"date":"2022-12-30T10:11:16","date_gmt":"2022-12-30T02:11:16","guid":{"rendered":"https:\/\/site.uugo.cf\/?p=250"},"modified":"2022-12-30T11:44:26","modified_gmt":"2022-12-30T03:44:26","slug":"%e7%94%b2%e9%aa%a8%e6%96%87%e4%ba%91ubuntu%e8%bf%9c%e7%a8%8b%e6%a1%8c%e9%9d%a2%e9%85%8d%e7%bd%ae%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/site.uugo.cf\/?p=250","title":{"rendered":"\u7532\u9aa8\u6587\u4e91UBUNTU\u8fdc\u7a0b\u684c\u9762\u914d\u7f6e\u65b9\u6cd5"},"content":{"rendered":"\n<p>\u7532\u9aa8\u6587ARM\u6700\u9ad8\u914d\u7f6e4\u683824G\uff0c\u8fd9\u4e2a\u914d\u7f6e\u5b89\u88c5\u684c\u9762\u7aef\u6ca1\u6709\u4efb\u4f55\u538b\u529b\uff0c\u8fd8\u76f8\u5f53\u4e8e\u591a\u4e86\u4e00\u4e2a\u8fdc\u7a0b\u7535\u8111\uff0c\u4eca\u5929\u6211\u4eec\u6765\u8bd5\u8bd5\u5427\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u51c6\u5907\u5de5\u4f5c<\/h2>\n\n\n\n<p>1\u3001\u7532\u9aa8\u6587ARM\uff0c\u63a8\u83502\u6838\u4ee5\u4e0a\uff1b<br>2\u3001\u5efa\u8bae\u7cfb\u7edf\u4f7f\u7528ubuntu20.04\uff1b<br>3\u3001\u63a8\u8350\u5148DD\u7cfb\u7edf\uff0c\u4f7f\u7528\u4e0b\u9762\u7684\u811a\u672c\uff1a<strong>\uff08\u8fd9\u4e2a\u662f\u683c\u5f0f\u5316\u7cfb\u7edf\u7684\u64cd\u4f5c\uff0c\u53ef\u4ee5\u8df3\u8fc7\u53bb\uff09<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>bash &lt;(wget --no-check-certificate -qO- 'https:\/\/moeclub.org\/attachment\/LinuxShell\/InstallNET.sh') -u 20.04 -v 64 -a -firmware -p ****<\/code><\/pre>\n\n\n\n<p>\u4e0a\u9762\u7684<em>*<\/em>*\u8bf7\u8bf7\u66ff\u6362\u6210\u81ea\u5df1\u7684\u5bc6\u7801\u54e6<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5f00\u59cb\u5b89\u88c5<\/h2>\n\n\n\n<p>1\u3001\u66f4\u65b0\u7cfb\u7edf<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt update-y ; apt upgrade -y<\/code><\/pre>\n\n\n\n<p>2\u3001\u5b89\u88c5\u684c\u9762<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install ubuntu-desktop<\/code><\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u5b89\u88c5\u684c\u9762\u8fd9\u4e2a\u8fc7\u7a0b\u6bd4\u8f83\u6162\uff0c2\u683812G\u8017\u65f66\u5206\u949f<\/p>\n<\/blockquote>\n\n\n\n<p>3\u3001\u5b89\u88c5xrdp<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install xrdp -y<\/code><\/pre>\n\n\n\n<p>3\u3001\u6dfb\u52a0\u7528\u6237\u3001\u91cd\u542fXrdp\u3001\u5f00\u673a\u542f\u52a8<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>adduser xrdp ssl-cert\nsystemctl restart xrdp\nsystemctl status xrdp<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u5982\u4f55\u8fde\u63a5<\/h2>\n\n\n\n<p>\u6211\u4f7f\u7528\u7684\u662fRemote\uff0cWindows\u4f7f\u7528\u8fdc\u7a0b\u684c\u9762\u4e5f\u53ef\u4ee5\u3002\u4f46\u662f\u8bf7\u6ce8\u610f\uff0c\u63a8\u8350\u4f7f\u752816\u4f4d\u8272\uff0c\u5426\u5219\u4e0d\u591f\u6d41\u7545\u3002<\/p>\n\n\n\n<p>\u65b0\u5efa\u8fde\u63a5 IP:3389\uff0c\u7528\u6237\u540d\u548c\u5bc6\u7801\u662fvps\u7684\u767b\u9646\u5bc6\u7801\u5982\uff1aroot\uff0c<em>*<\/em>*<\/p>\n\n\n\n<p>\u9996\u6b21\u8fde\u63a5\u9700\u8981\u7b80\u5355\u8bbe\u7f6e\uff0c\u9ed8\u8ba4\u5373\u53ef\u3002<\/p>\n\n\n\n<p>\u53c2\u8003\u8d44\u6599\uff1a<a href=\"https:\/\/iweec.com\/662.html\" target=\"_blank\" rel=\"noreferrer noopener\">\u7ed9\u7532\u9aa8\u6587ARM\u5b89\u88c5Gnome\u684c\u9762 \u2013 \u6885\u5854\u6c83\u514b \u2013 \u4e13\u6ce8\u8de8\u5883<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u914d\u7f6e\u8fdc\u7a0b\u684c\u9762<\/h2>\n\n\n\n<p>\u521a\u5f00\u59cb\u53ef\u80fd\u8fdc\u7a0b\u684c\u9762\u53ea\u6709\u80cc\u666f\uff0c\u6ca1\u6709\u7a0b\u5e8f\u575e\u3001\u83dc\u5355\u680f\u8fd9\u4e9b\uff0c\u56e0\u6b64\u9700\u8981\u4e00\u914d\u7f6e\u4e00\u4e0b\u3002\u9996\u5148\u5728\u8fdc\u7a0b\u673a\u5668\u5b89\u88c5tweaks\u5de5\u5177\uff1a<\/p>\n\n\n\n<p>sudo apt install gnome-tweak-tool<br>\u7136\u540e\u6253\u5f00tweaks\u5de5\u5177\uff0cExtensions-&gt;Ubuntu appindicators-&gt;ON\uff0cExtensions-&gt;Ubuntu dock-&gt;ON\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u7528\u6237\u7684\u91cd\u65b0\u5efa\u7acb<\/h2>\n\n\n\n<p>root\u7528\u6237\u9ed8\u8ba4\u662f\u4e0d\u53ef\u4ee5\u89e3\u9501\u9501\u5c4f\u540e\u7684\u754c\u9762\u7684\uff0c\u6240\u4ee5\u8981\u8fdb\u53bb\u56fe\u5f62\u754c\u9762\u4e4b\u540e\uff0c\u81ea\u5df1\u521b\u5efa\u4e00\u4e2a\u7528\u6237<\/p>\n\n\n\n<p>Ubuntu\u7528\u6237\u5bc6\u7801\u89c4\u5219\u8fd8\u633a\u7e41\u7410\uff0c8\u4f4d\uff0c\u5404\u79cd\u4e71\u4e03\u516b\u7cdf\u7684\u642d\u914d\u624d\u884c\uff0c\u4e00\u8138\u61f5\u903c<\/p>\n\n\n\n<p>\u7532\u9aa8\u6587\u7533\u8bf7\u5931\u8d25\u8054\u7cfb\u5ba2\u670d\u7684\u7f51\u5740\uff08\u76ee\u524d\u5df2\u7ecf\u5931\u6548\uff09<a rel=\"noreferrer noopener\" href=\"https:\/\/store-oracle.custhelp.com\/app\/CP_CP\" target=\"_blank\">https:\/\/store-oracle.custhelp.com\/app\/CP_CP<\/a><\/p>\n\n\n\n<p>\u5173\u4e8e\u5fae\u8f6f\u7684RDP\u4f7f\u7528\u4f53\u9a8c\uff0c\u6709\u4eba\u5b9e\u6d4b\u4e86\u8bf4\u56e0\u4e3a\u5fae\u8f6f\u7684rdp\u4e0eLinux\u7684Xrdp\u8fdb\u884c\u8fde\u63a5\u65f6\u5b58\u5728\u517c\u5bb9\u6027\u95ee\u9898\uff0c\u4f7f\u7528\u8d77\u6765\u6bd4\u8f83\u5361\u987f\uff0c\u6211\u4e2a\u4eba\u4f7f\u7528\u7684\u65f6\u5019\u4e5f\u786e\u5b9e\u78b0\u5230\u8f83\u4e3a\u5361\u987f\u7684\u60c5\u51b5\uff0c\u5c31\u627e\u4e86\u4e0b\uff0c\u8bf4\u662f\u901a\u8fc7FRP\u670d\u52a1\u6548\u679c\u4f1a\u597d\u70b9\u3002\u56e0\u6b64\u627e\u4e86\u4e2aFRP\u670d\u52a1\u7684\u5b89\u88c5\u6559\u7a0b\u987a\u9053\u4e5f\u4e00\u8d77\u5f04\u4e86\u4e0b\u3002<\/p>\n\n\n\n<p><strong>\u5b89\u88c5Linux FRP\u670d\u52a1<\/strong><\/p>\n\n\n\n<p>FRP github\u94fe\u63a5\uff1a<a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/fatedier\/frp\/releases\/\" target=\"_blank\">https:\/\/github.com\/fatedier\/frp\/releases\/<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.zhazhai.cn\/wp-content\/uploads\/2022\/04\/1649645167-image.png\"><img decoding=\"async\" src=\"https:\/\/www.zhazhai.cn\/wp-content\/uploads\/2022\/04\/1649645167-image.png\" alt=\"\" class=\"wp-image-233\"\/><\/a><\/figure>\n\n\n\n<p>\u6700\u65b0\u7684\u662f0.41\u7248\u672c\u7684\uff0c\u7136\u540e\u5404\u4f4d\u9700\u8981\u6ce8\u610f\u627e\u5bf9\u5bf9\u5e94\u7684\u5904\u7406\u5668\u7248\u672c\uff0c\u56e0\u4e3a\u6211\u5f00\u901a\u7684\u662f\u7532\u9aa8\u6587ARM\u7684\u673a\u5668\u7684\uff0c\u6240\u4ee5\u9009\u7684linux_arm64\u5c31\u884c\u3002\u53e6\u5916\uff0c\u6bcf\u4e2a\u538b\u7f29\u5305\u91cc\u9762\u90fd\u6709\u670d\u52a1\u7aef\u548c\u5ba2\u6237\u7aef\u6587\u4ef6\uff0c<strong>\u5176\u4e2dfrps\u662f\u670d\u52a1\u7aef,frpc\u662f\u5ba2\u6237\u7aef\uff0c\u5404\u4f4d\u8bbe\u7f6e\u7684\u65f6\u5019\u9700\u8981\u6ce8\u610f<\/strong>\u3002<\/p>\n\n\n\n<p><strong>\u5ba2\u6237\u7aef\u65b9\u9762<\/strong><\/p>\n\n\n\n<p>1.\u89e3\u538b\u6587\u4ef6\u5305\uff0c\u628a\u5982\u4e0b\u6587\u4ef6\u653e\u5230\/etc\/frp \u76ee\u5f55\u4e0b<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.zhazhai.cn\/wp-content\/uploads\/2022\/04\/1649646054-0fbfbe11d3b7bdeae1699f6be2bd418d.jpeg\" alt=\"6.jpg\"\/><\/figure>\n\n\n\n<p>2.\u4fee\u6539frpc.ini\u6587\u4ef6<\/p>\n\n\n\n<p>[common]<br>server_addr = 127.0.0.1\uff08\u673a\u5668\u5185\u90e8\u505a\u8f6c\u53d1\uff0c\u56e0\u6b64\u5c31\u7528127.0.0.1\uff0c\u5982\u901a\u8fc7\u5176\u4ed6\u673a\u5668\u8f6c\u53d1\uff0c\u5219\u586b\u5199\u5bf9\u5e94IP\uff09<br>server_port = 7000<br>token = 12345678<\/p>\n\n\n\n<p>[FRP]<br>type = tcp<br>local_port = 3389<br>local_ip = 127.0.0.1<br>remote_port = 13389<\/p>\n\n\n\n<p>3.\u628asystemd\u6587\u4ef6\u5939\u4e0b\u7684frpc.service\uff0c\u653e\u5230\/etc\/systemd\/system\u4e0b\u3002<\/p>\n\n\n\n<p>\u8bbe\u7f6e\u6743\u9650\uff1achmod 754 frpc.service<\/p>\n\n\n\n<p>\u8bbe\u7f6e\u5f00\u673a\u542f\u52a8\uff1asystemctl enable frpc.service<\/p>\n\n\n\n<p>4.\u5728\/etc\/frp\u76ee\u5f55\u4e0b \u8fd0\u884c\u547d\u4ee4\uff1a<\/p>\n\n\n\n<p>cp frpc \/usr\/bin<br>chmod +x \/usr\/bin\/frpc<br>systemctl start frpc<br>ps -ef|grep frpc<\/p>\n\n\n\n<p>\u670d\u52a1\u7aef\u65b9\u9762<\/p>\n\n\n\n<p>1.\u89e3\u538b\u5305\uff0c\u628a\u5982\u4e0b\u6587\u4ef6\u653e\u5230\/etc\/frp \u76ee\u5f55\u4e0b<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.zhazhai.cn\/wp-content\/uploads\/2022\/04\/1649646055-d8a0d838cc2f13356bc6a38fd8f6e98c.jpeg\" alt=\"7.jpg\"\/><\/figure>\n\n\n\n<p>2.\u4fee\u6539frps.ini\u6587\u4ef6<\/p>\n\n\n\n<p>[common]<br>bind_port = 7000<br>token = 12345678<\/p>\n\n\n\n<p>3.\u628asystemd\u6587\u4ef6\u5939\u4e0b\u7684frps.service\uff0c\u653e\u5230\/etc\/systemd\/system\u4e0b<\/p>\n\n\n\n<p>\u8bbe\u7f6e\u6743\u9650\uff1achmod 754 frps.service<\/p>\n\n\n\n<p>\u8bbe\u7f6e\u5f00\u673a\u542f\u52a8\u5373\u53ef\uff1asystemctl enable frps.service<\/p>\n\n\n\n<p>4.\u5728\/etc\/frp\u76ee\u5f55\u4e0b<\/p>\n\n\n\n<p>cp frps \/usr\/bin<br>chmod +x \/usr\/bin\/frps<br>systemctl start frps<br>ps -ef|grep frps<\/p>\n\n\n\n<p>\u5230\u8fd9\u4e2a\u5730\u65b9\u4e3a\u6b62\uff0c\u6574\u4e2a\u8bbe\u7f6e\u5c31\u5b8c\u6210\u4e86\u3002\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u6211\u81ea\u5df1\u90fd\u662f\u5728ARM\u672c\u673a\u8bbe\u7f6e\uff0c\u6240\u4ee5\u5ba2\u6237\u7aef\u3001\u670d\u52a1\u7aef\u90fd\u653e\u5728\u540c\u4e00\u53f0\u673a\u5668\u4e0a\uff0c\u76f8\u5f53\u4e8e\u505a\u4e86\u4e2a\u5185\u7f51\u7684\u7aef\u53e3\u8f6c\u53d1\uff0c<strong>\u5982\u679c\u4f7f\u7528\u7684\u4e0d\u540c\u673a\u5b50\uff0c\u4e00\u5b9a\u6ce8\u610f\u670d\u52a1\u5668\u7aef\u548c\u5ba2\u6237\u7aef\u6587\u4ef6\u4e0d\u8981\u641e\u9519\u4e86\u3002<\/strong><\/p>\n\n\n\n<p>\u767b\u5f55\u7684\u65f6\u5019\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5982\u679c\u662f\u5728ARM\u673a\u5668\u4e0a\u505a\u5185\u90e8\u8f6c\u53d1\u7684\u5728RDP\u8f93\u5165\u7532\u9aa8\u6587IP:<strong>13389<\/strong>&nbsp;\u8fdb\u5165\u540e\u4f1a\u663e\u793axrdp\u754c\u9762\uff0c\u8f93\u5165\u81ea\u5df1\u673a\u5668\u7684\u8d26\u53f7\u3001\u5bc6\u7801\u5373\u53ef\u3002<\/li>\n\n\n\n<li>\u5982\u679c\u662f\u5728\u817e\u8baf\u4e91\/\u963f\u91cc\u4e91\u7b49\u4e0a\u9762\u505a\u670d\u52a1\u7aef\u7684\uff0c\u5728rdp\u4e0a\u8f93\u5165\u817e\u8baf\u4e91\u7684IP\u5730\u5740\uff1a13389 \u5373\u53ef\u8fdb\u5165xrdp\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u81f3\u6b64\u5df2\u7ecf\u5b8c\u6210Gnome\u684c\u9762+xrdp+FRP\u7684\u6240\u6709\u5b89\u88c5\u5de5\u4f5c\uff0c\u63a5\u4e0b\u6765\u5c31\u53ef\u4ee5\u8fdc\u7a0b\u4f7f\u7528Ubuntu20.04\u684c\u9762\u7cfb\u7edf\u4e86\u3002\u81f3\u4e8eUbuntu20.04\u7cfb\u7edf\u7684\u76f8\u5173\u4e2d\u6587\u914d\u7f6e\uff0c\u8f93\u5165\u6cd5\u7b49\u5e94\u7528\u7cfb\u7edf\u7684\u5b89\u88c5\uff0c\u5404\u4f4d\u53ef\u4ee5\u81ea\u884c\u641c\u7d22\u914d\u7f6e\u4e86\uff0c\u7f51\u4e0a\u6559\u7a0b\u6bd4\u8f83\u591a\u4e86\u3002<\/p>\n\n\n\n<p>6.\u58f0\u97f3\u8f6c\u53d1<\/p>\n\n\n\n<pre id=\"pre-sb884x\" class=\"wp-block-preformatted\">\u4ee3\u7801\u4e0d\u8981\u7167\u642c\uff0c\u624b\u52a8\u914d\u7f6ePulseaudio\n\n  apt update;apt upgrade -y;\n  apt-get install software-properties-common -y\n  apt-get install git libpulse-dev autoconf m4 intltool dpkg-dev libtool libsndfile-dev libcap-dev libjson-c-dev make gcc curl wget -y\n  apt-get build-dep pulseaudio -y\n  apt source pulseaudio\n  \u6743\u9650\u62a5\u9519\uff0c\u8bf7\u5220\u9664\u201cpulseaudio-13.99.1\u201d\u6587\u4ef6\u5939\n  rm -rf pulseaudio-13.99.1\n  chmod 777 pulseaudio*\n  apt source pulseaudio\n  cd pulseaudio-13.99.1\n  \u73af\u5883\u4e0d\u540c\uff0c\u81ea\u884c\u89e3\u51b3\u4f9d\u8d56\u5173\u7cfb\n  .\/configure\n  cd ..\/\n  git clone https:\/\/github.com\/neutrinolabs\/pulseaudio-module-xrdp.git\n  cd pulseaudio-module-xrdp\n  .\/bootstrap\n  .\/configure PULSE_DIR=\"\/root\/pulseaudio-13.99.1\"\n  make\n  \n  \u5148\u6267\u884c pulseaudio\n  \u5982\u679c\u63d0\u793a\u547d\u4ee4\u4e0d\u5b58\u5728\uff0c\u53c2\u8003\u4e0b\u9762\u7684\u989d\u5916\u6b65\u9aa4\u624b\u52a8\u5b89\u88c5\n  \u5982\u679c\u547d\u4ee4\u5b58\u5728\uff0c\u6309ctrl+c\u7ed3\u675f\uff0c\u56de\u5230\u6b63\u5e38\u6b65\u9aa4\n  \u989d\u5916\u6b65\u9aa4 cd ~;cd pulseaudio-13.99.1\n  \u989d\u5916\u6b65\u9aa4 make\n  \u989d\u5916\u6b65\u9aa4 make install\n  \u6700\u540e cd ..\/;cd pulseaudio-module-xrdp\n  \u7136\u540e\u7ee7\u7eed\u6267\u884c\u4e0b\u9762\u51e0\u6b65\n  \n  cd src\/.libs\n  install -t \"\/var\/lib\/xrdp-pulseaudio-installer\" -D -m 644 *.so\n  install -t \"\/usr\/lib\/pulse-13.99.1\/modules\" -D -m 644 *.so\n  reboot\n\n\u914d\u7f6e\u5b8c\u6210\u540e\uff0c\u8fdc\u7a0b\u684c\u9762\u8fd9\u4e24\u4e2a\u52fe\u4e0a\uff0c\u4f7f\u7528\u975eroot\u8d26\u6237\u767b\u9646\u670d\u52a1\u5668\uff0c\u53ef\u4ee5\u8bc6\u522b\u5230\u58f0\u5361&lt;\u4f2a\u8f93\u51fa&gt;\n\n\n\u91cd\u542fpulseaudio\uff0c\u58f0\u5361\u53d8\u6210&lt;xrdp sink&gt;\uff0c\u8fd9\u6837\u5c31\u6709\u58f0\u97f3\u4e86\n\npulseaudio -k \/\/\u8fd9\u91cc\u5361\u4f4f\u6309ctrl+c\u5f3a\u884c\u7ed3\u675f\nkillall pulseaudio \/\/\u8fd9\u91cc\u5361\u4f4f\u6309ctrl+c\u5f3a\u884c\u7ed3\u675f\npulseaudio &amp;\n<\/pre>\n\n\n\n<p>7.\u521b\u5efa\u7528\u6237<\/p>\n\n\n\n<pre id=\"pre-mXsx4C\" class=\"wp-block-preformatted\">useradd -s \/bin\/bash -m ubuntu \npasswd ubuntu\n\u8f93\u5165\u5bc6\u7801\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u89e3\u51b3\u767b\u5f55\u65f6\u53cd\u590d\u9a8c\u8bc1\u95ee\u9898<\/h2>\n\n\n\n<h2 class=\"wp-block-heading\">\u89e3\u51b3\u201c\u8272\u5f69\u7ba1\u7406\u8bbe\u5907\u201d \/ \u201ccolor managed device\u201d \u5f39\u7a97<\/h2>\n\n\n\n<p>\u521b\u5efa\u6587\u4ef6 \/etc\/polkit-1\/localauthority\/50-local.d\/45-allow-colord.pkla \u5e76\u5199\u5165\u5185\u5bb9\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\n&#91;Allow Colord all Users]\nIdentity=unix-user:*\nAction=org.freedesktop.color-manager.create-device;org.freedesktop.color-manager.create-profile;org.freedesktop.color-manager.delete-device;org.freedesktop.color-manager.delete-profile;org.freedesktop.color-manager.modify-device;org.freedesktop.color-manager.modify-profile\nResultAny=no\nResultInactive=no\nResultActive=yes<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u89e3\u51b3\u201c\u5237\u65b0\u7cfb\u7edf\u8f6f\u4ef6\u6e90\u9700\u8981\u8ba4\u8bc1\u201d \/ \u201crefresh the system repositories\u201d \u5f39\u7a97<\/h2>\n\n\n\n<p>\u521b\u5efa\u6587\u4ef6 \/etc\/polkit-1\/localauthority\/50-local.d\/46-allow-packagekit.pkla \u5e76\u5199\u5165\u5185\u5bb9\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;Allow Refresh Repository all Users]\nIdentity=unix-user:*\nAction=org.freedesktop.packagekit.system-sources-refresh\nResultAny=no\nResultInactive=no\nResultActive=yes<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">windows\u81ea\u5e26\u8fdc\u7a0b \u89e3\u51b3\u6bcf\u6b21\u767b\u5f55\u8f93\u5165\u8d26\u6237\u5bc6\u7801<\/h2>\n\n\n\n<p>\u70b9\u51fb\u663e\u793a\u9009\u9879<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"470\" height=\"321\" src=\"https:\/\/site.uugo.cf\/wp-content\/uploads\/2022\/12\/image-3.png\" alt=\"\" class=\"wp-image-242\" srcset=\"https:\/\/site.uugo.cf\/wp-content\/uploads\/2022\/12\/image-3.png 470w, https:\/\/site.uugo.cf\/wp-content\/uploads\/2022\/12\/image-3-300x205.png 300w\" sizes=\"auto, (max-width: 470px) 100vw, 470px\" \/><\/figure>\n\n\n\n<p>\u8f93\u5165\u7528\u6237\u540d \u52fe\u9009\u5141\u8bb8\u4fdd\u5b58\u51ed\u636e<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"477\" height=\"611\" src=\"https:\/\/site.uugo.cf\/wp-content\/uploads\/2022\/12\/image-4.png\" alt=\"\" class=\"wp-image-243\" srcset=\"https:\/\/site.uugo.cf\/wp-content\/uploads\/2022\/12\/image-4.png 477w, https:\/\/site.uugo.cf\/wp-content\/uploads\/2022\/12\/image-4-234x300.png 234w\" sizes=\"auto, (max-width: 477px) 100vw, 477px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u81ea\u52a8\u9501\u5c4f\u95ee\u9898<\/h2>\n\n\n\n<p>\u5982\u679c\u81ea\u52a8\u9501\u5c4f\u540e\u65e0\u6cd5\u767b\u5165\u3002<\/p>\n\n\n\n<p>\u8fd9\u4e2abug\u5f88\u65e0\u5398\u5934\uff0c\u7cfb\u7edf\u662f20.04\uff0c\u5c31\u662f\u5982\u679c\u65b0\u589e\u8d26\u6237\u662f\u53c8\u684c\u9762\u8bbe\u7f6e\u91cc\u7684users\u53bb\u6dfb\u52a0\u7684\u5e76\u8bbe\u7f6e\u5bc6\u7801\uff0c\u6216\u8005\u539f\u59cb\u7684\u9ed8\u8ba4\u8d26\u6237\uff0c\u90a3\u4e48\u81ea\u52a8\u9501\u5c4f\u540e\u65e0\u6cd5\u767b\u5165\u3002\u6240\u4ee5\u89e3\u51b3\u65b9\u6848\u6709\u4e24\u4e2a\uff1a<\/p>\n\n\n\n<p>1.ssh\u8fdc\u7a0b\u91cd\u542fxrdp\u670d\u52a1\uff0c<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl restart xrdp<\/code><\/pre>\n\n\n\n<p>\u6ce8\u610f\u5df2\u5f00\u542f\u7684\u684c\u9762\u90fd\u4f1a\u5173\u6389\u3002<\/p>\n\n\n\n<p>\u7136\u540e\u91cd\u65b0\u767b\u5f55\u8fdb\u53bb\u7cfb\u7edf\u8bbe\u7f6e\u91cc\u628a\u9501\u5c4f\u8bbe\u7f6e\u4e3anever\u3002<\/p>\n\n\n\n<p>2.ssh\u8fdc\u7a0b\u91cd\u542fxrdp\u670d\u52a1\uff0c<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl restart xrdp<\/code><\/pre>\n\n\n\n<p>\u7528\u547d\u4ee4\u884csudo passwd user \u4fee\u6539\u5bc6\u7801\uff0c\u55ef\uff0c\u5c31\u662f\u4f60\u7528\u4e86\u547d\u4ee4\u884c\u4fee\u6539\u4e86\u5bc6\u7801\u4e4b\u540e\uff0c\u5728\u9501\u5c4f\u5c31\u6ca1\u95ee\u9898\u4e86\uff0c\u53ef\u4ee5\u767b\u5f55\uff0c\u795e\u5947\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u9ed8\u8ba4\u684c\u9762\u65e0\u6cd5\u767b\u5165\u95ee\u9898<\/h2>\n\n\n\n<p>Ubuntu\u684c\u9762\u7248\u672c\u7684\u9ed8\u8ba4\u8d26\u6237\u684c\u9762\u542f\u52a8\u81ea\u52a8\u8fdb\u5165\u684c\u9762\uff0c\u4e14\u542f\u52a8\u7684\u662f\u7cfb\u7edf\u81ea\u5e26\u7684\u684c\u9762\uff0c\u4f46\u4f1a\u5bfc\u81f4\u8fdb\u5165\u9501\u5c4f\u754c\u9762\u8f93\u5165\u5bc6\u7801\u65e0\u6cd5\u767b\u5165\u7684\u95ee\u9898\uff0c\u5177\u4f53\u539f\u56e0\u4e0d\u8be6\uff0c\u89e3\u51b3\u529e\u6cd5\u4e00\u662f\u4e34\u65f6\u65b9\u6848\u641c\u7d22\u8be5\u7528\u6237\u4e0b\u7684xorg\u8fdb\u7a0b\uff0c\u6740\u6389\uff0c\u8fd9\u6837\u5c31\u6ca1\u684c\u9762\u4e86\uff0c\u4e8c\u662f\u957f\u671f\u65b9\u6848\u8bbe\u7f6eubuntu\u542f\u52a8\u4e0d\u8fdb\u5165\u684c\u9762\u5373\u53ef\u3002\u53c2\u8003<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl set-default multi-user.target #\u5173\u95ed\u56fe\u5f62\nsudo systemctl set-default graphical.target #\u542f\u52a8\u56fe\u5f62<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u684c\u9762\u6ca1\u6709\u56fe\u6807\uff0c\u6ca1\u6709dock\uff08\u53f3\u4fa7\u8fb9\u680f\uff09\u89e3\u51b3\uff0c\u4e3b\u9898\u989c\u8272\u7b49<\/h2>\n\n\n\n<p>\u7b80\u5355\u70b9\u5c31\u662f\u641c\u7d22extensions\uff0c\u53bb\u5427\u4e09\u4e2a\u9009\u9879\u90fd\u6253\u5f00\u3002<\/p>\n\n\n\n<p>\u53e6\u5916\u60f3\u6539\u66f4\u591a\u7684\u8bbe\u7f6e\uff0c\u6bd4\u5982\u4e3b\u9898\uff0c\u6bd4\u5982titlebar\uff08\u53f3\u4e0a\u89d2\u6700\u5c0f\u5316\uff0c\u6700\u5927\u5316\u56fe\u6807\u7b49\uff09\u5b89\u88c5\u4e00\u4e2a\u63d2\u4ef6\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install gnome-tweak-tool<\/code><\/pre>\n\n\n\n<p>\u7136\u540e\u53bb\u641c\u7d22tweaks\u5c31\u884c\u4e86\uff0c\u91cc\u9762\u5f88\u591a\u8bbe\u7f6e\uff0c\u6162\u6162\u6478\u7d22\u5427<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e0evnc\u7684\u533a\u522b<\/h2>\n\n\n\n<p>\u5982\u679c\u670d\u52a1\u5668\u4e24\u79cd\u65b9\u5f0f\u90fd\u5b89\u88c5\uff0c\u684c\u9762\u8fd8\u57fa\u672c\u4e92\u4e0d\u5f71\u54cd\u3002\u4f46\u540c\u4e00\u8d26\u6237\u7528\u4e0d\u540c\u7684\u65b9\u5f0f\u767b\u5f55\u684c\u9762\uff0c\u8fd8\u662f\u4f1a\u51fa\u70b9\u95ee\u9898\u3002\u5c3d\u91cf\u522b\u6765\u4e2a\u90fd\u88c5\uff0c\u6216\u8005\u522b\u4e24\u79cd\u65b9\u5f0f\u540c\u65f6\u4f7f\u7528<\/p>\n\n\n\n<p>\u53e6\u5916\uff0cxrdp\u7684\u65b9\u5f0f\uff0c\u6709\u4e9b\u7cfb\u7edf\u8bbe\u7f6e\u662f\u4e0d\u7ed9\u4f60\u52a8\u7684\uff0c\u6bd4\u5982users\u4e0b\u9762\u4e0d\u4f1a\u7ed9\u4f60unlock\u3002<\/p>\n\n\n\n<p>\u4f46vnc\u53ef\u4ee5\uff0c\u4e0d\u8fc7\u8fd9\u4e2a\u65e0\u4f24\u5927\u96c5\u3002<\/p>\n\n\n\n<p>vnc\u53ef\u4ee5\u591a\u4e2a\u5ba2\u6237\u7aef\u8fdc\u7a0b\u540c\u4e00\u4e2a\u684c\u9762\uff0c\u4f46\u662f\u81ea\u7136\u540c\u65f6\u64cd\u4f5c\u4f1a\u4e92\u76f8\u5f71\u54cd\uff0c\u5982\u679c\u53ea\u662f\u5176\u4e2d\u4e00\u4e2a\u7ec8\u7aef\u64cd\u4f5c\uff0c\u5176\u4ed6\u5ba2\u6237\u7aef\u540c\u6b65\u753b\u9762\u53ef\u4ee5\u770b\u3002vino\u4e0d\u652f\u6301\u591a\u8d26\u6237\u540c\u65f6\u8fdc\u7a0b\u81ea\u5df1\u7684\u684c\u9762\u3002<\/p>\n\n\n\n<p>xrdp\u4e0b\uff0c\u5404\u8d26\u6237\u5bf9\u5e94\u7684\u684c\u9762\uff0c\u53ea\u80fd\u4e00\u4e2a\u5ba2\u6237\u7aef\u767b\u5f55\uff0c\u91cd\u590d\u767b\u9646\u4f1a\u628a\u4e4b\u524d\u7684\u6324\u6389\u3002\u4f46\u662f\u53ef\u4ee5\u591a\u8d26\u6237\u540c\u65f6\u8fdc\u7a0b\u81ea\u5df1\u5bf9\u5e94\u7684\u684c\u9762\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u540e\u8bb0<\/h2>\n\n\n\n<p>\u5982\u679c\u91c7\u53d6Ubuntu\u81ea\u5e26\u7684vino\u4f5c\u4e3a\u670d\u52a1\u7aef\uff0cvnc\u672c\u8eab\u4e5f\u662f\u53ef\u4ee5\u4e00\u4e2a\u8d26\u6237\u4e00\u4e2a\u684c\u9762\u7684\uff0c\u4f46\u662f\u4e0d\u80fd\u540c\u65f6\uff0c\u4e14\u6bd4\u5982\u4eceA\u8d26\u6237\u60f3\u6362\u6210B\u8d26\u6237\uff0c\u5f97\u628aA\u8d26\u6237\u6ce8\u9500\u6389\uff0c\u5426\u5219\u5207\u6362\u7684\u8bdd\uff0c\u540e\u53f0A\u8d26\u6237\u7684vino\u8fd8\u4f1a\u5b58\u5728\uff0c\u6b64\u65f6\u53bb\u7528vnc-viewer\u8fdc\u7a0b\u5c31\u662f\u9ed1\u5c4f\uff0c\u56e0\u4e3a\u8fdc\u7a0b\u5230\u4e86A\u8d26\u6237\u7684vino\u4e0a\u7684\u684c\u9762\u53bb\u4e86\uff0c\u4f46\u5b9e\u9645\u5df2\u7ecf\u5207\u6362\u5230\u4e86B\u8d26\u6237\u3002\u6240\u4ee5\u8981\u6ce8\u9500\u5728\u767b\u5f55\u53e6\u5916\u4e00\u4e2a\u8d26\u6237\uff0c\u4f46\u8fd9\u6837\u7684\u8bdd\uff0c\u4e00\u65e6\u6ce8\u9500\u53c8\u4e0d\u80fd\u8fdc\u7a0b\uff0c\u6ca1\u6cd5\u767b\u5f55\u53e6\u5916\u4e00\u4e2a\u8d26\u6237\uff0c\u6240\u4ee5\u5c31\u662f\u6b7b\u5faa\u73af\u4e86\uff0c\u4e5f\u5c31\u662f\uff0c\u591a\u684c\u9762\u65b9\u6848\u4e0d\u597d\u91c7\u53d6\u81ea\u5e26\u7684vino\u3002<\/p>\n\n\n\n<p>\u4f46\u4f30\u8ba1\u5176\u4ed6\u7684vnc-server\u65b9\u6848\u6709\u53ef\u4ee5\u5b9e\u73b0\u591a\u684c\u9762\u7684\uff0c\u53ef\u4ee5\u8bd5\u4e00\u4e0b\u3002<\/p>\n\n\n\n<p>\u9047\u5230\u4e2avino\u51fa\u95ee\u9898\u4e86\u7684\uff0c\u5177\u4f53\u5c31\u662f\uff0c\u6bd4\u5982\u6211\u7528ubuntu\u684c\u9762\u91cc\u7684\u8bbe\u7f6e\u4e0b\u7684sharing\u91cc\uff0c\u53bb\u66f4\u6539vino\u767b\u5f55\u5bc6\u7801\uff0c\u800c\u5b9e\u9645\u4e0b\u7684ort.gnome.Vino \u4e0b\u7684\u5bc6\u7801\u5e76\u6ca1\u6709\u8ddf\u7740\u53d8\u3002\u6682\u65f6\u6ca1\u6cd5\u590d\u73b0\uff0c\u731c\u6d4b\u53ef\u4ee5\u91c7\u53d6\u91cd\u88c5ubuntu\u684c\u9762\u7684<a href=\"https:\/\/www.zhihu.com\/question\/41770698\/answer\/92270590\">\u65b9\u5f0f<\/a>\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get update\nsudo apt-get install --reinstall ubuntu-desktop\nsudo apt-get install unity<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u7532\u9aa8\u6587ARM\u6700\u9ad8\u914d\u7f6e4\u683824G\uff0c\u8fd9\u4e2a\u914d\u7f6e\u5b89\u88c5\u684c\u9762\u7aef\u6ca1\u6709\u4efb\u4f55\u538b\u529b\uff0c\u8fd8\u76f8\u5f53\u4e8e\u591a\u4e86\u4e00\u4e2a\u8fdc\u7a0b\u7535\u8111\uff0c\u4eca\u5929\u6211\u4eec\u6765\u8bd5\u8bd5\u5427\u3002 \u51c6\u5907\u5de5\u4f5c 1\u3001\u7532\u9aa8\u6587ARM\uff0c\u63a8\u83502\u6838\u4ee5\u4e0a\uff1b2\u3001\u5efa\u8bae\u7cfb\u7edf\u4f7f\u7528ubuntu20.04\uff1b3\u3001\u63a8\u8350\u5148DD\u7cfb\u7edf\uff0c\u4f7f\u7528\u4e0b\u9762\u7684\u811a\u672c\uff1a\uff08\u8fd9\u4e2a\u662f\u683c\u5f0f&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[7],"tags":[],"class_list":["post-250","post","type-post","status-publish","format-standard","hentry","category-7"],"views":271,"_links":{"self":[{"href":"https:\/\/site.uugo.cf\/index.php?rest_route=\/wp\/v2\/posts\/250","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/site.uugo.cf\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/site.uugo.cf\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/site.uugo.cf\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/site.uugo.cf\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=250"}],"version-history":[{"count":2,"href":"https:\/\/site.uugo.cf\/index.php?rest_route=\/wp\/v2\/posts\/250\/revisions"}],"predecessor-version":[{"id":253,"href":"https:\/\/site.uugo.cf\/index.php?rest_route=\/wp\/v2\/posts\/250\/revisions\/253"}],"wp:attachment":[{"href":"https:\/\/site.uugo.cf\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=250"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/site.uugo.cf\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=250"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/site.uugo.cf\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}