{"id":229814,"date":"2020-12-18T03:48:25","date_gmt":"2020-12-17T19:48:25","guid":{"rendered":"http:\/\/4563.org\/?p=229814"},"modified":"2020-12-18T03:48:25","modified_gmt":"2020-12-17T19:48:25","slug":"%e9%87%87%e5%9d%91wsl2-%e4%bd%bf%e7%94%a8-gui%ef%bc%8c%e4%b8%80%e6%8c%89-shift%e6%96%b9%e5%90%91%e5%b0%b1%e6%97%a0%e9%99%90%e9%87%8d%e5%a4%8d%e8%be%93%e5%85%a5%ef%bc%8c%e5%8e%9f%e5%9b%a0%e7%ab%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=229814","title":{"rendered":"[\u91c7\u5751]wsl2 \u4f7f\u7528 GUI\uff0c\u4e00\u6309 shift+\u65b9\u5411\u5c31\u65e0\u9650\u91cd\u590d\u8f93\u5165\uff0c\u539f\u56e0\u7adf\u7136\u662f&#8230;&#8230;"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  [\u91c7\u5751]wsl2 \u4f7f\u7528 GUI\uff0c\u4e00\u6309 shift+\u65b9\u5411\u5c31\u65e0\u9650\u91cd\u590d\u8f93\u5165\uff0c\u539f\u56e0\u7adf\u7136\u662f&#8230;&#8230;               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : BeautifulSoap <\/span>  <span><i><\/i> 3<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u95ee\u9898\u5982\u56fe\u6240\u793a\uff1a<\/p>\n<p>image<\/p>\n<h1>\u80cc\u666f\u4ecb\u7ecd\uff1a<\/h1>\n<p> <\/p>\n<p>\u6700\u8fd1\u5c1d\u8bd5\u901a\u8fc7 wsl2 \u8fd0\u884c linux \u4e0b\u7684 GUI \u7a0b\u5e8f\uff0c\u4f7f\u7528\u7684\u5ba2\u6237\u7aef\u662f VcXsrv \u3002\u5728\u516c\u53f8\u6d4b\u8bd5\u6ca1\u6709\u4efb\u4f55\u95ee\u9898\uff0c\u4f46\u662f\u5bb6\u91cc\u7535\u8111\u540c\u6837\u7684\u6b65\u9aa4\u914d\u7f6e\u4e4b\u540e\u5c31\u51fa\u73b0\u4e0a\u9762\u6309\u952e\u9519\u4e71\u7684\u95ee\u9898<\/p>\n<h1>\u95ee\u9898\u6392\u67e5<\/h1>\n<p> <\/p>\n<p>\u7136\u540e\u5c31\u662f\u5404\u79cd\u6f2b\u957f\u5410\u8840\u7684\u6392\u67e5\uff08\u5acc\u592a\u957f\u53ef\u4ee5\u8df3\u8fc7\uff09\uff1a<\/p>\n<p>\uff08\u9996\u5148 google \u5404\u79cd\u5173\u952e\u8bcd\u641c\uff0c\u4e2d\u6587\u3001\u82f1\u6587\u3001\u65e5\u6587\u53d8\u7740\u6cd5\u5b50\u641c\uff0c\u641c\u4e86\u534a\u5929\u53d1\u73b0 VcXsrv \u7684\u5b98\u65b9 issue \u91cc\u7684\u786e\u6709\u4eba\u6709\u540c\u6837\u95ee\u9898\uff0c\u800c\u4e14 2 \u5e74\u524d\u5c31\u5b58\u5728\u4f46\u662f\u6ca1\u6709\u89e3\u51b3\u529e\u6cd5\uff0c\u6ca1\u6cd5\u5b50\u53ea\u80fd\u81ea\u5df1\u60f3\u529e\u6cd5\u6392\u67e5\u4e86\uff09<\/p>\n<ol>\n<li>\u6362\u5ba2\u6237\u7aef\u8f6f\u4ef6\uff0c\u4e0d\u7528 VcXsrv \u8f6c\u800c\u4f7f\u7528 x410 -&gt; \u95ee\u9898\u4f9d\u65e7<\/li>\n<li>\u4e0d\u4f7f\u7528 wsl2 \u800c\u662f\u65b0\u5efa Hyper-v \u865a\u62df\u673a\u6d4b\u8bd5-&gt; \u95ee\u9898\u4f9d\u65e7<\/li>\n<li>\u7136\u540e\u6211\u611f\u89c9\u95ee\u9898\u53ef\u80fd\u662f\u6211\u952e\u76d8\u786c\u4ef6\u4e0d\u517c\u5bb9\uff0c\u6362\u4e86\u4e2a\u952e\u76d8\u6d4b\u8bd5 -&gt; \u95ee\u9898\u4f9d\u65e7<\/li>\n<li>\u96be\u9053\u540e\u53f0\u8dd1\u7684\u4ec0\u4e48\u8f6f\u4ef6\u9020\u6210\u7684\uff0c\u628a\u540e\u53f0\u6240\u6709\u8f6f\u4ef6\u5173\u4e86 -&gt; \u95ee\u9898\u4f9d\u65e7<\/li>\n<li>\u96be\u9053\u662f\u6211\u7cfb\u7edf\u7684 Hyper-V \u6709\u95ee\u9898\uff1f\u4e8e\u662f\u5728\u522b\u7684\u7535\u8111\u4e0a\u6253\u5f00 wsl2 \u542f\u52a8 server\uff0c\u6709\u95ee\u9898\u7684\u7535\u8111\u542f\u52a8 VcXsrv \u8fde\u4e0a\u53bb\u6d4b\u8bd5 -&gt; \u95ee\u9898\u8fd8\u662f\u4f9d\u65e7<\/li>\n<li>\u7136\u540e\u53cd\u4e00\u4e0b\uff0c\u8fd9\u6b21\u662f\u6709\u95ee\u9898\u7684\u7535\u8111\u6253\u5f00 wsl2 \u542f\u52a8 server\uff0c\u6ca1\u95ee\u9898\u7684\u53e6\u4e00\u53f0\u7535\u8111\u6253\u5f00 VcXsrv \u8fde\u4e0a server -&gt; \u8fd9\u6b21\u5c45\u7136\u6ca1\u95ee\u9898\u4e86\uff1f\uff1f\uff1f<\/li>\n<li>\u611f\u60c5\u95ee\u9898\u8fd8\u662f\u51fa\u5728\u6211\u90a3\u53f0\u6709\u95ee\u9898\u7684\u7535\u8111\u4e0a\uff0c\u83ab\u975e\u662f\u6211\u7cfb\u7edf\u88ab\u6211\u73a9\u574f\u4e86\uff1f \u8fdb\u5165\u5b89\u5168\u6a21\u5f0f\u542f\u52a8 VcXsrv \u6d4b\u8bd5 -&gt; \u6ca1\u95ee\u9898\u4e86\uff01<\/li>\n<li>\u679c\u7136\u662f\u7cfb\u7edf\u6216\u8f6f\u4ef6\u95ee\u9898\uff0c\u4f46\u662f\u6211\u4e4b\u524d\u90fd\u628a\u540e\u53f0\u5173\u4e86\u554a\u3002\u96be\u9053\u662f\u6709\u4ec0\u4e48\u5947\u602a\u7684\u540e\u53f0\uff1f\u4e8e\u662f\u6211\u5728\u7535\u8111\u4e0a\u65b0\u5efa\u4e86\u4e00\u4e2a\u8d26\u53f7\uff0c\u767b\u8fdb\u53bb\uff0c\u770b\u4e86\u4f1a&#8221;\u6d77\u5185\u5b58\u77e5\u5df1\u5929\u6daf\u82e5\u6bd4\u90bb&#8221;\uff0c\u7136\u540e\u542f\u52a8 VcXsrv -&gt; \u95ee\u9898\u6d88\u5931\u4e86\uff01<\/li>\n<li>\u8fd9\u8bc1\u660e\u6211\u7cfb\u7edf\u7684\u786e\u6ca1\u95ee\u9898\uff0c\u662f\u8f6f\u4ef6\u95ee\u9898\u3002\u6211\u770b\u7740\u6211\u7684\u5c4f\u5e55\uff0c\u9677\u5165\u4e86\u6c89\u601d\uff0c\u7136\u540e\uff0c\u6211\u6ce8\u610f\u5230\u4e86\u8fd9\u4e2a\u4e1c\u897f\uff1aImgur<\/li>\n<li>\u9274\u4e8e\u8fd9\u8f6f\u4ef6\u5e73\u65f6\u5c31\u884c\u4e3a\u4e0d\u7aef\uff0c\u62b1\u7740\u8bd5\u8bd5\u770b\u7684\u5fc3\u6001\uff0c\u5378\u8f7d\u4e86 -&gt; \u95ee\u9898\u76f4\u63a5\u6d88\u5931<\/li>\n<\/ol>\n<p>\u5e72\uff0c\u4e0d\u4e8f\u662f\u4f60\u554a\uff0c\u5783\u573e\u641c\u72d7<\/p>\n<h1>\u7ed3\u8bba\uff1a<\/h1>\n<p> <\/p>\n<p>\u5c31\u662f\u4f60\u7684\u9505\uff0c\u5783\u573e\u641c\u72d7\u3002\u5bb3\u6211\u6d6a\u8d39\u90a3\u4e48\u591a\u65f6\u95f4\u53bb\u6392\u67e5\u3002\u4e0a\u9762\u6211\u5217\u4e3e\u7684\u6b65\u9aa4\u5176\u5b9e\u5df2\u7ecf\u7ecf\u8fc7\u6781\u5ea6\u7b80\u5316\u4e86\uff0c\u8fd9\u4e9b\u6b65\u9aa4\u4e4b\u5916\uff0c\u8fd8\u5305\u542b\u4e86\u5927\u91cf\u7684 google \u5404\u79cd\u5173\u952e\u8bcd\uff0c\u548c\u53bb wsl\/VcXsrv \u9879\u76ee\u91cc\u53bb\u7ffb issue \u7684\u6b65\u9aa4\uff0c\u5b9e\u5728\u662f\u6d6a\u8d39\u4e86\u6211\u4e00\u5927\u5806\u65f6\u95f4<\/p>\n<p>\u8fd9\u4e2a\u95ee\u9898\u662f\u5f53\u641c\u72d7\u662f\u4f60\u7684\u5f53\u524d\u8f93\u5165\u6cd5\u7684\u65f6\u5019\uff0c\u4f1a\u89e6\u53d1\u3002\uff08\u5207\u5230\u522b\u7684\u8f93\u5165\u6cd5\u5c31\u6ca1\u95ee\u9898\u4e86\uff0c\u6211\u628a\u641c\u72d7\u8bbe\u6210\u4e86\u9ed8\u8ba4\u8f93\u5165\u6cd5\uff09<\/p>\n<p>\u4e00\u5b9a\u6709\u4eba\u4f1a\u95ee\uff0c\u4f60\u597d\u7aef\u7aef\u7684\u5e72\u561b\u53bb\u7528\u641c\u72d7\u3002\u6211\u53ea\u80fd\u8bf4\uff0c\u6211\u4e0a\u4e07\u6761\u4e2a\u4eba\u8bcd\u5e93\u90fd\u5728\u641c\u72d7\u91cc\uff0c\u641c\u72d7\u4e0d\u8ba9\u5bfc\u51fa\uff0c\u6211\u88ab\u641c\u72d7\u7ed1\u67b6\u4e86\uff0c\u6ca1\u6cd5\u5b50\u3002 \u6700\u540e\u518d\u6765\u4e00\u53e5\uff0c\u5e72\u4f60\u7684\u641c\u72d7<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>8<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4714543\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : charlie21 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u952e\u76d8\u81ea\u5df1\u83ab\u540d\u5176\u5999\u8f93\u5165\u7684\u73b0\u8c61\u53eb ghost typing                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4714544\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : BeautifulSoap <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @charlie21 \u611f\u8c22\uff0c\u5b66\u5230\u4e86\u4e00\u4e2a\u8bcd\u3002\u4e0d\u8fc7\u901a\u8fc7\u4f3c\u4e4e\u4f7f\u7528 ghost typing \u5173\u952e\u5b57\u4e5f\u627e\u4e0d\u5230\u76f8\u5173\u7684\u5e16\u5b50 orz                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4714545\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : oott123 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             rime \u6709\u65f6\u5019\u4e5f\u8fd9\u6837\uff0c\u751a\u81f3\u5fae\u8f6f\u62fc\u97f3\u4e5f\u6709\u65f6\u5019\u8fd9\u6837\uff0c\u53cd\u6b63\u786e\u5b9e\u662f\u8f93\u5165\u6cd5\u7684\u95ee\u9898\uff0c\u6211\u662f\u5347\u7ea7 2009 \u4e4b\u540e\u7ecf\u5e38\u9047\u5230                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4714546\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Osk <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u7b2c\u4e00\u6b65\u5c31\u4f1a\u5173\u95ed ime \u4f7f\u7528\u7f8e\u5f0f\u952e\u76d8\u6d4b\u8bd5\u3002<\/p>\n<p>\u56e0\u4e3a\u8fd9\u4e9b\u5e74 ime \u5751\u8fc7\u6211\u592a\u591a\u6b21\u4e86\uff0c\u73b0\u5728\u9ed8\u8ba4\u5c31\u662f\u7f8e\u5f0f\u952e\u76d8                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4714547\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : delectate <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5fae\u8f6f\u9ed8\u8ba4\u8f93\u5165\u6cd5\uff0c\u633a\u597d\u7684\u3002<\/p>\n<p>\u4efb\u4f55\u60c5\u51b5\u4e0b\u90fd\u4e0d\u5b58\u5728\u7ed1\u67b6\uff0c\u53ea\u662f\u66f4\u6362\u6210\u672c\u9ad8\u4f4e\u800c\u5df2\u3002<br \/>\u5176\u5b9e\u4e5f\u53ef\u4ee5\u5bfc\u51fa\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4714548\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lj2016 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u641c\u72d7\u4f5c\u4e3a\u8f93\u5165\u6cd5\u6700\u5927\u7684\u6bd2\u7624\u4e0d\u662f\u4e00\u4e24\u5e74\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4714549\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : red2dog <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u626b\u4e86\u4e00\u773c\u5f00\u5934\u7684\u63cf\u8ff0 \uff0c\u8fd8\u4ee5\u4e3a\u662f\u6bd2\u5976\u7c89\u7684\u641c\u72d7 shift \u5361\u5927\u5438\u5462                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4714550\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : BeautifulSoap <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @delectate \u641c\u72d7\u7684\u4e2a\u4eba\u8bcd\u5e93\u53ea\u80fd\u5bfc\u51fa\u4e00\u90e8\u5206\uff0c\u65e0\u6cd5\u5bfc\u51fa\u5168\u90e8\u3002\u8bf7\u95ee\u6709\u529e\u6cd5\u5168\u90e8\u5bfc\u51fa\u5417\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>[\u91c7\u5751]wsl2 \u4f7f\u7528 GUI\uff0c\u4e00&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/229814"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=229814"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/229814\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=229814"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=229814"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=229814"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}