{"id":37922,"date":"2025-05-18T18:46:07","date_gmt":"2025-05-18T10:46:07","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/37922.html"},"modified":"2025-05-18T18:46:07","modified_gmt":"2025-05-18T10:46:07","slug":"7%e3%80%81%e4%ba%91%e6%9c%8d%e5%8a%a1%e5%99%a8%e3%80%81wsl2%ef%bc%88widnows%ef%bc%89ubuntu22-04%e3%80%81%e5%ae%89%e8%a3%85%e5%9b%be%e5%bd%a2%e7%95%8c%e9%9d%a2-%e6%a1%8c%e9%9d%a2xfce4%e3%80%81vnc","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/37922.html","title":{"rendered":"7\u3001\u4e91\u670d\u52a1\u5668\u3001WSL2\uff08Widnows\uff09Ubuntu22.04\u3001\u5b89\u88c5\u56fe\u5f62\u754c\u9762\/\u684c\u9762xfce4\u3001vnc\u8fde\u63a5\u3001\u8bbe\u7f6e\u4e2d\u6587\u684c\u9762\u3001\u914d\u7f6e\u4e2d\u6587\u8f93\u5165\u6cd5\u3001\u5b89\u88c5\u6d4f\u89c8\u5668\u548c\u6587\u672c\u7f16\u8f91\u5668\u3001\u7ec8\u7aef\u3001\u89e3\u51b3\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u684c\u9762\u590d\u5236\u9ecf\u8d34\u95ee\u9898"},"content":{"rendered":"<h3>0\u3001\u5f00\u7bc7\u8bf4\u660e&#xff08;<span style=\"color:#fe2c24\">\u53ef\u8df3\u8fc7<\/span>&#xff09;<\/h3>\n<h4><span style=\"color:#0d0016\">0.1\u3001\u5907\u6ce8<\/span><\/h4>\n<p><span style=\"color:#fe2c24\">\u4ee5\u4e0b\u65b9\u5f0f\u9002\u7528\u4e8e\u4e91\u670d\u52a1\u5668\u548cWSL2&#xff08;\u9002\u7528\u4e8eLinux\u7684windows\u5b50\u7cfb\u7edf&#xff09;Ubuntu22.02<\/span><\/p>\n<h4><span style=\"color:#0d0016\">0.2\u3001\u8bf4\u660e<\/span><\/h4>\n<p><span style=\"color:#511b78\">\u5728 Ubuntu \u670d\u52a1\u5668\u4e0a\u5b89\u88c5\u56fe\u5f62\u754c\u9762\u53ef\u4ee5\u8ba9\u4f60\u901a\u8fc7\u56fe\u5f62\u5316\u7684\u65b9\u5f0f\u7ba1\u7406\u548c\u64cd\u4f5c\u7cfb\u7edf\u3002<\/span><\/p>\n<p><span style=\"color:#511b78\">Ubuntu \u63d0\u4f9b\u4e86\u591a\u79cd\u56fe\u5f62\u754c\u9762\u9009\u62e9&#xff0c;\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u7684\u56fe\u5f62\u754c\u9762&#xff1a;<\/span><\/p>\n<li>\n<p><span style=\"color:#511b78\">GNOME&#xff1a;GNOME \u662f Ubuntu \u9ed8\u8ba4\u7684\u56fe\u5f62\u754c\u9762\u73af\u5883&#xff0c;\u5b83\u63d0\u4f9b\u4e86\u73b0\u4ee3\u5316\u3001\u529f\u80fd\u4e30\u5bcc\u7684\u7528\u6237\u754c\u9762\u3002<\/span><\/p>\n<\/li>\n<li>\n<p><span style=\"color:#511b78\">KDE Plasma&#xff1a;KDE Plasma \u662f\u53e6\u4e00\u4e2a\u6d41\u884c\u7684\u56fe\u5f62\u754c\u9762&#xff0c;\u5b83\u5f3a\u8c03\u53ef\u5b9a\u5236\u6027\u548c\u4e30\u5bcc\u7684\u7279\u6027\u3002<\/span><\/p>\n<\/li>\n<li>\n<p><span style=\"color:#511b78\">Xfce&#xff1a;Xfce \u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u7684\u56fe\u5f62\u754c\u9762\u73af\u5883&#xff0c;\u5b83\u6ce8\u91cd\u7cfb\u7edf\u8d44\u6e90\u7684\u8282\u7701&#xff0c;\u9002\u5408\u5728\u8f83\u8001\u6216\u8f83\u4f4e\u914d\u7f6e\u7684\u786c\u4ef6\u4e0a\u4f7f\u7528\u3002<\/span><\/p>\n<\/li>\n<li>\n<p><span style=\"color:#511b78\">LXDE&#xff1a;LXDE \u662f\u53e6\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u7684\u56fe\u5f62\u754c\u9762\u73af\u5883&#xff0c;\u7c7b\u4f3c\u4e8e Xfce&#xff0c;\u4e5f\u9002\u5408\u5728\u8d44\u6e90\u6709\u9650\u7684\u73af\u5883\u4e2d\u4f7f\u7528\u3002<\/span><\/p>\n<\/li>\n<li>\n<p><span style=\"color:#511b78\">MATE&#xff1a;MATE \u662f GNOME 2 \u7684\u4e00\u4e2a\u5206\u652f&#xff0c;\u63d0\u4f9b\u4e86\u7ecf\u5178\u7684\u684c\u9762\u4f53\u9a8c&#xff0c;\u9002\u5408\u90a3\u4e9b\u559c\u6b22\u4f20\u7edf\u684c\u9762\u7684\u7528\u6237\u3002<\/span><\/p>\n<\/li>\n<p><span style=\"color:#511b78\">\u8fd9\u4e9b\u56fe\u5f62\u754c\u9762\u90fd\u6709\u5404\u81ea\u7684\u7279\u70b9\u548c\u4f18\u52bf&#xff0c;\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u504f\u597d\u548c\u9700\u6c42\u9009\u62e9\u5176\u4e2d\u4e4b\u4e00\u8fdb\u884c\u5b89\u88c5\u3002<\/span><\/p>\n<h4><span style=\"color:#0d0016\">0.3\u3001\u6700\u7ec8\u8d44\u6e90\u6d88\u8017<\/span><\/h4>\n<p><span style=\"color:#1c7892\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u6211\u5b8c\u6210\u6b64\u6587\u7ae0\u4ee5\u4e0b\u5168\u90e8\u914d\u7f6e\u4e4b\u540e&#xff1a;<\/span><\/p>\n<p><span style=\"color:#1c7892\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u6240\u7528\u7684CPU\u8d44\u6e90&#xff1a;140MHZ&#xff08;1GHZ &#061; 1000 MHZ&#xff09;<\/span><\/p>\n<p><span style=\"color:#1c7892\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u7269\u7406\u5185\u5b58\u6d88\u8017&#xff1a;456MB<\/span><\/p>\n<\/p>\n<h3>1\u3001\u670d\u52a1\u5668\u7684\u7248\u672c\u4fe1\u606f<\/h3>\n<p><span style=\"color:#1a439c\">1.1\u3001Ubuntu22.04<\/span><\/p>\n<p><span style=\"color:#1a439c\">1.2\u3001\u5185\u6838\u7248\u672c&#xff1a;5.15.0-86-generic<\/span><\/p>\n<p><span style=\"color:#1a439c\">1.3\u3001\u670d\u52a1\u5668\u5546&#xff1a;\u963f\u91cc\u4e91<\/span><\/p>\n<p><span style=\"color:#1a439c\">1.4\u3001\u767b\u5f55\u7528\u6237&#xff1a;root<\/span><\/p>\n<\/p>\n<h3>2\u3001\u8f6f\u4ef6\u5305\u6e90<\/h3>\n<p>sudo cp \/etc\/apt\/sources.list \/etc\/apt\/sources.list.bak <\/p>\n<p>sudo vim \/etc\/apt\/sources.list<br \/>\ndeb http:\/\/mirrors.cloud.aliyuncs.com\/ubuntu\/ jammy main restricted<br \/>\ndeb-src http:\/\/mirrors.cloud.aliyuncs.com\/ubuntu\/ jammy main restricted<\/p>\n<p>deb http:\/\/mirrors.cloud.aliyuncs.com\/ubuntu\/ jammy-updates main restricted<br \/>\ndeb-src http:\/\/mirrors.cloud.aliyuncs.com\/ubuntu\/ jammy-updates main restricted<\/p>\n<p>deb http:\/\/mirrors.cloud.aliyuncs.com\/ubuntu\/ jammy universe<br \/>\ndeb-src http:\/\/mirrors.cloud.aliyuncs.com\/ubuntu\/ jammy universe<br \/>\ndeb http:\/\/mirrors.cloud.aliyuncs.com\/ubuntu\/ jammy-updates universe<br \/>\ndeb-src http:\/\/mirrors.cloud.aliyuncs.com\/ubuntu\/ jammy-updates universe<\/p>\n<p>deb http:\/\/mirrors.cloud.aliyuncs.com\/ubuntu\/ jammy multiverse<br \/>\ndeb-src http:\/\/mirrors.cloud.aliyuncs.com\/ubuntu\/ jammy multiverse<br \/>\ndeb http:\/\/mirrors.cloud.aliyuncs.com\/ubuntu\/ jammy-updates multiverse<br \/>\ndeb-src http:\/\/mirrors.cloud.aliyuncs.com\/ubuntu\/ jammy-updates multiverse<\/p>\n<p>deb http:\/\/mirrors.cloud.aliyuncs.com\/ubuntu\/ jammy-backports main restricted universe multiverse<br \/>\ndeb-src http:\/\/mirrors.cloud.aliyuncs.com\/ubuntu\/ jammy-backports main restricted universe multiverse<\/p>\n<p>deb http:\/\/mirrors.cloud.aliyuncs.com\/ubuntu jammy-security main restricted<br \/>\ndeb-src http:\/\/mirrors.cloud.aliyuncs.com\/ubuntu jammy-security main restricted<br \/>\ndeb http:\/\/mirrors.cloud.aliyuncs.com\/ubuntu jammy-security universe<br \/>\ndeb-src http:\/\/mirrors.cloud.aliyuncs.com\/ubuntu jammy-security universe<br \/>\ndeb http:\/\/mirrors.cloud.aliyuncs.com\/ubuntu jammy-security multiverse<br \/>\ndeb-src http:\/\/mirrors.cloud.aliyuncs.com\/ubuntu jammy-security multiverse<br \/>\nsudo apt-get update<br \/>\nsudo apt-get upgrade <\/p>\n<h3><\/h3>\n<h3>3\u3001\u5b89\u88c5\u56fe\u5f62\u754c\u9762xfce4<\/h3>\n<p>sudo apt install xfce4<\/p>\n<p># root&#064;iZ2vc0zo1j504sduj6hg73Z:~\/Desktop# xfce4-panel -V<br \/>\n# xfce4-panel 4.16.3 (Xfce 4.16)<\/p>\n<p># Copyright (c) 2004-2011<br \/>\n# Xfce \u00e5\u00bc\u20ac\u00e5\u00e5\u00a2\u00e9\u00e3\u20ac\u00e4\u00bf\u00e7\u00e6\u20ac\u00e6\u00e6\u00e5\u00a9\u00e3\u20ac<\/p>\n<p># \u00e8\u00af\u00b7\u00e5 &lt;http:\/\/bugzilla.xfce.org\/&gt; \u00e6\u00a5\u00e5\u00e7\u00bc\u00ba\u00e9\u00b7\u00e3\u20ac<br \/>\n# root&#064;iZ2vc0zo1j504sduj6hg73Z:~\/Desktop# <\/p>\n<h3>4\u3001\u5b89\u88c5VNC&#xff08;\u7528\u4e8e\u5ba2\u6237\u7aef\u8fde\u63a5\u670d\u52a1\u5668\u684c\u9762&#xff09;<\/h3>\n<h4>4.1\u3001\u5b89\u88c5 tightvncserver<\/h4>\n<p>sudo apt install tightvncserver <\/p>\n<h4>4.2\u3001\u542f\u52a8 VNC \u670d\u52a1\u5668<\/h4>\n<p>\u5728\u7b2c\u4e00\u6b21\u8fd0\u884c\u65f6&#xff0c;\u5b83\u4f1a\u8981\u6c42\u4f60\u8bbe\u7f6e VNC \u5bc6\u7801\u3002\u8bbe\u7f6e\u4e00\u4e2a\u5b89\u5168\u7684\u5bc6\u7801\u3002<\/p>\n<p>\u5bc6\u7801\u957f\u5ea6\u53ea\u80fd\u662f&#xff1a;<span style=\"color:#fe2c24\">8\u4f4d\u00a0<\/span><span style=\"color:#0d0016\">\u5927\u5c0f<\/span>;<\/p>\n<p>tightvncserver <\/p>\n<h4>4.3\u3001\u914d\u7f6e VNC \u670d\u52a1\u5668<\/h4>\n<p>mv ~\/.vnc\/xstartup ~\/.vnc\/xstartup.bak<br \/>\nvim ~\/.vnc\/xstartup<\/p>\n<p>\u5c06 xstartup \u6587\u4ef6\u7f16\u8f91\u4e3a\u4ee5\u4e0b\u5185\u5bb9&#xff1a;<\/p>\n<p>#!\/bin\/bash<br \/>\nxrdb $HOME\/.Xresources<br \/>\nstartxfce4 &amp; <\/p>\n<p>\u4fdd\u5b58\u5e76\u9000\u51fa\u3001<\/p>\n<h4>4.4\u3001\u91cd\u65b0\u542f\u52a8 VNC \u670d\u52a1\u5668<\/h4>\n<p>tightvncserver <\/p>\n<p>\u73b0\u5728&#xff0c;VNC \u670d\u52a1\u5668\u5e94\u8be5\u5728\u7aef\u53e3 5901 \u4e0a\u8fd0\u884c\u3002<\/p>\n<p>\u6ce8\u610f&#xff1a;\u670d\u52a1\u5668\u7684\u5b89\u5168\u7ec4\u6216\u8005\u9632\u706b\u5899&#xff0c;\u653e\u884c 5901 \u7aef\u53e3;<\/p>\n<h4 style=\"background-color:transparent\">4.5\u3001\u914d\u7f6e\u9632\u706b\u5899\u89c4\u5219&#xff08;\u5982\u679c\u6709\u5fc5\u8981&#xff09;<\/h4>\n<p>\u5982\u679c\u4f7f\u7528\u9632\u706b\u5899&#xff0c;\u786e\u4fdd\u5141\u8bb8 VNC \u7684\u76f8\u5173\u7aef\u53e3&#xff0c;\u901a\u5e38\u662f 5901\u3002<\/p>\n<p>\u4f7f\u7528 ufw \u53ef\u4ee5\u65b9\u4fbf\u5730\u914d\u7f6e&#xff1a;<\/p>\n<p>sudo ufw allow 5901 <\/p>\n<h4>4.6\u3001\u89e3\u51b3\u5ba2\u6237\u7aefVNC\u548c\u8fdc\u7a0b\u670d\u52a1\u5668\u684c\u9762\u4e4b\u95f4\u7684\u590d\u5236\u9ecf\u8d34\u95ee\u9898&#xff08;<span style=\"color:#fe2c24\">\u53ef\u9009<\/span>&#xff09;<\/h4>\n<p>\u670d\u52a1\u5668\u7ec8\u7aef\u6267\u884c<\/p>\n<p>sudo apt-get install autocutsel <\/p>\n<p>\u4fee\u6539 ~\/.vnc\/xstartup<\/p>\n<p>vim ~\/.vnc\/xstartup <\/p>\n<p>\u5728\u6587\u4ef6\u6700\u540e\u6dfb\u52a0 &#xff1a;<span style=\"color:#fe2c24\">autocutsel -fork<\/span><\/p>\n<p>\u91cd\u542fvnc<\/p>\n<p>tightvncserver -kill :1<br \/>\ntightvncserver <\/p>\n<h3>5\u3001\u5ba2\u6237\u7aef\u8fde\u63a5<\/h3>\n<h4>5.1\u3001\u4e0b\u8f7d RealVNC\u00ae Viewer<\/h4>\n<p>\u4e0b\u8f7d RealVNC\u00ae Viewer<\/p>\n<p>Download VNC Viewer | VNC\u00ae Connect<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"NhIuEIFQJk\"><p><a href=\"https:\/\/www.realvnc.com\/en\/connect\/download\/viewer\/\">Viewer<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Viewer&#8221; &#8212; RealVNC\u00ae\" src=\"https:\/\/www.realvnc.com\/en\/connect\/download\/viewer\/embed\/#?secret=qdhwM8AQkU#?secret=NhIuEIFQJk\" data-secret=\"NhIuEIFQJk\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe> <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"260\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250518104605-6829ba6d03edd.png\" width=\"892\" \/><\/p>\n<p>\u5ba2\u6237\u7aef\u8f93\u5165\u5982\u56fe&#xff1a;ip:5901 \u8fdb\u884c\u8fde\u63a5 &#xff08;ip:\u7aef\u53e3\u53f7&#xff0c;\u4f8b\u5982&#xff1a;7.234.15.78:5901 &#xff09;<\/p>\n<\/p>\n<h4>5.2\u3001\u5ba2\u6237\u7aef\u7684\u7684\u8bbe\u7f6e&#xff08;\u4e3a\u89e3\u51b3\u76f8\u4e92\u6587\u5b57\u9ecf\u8d34\u590d\u5236\u95ee\u9898&#xff09;&#xff08;<span style=\"color:#fe2c24\">\u53ef\u9009<\/span>&#xff09;<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"274\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250518104605-6829ba6d1ddf5.png\" width=\"636\" \/><\/p>\n<p>\u4fee\u6539&#xff1a;<span style=\"color:#fe2c24\">Encryption &#xff1a;Prefer off<\/span><\/p>\n<h3><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"628\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250518104605-6829ba6d2f098.png\" width=\"537\" \/><\/h3>\n<h4>5.3\u3001\u5ba2\u6237\u7aefVNC\u663e\u793a\u7684\u753b\u9762\u8d28\u91cf&#xff08;<span style=\"color:#fe2c24\">\u53ef\u9009<\/span>&#xff09;<\/h4>\n<p>\u4fee\u6539&#xff1a;<span style=\"color:#fe2c24\">Picture quality<\/span> \u9009\u9879<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"392\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250518104605-6829ba6d450c0.png\" width=\"541\" \/><\/p>\n<\/p>\n<h3>6\u3001\u91cd\u8bbeVNC\u670d\u52a1\u7aef\u7684\u5bc6\u7801&#xff08;<span style=\"color:#fe2c24\">\u4ec5\u4ec5\u662f\u4ecb\u7ecd-\u53ef\u8df3\u8fc7-\u4e0d\u7528\u6267\u884c<\/span>&#xff09;<\/h3>\n<h4>6.1\u3001\u5173\u95ed\u5168\u90e8\u7684VNC\u4f1a\u8bdd<\/h4>\n<p>tightvncserver -kill :1<\/p>\n<p>#\u4e00\u822c\u53ea\u4f1a\u53ea\u542f\u52a8\u4e86\u4e00\u4e2aVNC\u4f1a\u8bdd&#xff0c;\u4e0a\u9762\u6267\u884c\u547d\u4ee4\u5373\u53ef;<br \/>\n#\u591a\u4e2a\u4f1a\u8bdd\u5c31<br \/>\n#tightvncserver -kill :2<br \/>\n#tightvncserver -kill :3<br \/>\n#tightvncserver -kill :&#8230;<br \/>\n#\u76f4\u5230\u5173\u95ed\u5b8c<\/p>\n<p>tightvncserver<\/p>\n<h4>6.2\u3001\u8f93\u5165\u65b0\u7684 VNC \u5bc6\u7801<\/h4>\n<p>\u8bf7\u6ce8\u610f&#xff0c;VNC \u5bc6\u7801\u6709\u4e00\u4e2a\u6700\u5927\u957f\u5ea6\u9650\u5236&#xff0c;\u901a\u5e38\u662f <span style=\"color:#fe2c24\">8 \u4e2a<\/span>\u5b57\u7b26\u3002<\/p>\n<p>\u8f93\u5165\u5bc6\u7801\u540e&#xff0c;\u4f60\u4f1a\u88ab\u8981\u6c42\u786e\u8ba4\u5bc6\u7801\u3002<\/p>\n<p>vncpasswd <\/p>\n<h3 style=\"background-color:transparent\">7\u3001\u89e3\u51b3\u53ef\u80fd\u7684\u3001\u5ba2\u6237\u7aefVNC\u8fde\u63a5\u4e4b\u540e\u3001\u662f<span style=\"color:#fe2c24\">\u7070\u5c4f<\/span>\u7684\u95ee\u9898<\/h3>\n<h4>7.1\u3001\u4e00\u822c\u662f \u201c .vnc\/xstartup \u201d\u7684\u6743\u9650\u95ee\u9898<\/h4>\n<p>chmod 700 ~\/.vnc<br \/>\nchmod 600 ~\/.vnc\/xstartup<br \/>\nchmod &#043;x ~\/.vnc\/xstartup<\/p>\n<p>#chmod &#043;x \/root\/.vnc\/xstartup<\/p>\n<h4>7.2\u3001\u91cd\u65b0\u542f\u52a8 VNC \u670d\u52a1\u5668<\/h4>\n<p>tightvncserver -kill :1<br \/>\ntightvncserver <\/p>\n<h4>7.3\u3001\u8fd8\u662f\u6ca1\u6709\u89e3\u51b3<\/h4>\n<p>\u5982\u679c\u8fd9\u6837\u8fd8\u65e0\u6cd5\u89e3\u51b3\u95ee\u9898&#xff0c;\u8bf7\u786e\u4fdd .vnc \u6587\u4ef6\u5939\u53ca\u5176\u5185\u5bb9\u7684\u6240\u6709\u8005\u662f root&#xff08;\u5f53\u524d\u7528\u6237&#xff09;<\/p>\n<p>sudo chown -R root:root \/root\/.vnc <\/p>\n<h4>7.4\u3001\u8fd8\u662f\u6ca1\u6709\u89e3\u51b3&#xff1a;\u67e5\u770b\u65e5\u5fd7\u6587\u4ef6<\/h4>\n<p>\u68c0\u67e5 VNC \u670d\u52a1\u5668\u7684\u65e5\u5fd7\u6587\u4ef6&#xff0c;\u5b83\u53ef\u80fd\u63d0\u4f9b\u6709\u5173\u95ee\u9898\u7684\u66f4\u591a\u4fe1\u606f&#xff0c;\u7136\u540e\u6839\u636e\u65e5\u5fd7\u89e3\u51b3\u95ee\u9898\u3002<\/p>\n<p>\u4f8b\u5982&#xff1a;\u4f60\u53ef\u4ee5\u67e5\u770b\u65e5\u5fd7&#xff1a;<\/p>\n<p>\u00a0.vnc\/iZ2vc0zo1jsadsadasd:1.log \u6587\u4ef6&#xff0c;<\/p>\n<p>\u5176\u4e2d\u7684 iZ2vc0zo1jsadsadasd:1 \u662f\u4f60\u7684 VNC \u670d\u52a1\u5668\u7684\u6807\u8bc6\u7b26\u3002<\/p>\n<p>cd<br \/>\ncd .vnc<br \/>\nls<br \/>\n#cat <\/p>\n<h4>7.5\u3001\u5907\u6ce8<\/h4>\n<p>\u6709\u65f6\u5019&#xff0c;\u7279\u5b9a\u7248\u672c\u7684 TightVNC \u53ef\u80fd\u5b58\u5728\u4e00\u4e9b\u95ee\u9898\u3002<\/p>\n<p>\u4f60\u53ef\u4ee5\u8003\u8651\u5c1d\u8bd5\u5176\u4ed6\u7684 VNC \u670d\u52a1\u5668&#xff0c;\u4f8b\u5982 TigerVNC\u3002<\/p>\n<p>\u5b89\u88c5 TigerVNC \u670d\u52a1\u5668\u5e76\u4f7f\u7528\u5b83\u6765\u67e5\u770b\u662f\u5426\u4ecd\u7136\u5b58\u5728\u76f8\u540c\u7684\u95ee\u9898\u3002<\/p>\n<p>sudo apt install tigervnc-standalone-server tigervnc-common<br \/>\nvncserver<\/p>\n<h3>8\u3001\u8bbe\u7f6eVNC\u7684\u5206\u8fa8\u7387&#xff08;\u4f8b\u5982\u8bbe\u7f6e\u4e3a&#xff1a;1440\u00d7900&#xff09;<\/h3>\n<p>\u8fd9\u91cc\u7684 &#034;:1&#034; \u662f TightVNC Server \u7684\u663e\u793a\u53f7&#xff0c;<\/p>\n<p>\u4f60\u9700\u8981\u7528\u5b9e\u9645\u8fd0\u884c VNC \u670d\u52a1\u5668\u65f6\u5206\u914d\u7684<span style=\"color:#fe2c24\">\u663e\u793a\u53f7<\/span>\u66ff\u6362\u5b83\u3002<\/p>\n<p>\u8fd9\u4e24\u4e2a\u547d\u4ee4\u7684\u76ee\u7684\u662f\u5148\u505c\u6b62\u65e7\u7684 VNC \u4f1a\u8bdd&#xff0c;\u7136\u540e\u4ee5\u65b0\u7684\u5206\u8fa8\u7387\u91cd\u65b0\u542f\u52a8\u3002<\/p>\n<p>vncserver -kill :1  # \u7528\u4f60\u5b9e\u9645\u7684\u663e\u793a\u53f7\u66ff\u6362 &#034;:1&#034;<br \/>\ntightvncserver -geometry 1440&#215;900<\/p>\n<h3>9\u3001xfce4\u8bbe\u7f6e\u4e2d\u6587&#xff08;\u684c\u9762\u6c49\u5316&#xff09;<\/h3>\n<h4>9.1\u3001\u6267\u884c<\/h4>\n<p> dpkg-reconfigure locales<\/p>\n<p>\u9009\u62e9\u8fd9\u4e9b\u9009\u9879&#xff08;\u70b9\u51fb\u7a7a\u683c\u952e\u9009\u4e2d&#xff0c;\u70b9\u51fb\u56de\u8f66\u5efa\u9000\u51fa\u754c\u9762&#xff09;<\/p>\n<p>en_US ISO-8859-1<br \/>\nzh_CN GB2312<br \/>\nzh_CN.GBK GBK<br \/>\nzh_CN.UTF-8 UTF-8<br \/>\nzh_TW BIG5<br \/>\nzh_TW.UTF-8 UTF-8<\/p>\n<h4><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"559\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250518104605-6829ba6d57b76.png\" width=\"1200\" \/><\/h4>\n<h4>9.2\u3001\u5b89\u88c5\u4e2d\u6587\u5b57\u4f53&#xff08;\u7b80\u4f53\u548c\u7e41\u4f53&#xff09;<\/h4>\n<p>sudo apt-get install fonts-arphic-bsmi00lp fonts-arphic-gbsn00lp fonts-arphic-gkai00mp<\/p>\n<h4>9.3\u3001\u4fee\u6539\u5f53\u524d\u7cfb\u7edf\u9ed8\u8ba4\u7684\u5b57\u4f53\u4e3a\u4e2d\u6587<\/h4>\n<p>vim \/etc\/default\/locale<\/p>\n<p>\u4fee\u6539\u4e3a&#xff1a;<\/p>\n<p>LANG&#061;zh_CN.UTF-8 <\/p>\n<p>\u91cd\u542f<\/p>\n<p>reboot <\/p>\n<h3>10\u3001\u5b89\u88c5\u4e2d\u6587\u8f93\u5165\u6cd5<\/h3>\n<h4>10.1\u3001\u5b89\u88c5\u00a0fcitx<\/h4>\n<p>sudo apt-get install fcitx <\/p>\n<h4>10.2\u3001\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf&#xff08;\u5bf9\u4e8e\u5bf9\u4e8e Bash Shell&#xff09;<\/h4>\n<p>\u5728\u4f60\u7684 shell \u914d\u7f6e\u6587\u4ef6&#xff08;\u4f8b\u5982 ~\/.bashrc \u6216 ~\/.zshrc&#xff09;\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u884c&#xff0c;<\/p>\n<p>\u4ee5\u786e\u4fdd fcitx \u5728\u767b\u5f55\u65f6\u81ea\u52a8\u542f\u52a8&#xff1b;<\/p>\n<p>export GTK_IM_MODULE&#061;fcitx<br \/>\nexport QT_IM_MODULE&#061;fcitx<br \/>\nexport XMODIFIERS&#061;&#064;im&#061;fcitx <\/p>\n<p>\u7136\u540e&#xff0c;\u91cd\u65b0\u52a0\u8f7d\u914d\u7f6e\u6587\u4ef6\u6216\u91cd\u65b0\u542f\u52a8\u7ec8\u7aef<\/p>\n<p>source ~\/.bashrc <\/p>\n<h4>10.3\u3001\u8bbe\u7f6e\u73af\u5883\u53d8\u91cf&#xff08;\u5bf9\u4e8e\u5bf9\u4e8e Zsh Shell&#xff09;<\/h4>\n<p>\u4fee\u6539<\/p>\n<p>vim nano ~\/.zshrc <\/p>\n<p>\u5907\u6ce8&#xff1a;\u4e0a\u9762\u8bbe\u7f6e\u7684\u7528\u6237\u7684\u73af\u5883\u53d8\u91cf&#xff0c;\u5982\u679c\u9700\u8981\u8bbe\u7f6e\u4e3a\u7cfb\u7edf\u7684\u73af\u5883\u53d8\u91cf\u9700\u8981\u5728\u4ee5\u4e0b\u4f4d\u7f6e\u6dfb\u52a0<\/p>\n<p>sudo vim \/etc\/profile <\/p>\n<h4>10.4\u3001fcitx\u8bbe\u7f6e\u4e3a\u5f00\u673a\u81ea\u542f\u52a8<\/h4>\n<h5>10.4.1\u3001fcitx\u8bbe\u7f6e\u4e3a\u5f00\u673a\u81ea\u542f\u52a8&#xff08;\u65b9\u5f0f\u4e00&#xff09;<\/h5>\n<p>\u201c\u5728\u8bbe\u7f6e\u201d -&gt; &#034;\u4f1a\u8bdd\u548c\u542f\u52a8&#034; -&gt; &#034;\u5e94\u7528\u7a0b\u5e8f\u81ea\u542f\u52a8&#034;-&gt;\u6dfb\u52a0\u4e00\u4e2a\u542f\u52a8\u9879&#xff08;\u5de6\u4e0b\u89d2\u7684\u52a0\u53f7<span style=\"color:#fe2c24\">&#043;<\/span>&#xff09;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"717\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250518104605-6829ba6d95169.png\" width=\"763\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"606\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250518104605-6829ba6db9736.png\" width=\"804\" \/><\/p>\n<\/p>\n<h5>10.4.2\u3001fcitx\u8bbe\u7f6e\u4e3a\u5f00\u673a\u81ea\u542f\u52a8&#xff08;\u65b9\u5f0f\u4e8c&#xff09;<\/h5>\n<p>sudo apt-get update<br \/>\nsudo apt-get install im-config<br \/>\nim-config<\/p>\n<p>\u00a0 \u00a0 \u9009\u62e9 &#034;\u662f&#034; \u6765\u5141\u8bb8\u8bbe\u7f6e\u8f93\u5165\u6cd5<\/p>\n<p>\u00a0 \u00a0 \u9009\u62e9 fcitx \u4f5c\u4e3a\u9ed8\u8ba4\u7684\u8f93\u5165\u6cd5\u6846\u67b6\u3002\u4f7f\u7528\u4e0a\u4e0b\u7bad\u5934\u952e\u8fdb\u884c\u9009\u62e9&#xff0c;\u7136\u540e\u6309\u4e0b\u56de\u8f66\u952e<\/p>\n<p>\u00a0 \u00a0 \u5728\u914d\u7f6e\u5b8c\u6210\u540e&#xff0c;\u6309\u4e0b &#034;\u662f&#034; \u6765\u4fdd\u5b58\u5e76\u5e94\u7528\u914d\u7f6e<\/p>\n<p>\u00a0 \u00a0 \u91cd\u65b0\u542f\u52a8\u4f60\u7684\u7cfb\u7edf<\/p>\n<p>\u00a0 \u00a0 \u73b0\u5728&#xff0c;fcitx \u5e94\u8be5\u5728\u7cfb\u7edf\u542f\u52a8\u65f6\u81ea\u52a8\u542f\u52a8\u3002<\/p>\n<p>\u00a0 \u00a0 \u4f60\u53ef\u4ee5\u901a\u8fc7\u5728\u7cfb\u7edf\u6258\u76d8\u533a\u57df\u627e\u5230 fcitx \u56fe\u6807\u6765\u786e\u8ba4\u5b83\u662f\u5426\u5df2\u542f\u52a8\u3002<\/p>\n<p>\u00a0 \u00a0 \u5728\u8f93\u5165\u6cd5\u8bbe\u7f6e\u4e2d&#xff0c;\u4f60\u4e5f\u53ef\u4ee5\u914d\u7f6e fcitx \u7684\u8be6\u7ec6\u8bbe\u7f6e<\/p>\n<p>\u00a0 \u00a0 \u5907\u6ce8&#xff1a;\u5982\u679c\u6ca1\u6709\u8bbe\u7f6e\u4e3a\u5f00\u673a\u81ea\u542f\u52a8&#xff0c;\u90a3\u4e48\u6bcf\u6b21\u91cd\u542f\u7cfb\u7edf\u7684\u65f6\u5019\u53d1\u73b0\u4e2d\u6587\u8f93\u5165\u6cd5\u4e0d\u80fd\u4f7f\u7528&#xff0c;<\/p>\n<p>\u00a0 \u00a0 \u9700\u8981\u5728\u7ec8\u7aef\u6267\u884c\u547d\u4ee4&#xff0c;\u7136\u540e\u4f7f\u7528 crtl\u952e &#043; \u7a7a\u683c\u952e&#xff0c;\u6765\u5207\u6362\u8f93\u5165\u6cd5;<\/p>\n<\/p>\n<p>\u7cfb\u7edf\u542f\u52a8\u540e\u6267\u884c<\/p>\n<p>fcitx -r<\/p>\n<p># fcitx <\/p>\n<h4>10.5\u3001\u5b89\u88c5\u4e2d\u6587\u62fc\u97f3\u8f93\u5165\u6cd5<\/h4>\n<p>sudo apt-get install fcitx-pinyin <\/p>\n<h4>10.6\u3001\u914d\u7f6e\u62fc\u97f3\u8f93\u5165\u6cd5<\/h4>\n<p>fcitx-config-gtk3 <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"759\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250518104605-6829ba6defecf.png\" width=\"1200\" \/><\/p>\n<p><span style=\"color:#fe2c24\">\u5982\u56fe\u6240\u793a&#xff0c;\u70b9\u51fb\u5de6\u4e0b\u89d2\u7684<\/span><span style=\"color:#1a439c\">&#043;<\/span><span style=\"color:#fe2c24\">\u53f7\u8fdb\u884c\u6dfb\u52a0;<\/span><\/p>\n<h4>10.7\u3001\u91cd\u65b0\u542f\u52a8 fcitx<\/h4>\n<p>fcitx -r<\/p>\n<p># fcitx <\/p>\n<h4>10.8\u3001\u5907\u6ce8&#xff1a;\u62fc\u97f3\u8f93\u5165\u4f7f\u7528\u8fc7\u7a0b\u4e2d\u5982\u679c\u51fa\u95ee\u9898\u4e86\u53ef\u4ee5\u6267\u884c<\/h4>\n<p>killall fcitx<br \/>\nfcitx -r<\/p>\n<h4>10.9\u3001\u5982\u679c\u4e0d\u5c0f\u5fc3\u5378\u8f7d\u4e86\u82f1\u6587\u8f93\u5165\u6cd5&#xff0c;\u91cd\u65b0\u5b89\u88c5<\/h4>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e&#xff0c;\u5728 fcitx-config-gtk3 \u4e2d\u542f\u7528 fcitx-keyboard \u63d2\u4ef6<\/p>\n<p>sudo apt-get install fcitx-keyboard<\/p>\n<h3>11\u3001\u5b89\u88c5\u6587\u672c\u7f16\u8f91\u5668<\/h3>\n<p>sudo apt-get update<br \/>\nsudo apt-get install mousepad<\/p>\n<h3>12\u3001\u5b89\u88c5\u7ec8\u7aef<\/h3>\n<p>sudo apt-get install xfce4-terminal <\/p>\n<p><span style=\"color:#1a439c\">\u201c\u8bbe\u7f6e\u201d -&gt;&#034;\u8bbe\u5907\u7ba1\u7406\u5668&#034; -&gt;&#034;\u9ed8\u8ba4\u5e94\u7528\u7a0b\u5e8f&#034; -&gt; &#034;\u5b9e\u7528\u7a0b\u5e8f&#034; -&gt;&#034;\u7ec8\u7aef\u6a21\u62df\u5668&#034;<\/span><\/p>\n<h3><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"323\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250518104606-6829ba6e659d9.png\" width=\"444\" \/><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"552\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250518104606-6829ba6e7a3ee.png\" width=\"693\" \/><\/p>\n<h3><\/h3>\n<h3>13\u3001\u5b89\u88c5\u706b\u72d0\u6d4f\u89c8\u5668<\/h3>\n<p>\u81ea\u5e26\u7684 Web Browser \u53ef\u80fd\u65e0\u6cd5\u4f7f\u7528&#xff1b;<\/p>\n<p>\u53bb\u706b\u72d0\u5b98\u7f51\u4e0b\u8f7d<\/p>\n<p>Firefox \u706b\u72d0\u6d4f\u89c8\u5668 &#8211; \u5168\u65b0\u3001\u5b89\u5168\u3001\u5feb\u901f | \u5b98\u65b9\u6700\u65b0\u4e0b\u8f7d<\/p>\n<p>https:\/\/www.firefox.com.cn\/ <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb4.4k\u6b21\uff0c\u70b9\u8d5e21\u6b21\uff0c\u6536\u85cf38\u6b21\u3002\u672c\u6587\u8be6\u7ec6\u6307\u5bfc\u5982\u4f55\u5728Ubuntu22.04\u963f\u91cc\u4e91\u670d\u52a1\u5668\u4e0a\u5b89\u88c5GNOME\u3001KDEPlasma\u7b49\u56fe\u5f62\u754c\u9762\uff0c\u5e76\u914d\u7f6eVNC\u670d\u52a1\uff0c\u5305\u62ecTightVNC\u548cFirefoxBrowser\u7684\u5b89\u88c5\uff0c\u4ee5\u53ca\u4e2d\u6587\u652f\u6301\u548c\u8f93\u5165\u6cd5\u8bbe\u7f6e\u3002<\/p>\n","protected":false},"author":2,"featured_media":37912,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[103,3284,43,44],"topic":[],"class_list":["post-37922","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-ubuntu","tag-3284","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>7\u3001\u4e91\u670d\u52a1\u5668\u3001WSL2\uff08Widnows\uff09Ubuntu22.04\u3001\u5b89\u88c5\u56fe\u5f62\u754c\u9762\/\u684c\u9762xfce4\u3001vnc\u8fde\u63a5\u3001\u8bbe\u7f6e\u4e2d\u6587\u684c\u9762\u3001\u914d\u7f6e\u4e2d\u6587\u8f93\u5165\u6cd5\u3001\u5b89\u88c5\u6d4f\u89c8\u5668\u548c\u6587\u672c\u7f16\u8f91\u5668\u3001\u7ec8\u7aef\u3001\u89e3\u51b3\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u684c\u9762\u590d\u5236\u9ecf\u8d34\u95ee\u9898 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/37922.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"7\u3001\u4e91\u670d\u52a1\u5668\u3001WSL2\uff08Widnows\uff09Ubuntu22.04\u3001\u5b89\u88c5\u56fe\u5f62\u754c\u9762\/\u684c\u9762xfce4\u3001vnc\u8fde\u63a5\u3001\u8bbe\u7f6e\u4e2d\u6587\u684c\u9762\u3001\u914d\u7f6e\u4e2d\u6587\u8f93\u5165\u6cd5\u3001\u5b89\u88c5\u6d4f\u89c8\u5668\u548c\u6587\u672c\u7f16\u8f91\u5668\u3001\u7ec8\u7aef\u3001\u89e3\u51b3\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u684c\u9762\u590d\u5236\u9ecf\u8d34\u95ee\u9898 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb4.4k\u6b21\uff0c\u70b9\u8d5e21\u6b21\uff0c\u6536\u85cf38\u6b21\u3002\u672c\u6587\u8be6\u7ec6\u6307\u5bfc\u5982\u4f55\u5728Ubuntu22.04\u963f\u91cc\u4e91\u670d\u52a1\u5668\u4e0a\u5b89\u88c5GNOME\u3001KDEPlasma\u7b49\u56fe\u5f62\u754c\u9762\uff0c\u5e76\u914d\u7f6eVNC\u670d\u52a1\uff0c\u5305\u62ecTightVNC\u548cFirefoxBrowser\u7684\u5b89\u88c5\uff0c\u4ee5\u53ca\u4e2d\u6587\u652f\u6301\u548c\u8f93\u5165\u6cd5\u8bbe\u7f6e\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/37922.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-18T10:46:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250518104605-6829ba6d03edd.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/37922.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/37922.html\",\"name\":\"7\u3001\u4e91\u670d\u52a1\u5668\u3001WSL2\uff08Widnows\uff09Ubuntu22.04\u3001\u5b89\u88c5\u56fe\u5f62\u754c\u9762\/\u684c\u9762xfce4\u3001vnc\u8fde\u63a5\u3001\u8bbe\u7f6e\u4e2d\u6587\u684c\u9762\u3001\u914d\u7f6e\u4e2d\u6587\u8f93\u5165\u6cd5\u3001\u5b89\u88c5\u6d4f\u89c8\u5668\u548c\u6587\u672c\u7f16\u8f91\u5668\u3001\u7ec8\u7aef\u3001\u89e3\u51b3\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u684c\u9762\u590d\u5236\u9ecf\u8d34\u95ee\u9898 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-05-18T10:46:07+00:00\",\"dateModified\":\"2025-05-18T10:46:07+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/37922.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/37922.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/37922.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"7\u3001\u4e91\u670d\u52a1\u5668\u3001WSL2\uff08Widnows\uff09Ubuntu22.04\u3001\u5b89\u88c5\u56fe\u5f62\u754c\u9762\/\u684c\u9762xfce4\u3001vnc\u8fde\u63a5\u3001\u8bbe\u7f6e\u4e2d\u6587\u684c\u9762\u3001\u914d\u7f6e\u4e2d\u6587\u8f93\u5165\u6cd5\u3001\u5b89\u88c5\u6d4f\u89c8\u5668\u548c\u6587\u672c\u7f16\u8f91\u5668\u3001\u7ec8\u7aef\u3001\u89e3\u51b3\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u684c\u9762\u590d\u5236\u9ecf\u8d34\u95ee\u9898\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"7\u3001\u4e91\u670d\u52a1\u5668\u3001WSL2\uff08Widnows\uff09Ubuntu22.04\u3001\u5b89\u88c5\u56fe\u5f62\u754c\u9762\/\u684c\u9762xfce4\u3001vnc\u8fde\u63a5\u3001\u8bbe\u7f6e\u4e2d\u6587\u684c\u9762\u3001\u914d\u7f6e\u4e2d\u6587\u8f93\u5165\u6cd5\u3001\u5b89\u88c5\u6d4f\u89c8\u5668\u548c\u6587\u672c\u7f16\u8f91\u5668\u3001\u7ec8\u7aef\u3001\u89e3\u51b3\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u684c\u9762\u590d\u5236\u9ecf\u8d34\u95ee\u9898 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/37922.html","og_locale":"zh_CN","og_type":"article","og_title":"7\u3001\u4e91\u670d\u52a1\u5668\u3001WSL2\uff08Widnows\uff09Ubuntu22.04\u3001\u5b89\u88c5\u56fe\u5f62\u754c\u9762\/\u684c\u9762xfce4\u3001vnc\u8fde\u63a5\u3001\u8bbe\u7f6e\u4e2d\u6587\u684c\u9762\u3001\u914d\u7f6e\u4e2d\u6587\u8f93\u5165\u6cd5\u3001\u5b89\u88c5\u6d4f\u89c8\u5668\u548c\u6587\u672c\u7f16\u8f91\u5668\u3001\u7ec8\u7aef\u3001\u89e3\u51b3\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u684c\u9762\u590d\u5236\u9ecf\u8d34\u95ee\u9898 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb4.4k\u6b21\uff0c\u70b9\u8d5e21\u6b21\uff0c\u6536\u85cf38\u6b21\u3002\u672c\u6587\u8be6\u7ec6\u6307\u5bfc\u5982\u4f55\u5728Ubuntu22.04\u963f\u91cc\u4e91\u670d\u52a1\u5668\u4e0a\u5b89\u88c5GNOME\u3001KDEPlasma\u7b49\u56fe\u5f62\u754c\u9762\uff0c\u5e76\u914d\u7f6eVNC\u670d\u52a1\uff0c\u5305\u62ecTightVNC\u548cFirefoxBrowser\u7684\u5b89\u88c5\uff0c\u4ee5\u53ca\u4e2d\u6587\u652f\u6301\u548c\u8f93\u5165\u6cd5\u8bbe\u7f6e\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/37922.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-05-18T10:46:07+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/05\/20250518104605-6829ba6d03edd.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/37922.html","url":"https:\/\/www.wsisp.com\/helps\/37922.html","name":"7\u3001\u4e91\u670d\u52a1\u5668\u3001WSL2\uff08Widnows\uff09Ubuntu22.04\u3001\u5b89\u88c5\u56fe\u5f62\u754c\u9762\/\u684c\u9762xfce4\u3001vnc\u8fde\u63a5\u3001\u8bbe\u7f6e\u4e2d\u6587\u684c\u9762\u3001\u914d\u7f6e\u4e2d\u6587\u8f93\u5165\u6cd5\u3001\u5b89\u88c5\u6d4f\u89c8\u5668\u548c\u6587\u672c\u7f16\u8f91\u5668\u3001\u7ec8\u7aef\u3001\u89e3\u51b3\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u684c\u9762\u590d\u5236\u9ecf\u8d34\u95ee\u9898 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-05-18T10:46:07+00:00","dateModified":"2025-05-18T10:46:07+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/37922.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/37922.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/37922.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"7\u3001\u4e91\u670d\u52a1\u5668\u3001WSL2\uff08Widnows\uff09Ubuntu22.04\u3001\u5b89\u88c5\u56fe\u5f62\u754c\u9762\/\u684c\u9762xfce4\u3001vnc\u8fde\u63a5\u3001\u8bbe\u7f6e\u4e2d\u6587\u684c\u9762\u3001\u914d\u7f6e\u4e2d\u6587\u8f93\u5165\u6cd5\u3001\u5b89\u88c5\u6d4f\u89c8\u5668\u548c\u6587\u672c\u7f16\u8f91\u5668\u3001\u7ec8\u7aef\u3001\u89e3\u51b3\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u684c\u9762\u590d\u5236\u9ecf\u8d34\u95ee\u9898"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/37922","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=37922"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/37922\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/37912"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=37922"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=37922"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=37922"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=37922"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}