{"id":32713,"date":"2023-08-11T09:42:57","date_gmt":"2023-08-11T01:42:57","guid":{"rendered":"https:\/\/www.deepin.org\/?p=32713"},"modified":"2023-10-09T13:43:34","modified_gmt":"2023-10-09T05:43:34","slug":"deepin-v23-adapted-wsl","status":"publish","type":"post","link":"https:\/\/www.deepin.org\/zh\/deepin-v23-adapted-wsl\/","title":{"rendered":"deepin V23\u6210\u529f\u9002\u914dWSL\uff0c\u6211\u4eec\u505a\u4e86\u4ec0\u4e48\uff1f"},"content":{"rendered":"<img loading=\"lazy\" class=\"aligncenter\" src=\"https:\/\/storage.deepin.org\/thread\/202308110934547060_\u5fae\u4fe1\u56fe\u7247_20230811093339.jpg\" alt=\"\" width=\"900\" height=\"383\" \/><\/p>\n<p class=\"ql-direction-ltr ql-long-10365\"><span class=\"ql-author-10365\">\u5728\u5df2\u7ecf\u53d1\u5e03\u7684deepin V23 beta\u7248\u672c\u4e2d\uff0c\u6df1\u5ea6\u64cd\u4f5c\u7cfb\u7edf\u6b63\u5f0f\u9002\u914d\u4e86WSL\uff01<\/span><\/p>\n<p class=\"ql-direction-ltr ql-long-10365\"><span class=\"ql-author-10365\">WSL\u662fWindows Subsystem for Linux\u7684\u7f29\u5199\uff0c\u5b83\u662f\u4e00\u79cd\u53ef\u4ee5\u8ba9\u7528\u6237\u5728Windows\u4e0a\u8fd0\u884cLinux\u7684\u6280\u672f\u3002WSL\u8ba9\u4f60\u80fd\u591f\u5728Windows\u548cLinux\u4e4b\u95f4\u81ea\u7531\u5207\u6362\u6216\u96c6\u6210\uff0c\u4f7f\u7528\u5f00\u6e90\u7684\u5de5\u5177\u548c\u73af\u5883\u5f00\u53d1\u6216\u6d4b\u8bd5Linux\u76f8\u5173\u7684\u9879\u76ee\uff0c\u540c\u65f6\u4eab\u53d7Windows\u5bf9\u786c\u4ef6\u7684\u652f\u6301\u548c\u6027\u80fd\u7684\u4f18\u5316\uff0c\u8fd0\u884cLinux\u7684\u5e94\u7528\u7a0b\u5e8f\u5e76\u4f53\u9a8c\u5404\u79cdLinux\u53d1\u884c\u7248\u3002<\/span><\/p>\n<p class=\"ql-direction-ltr ql-long-10365\"><span class=\"ql-author-10365\">\u4f5c\u4e3a\u5fae\u8f6f\u7684\u4e00\u9879\u65b0\u529f\u80fd\uff0cWSLg\u8ba9\u7528\u6237\u53ef\u4ee5\u5728WSL2\u91cc\u8fd0\u884cLinux GUI\u5e94\u7528\u7a0b\u5e8f\uff0c\u5e76\u65e0\u7f1d\u5730\u96c6\u6210\u5230Windows\u684c\u9762\u3002WSLg\u5305\u542b\u4e86\u4e00\u4e2aWayland\u670d\u52a1\u5668\u3001\u4e00\u4e2aRDP\u5ba2\u6237\u7aef\u548c\u4e00\u4e2aPulseAudio\u670d\u52a1\u5668\uff0c\u7528\u4ee5\u652f\u6301\u56fe\u5f62\u3001\u97f3\u9891\u548c\u8f93\u5165\u8bbe\u5907\u3002<\/span><\/p>\n<p class=\"ql-direction-ltr ql-long-10365\"><span class=\"ql-author-10365\">\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u5206\u4eabdeepin V23 beta\u9002\u914dWSL\u7684\u8fc7\u7a0b\uff0c\u5305\u62ec\u65b9\u6848\u7684\u9009\u62e9\u3001\u9002\u914d\u4e2d\u7684\u95ee\u9898\u89e3\u51b3\uff0c\u4ee5\u53ca\u5b9e\u73b0\u6838\u5fc3\u76ee\u6807\u7684\u65b9\u6cd5\u3002<\/span><\/p>\n<h2 class=\"ql-align-center ql-direction-ltr ql-long-10365\" align=\"center\"><span class=\"ql-author-10365\">\u9009\u62e9\u9002\u914dWSL\u7684\u65b9\u6848<\/span><\/h2>\n<p class=\"ql-direction-ltr ql-long-10365\"><span class=\"ql-author-10365\">\u6211\u4eec\u9009\u62e9\u4e86\u57fa\u4e8eWSL2\u7684\u9002\u914d\u65b9\u6848\uff0c\u56e0\u4e3aWSL2\u6709WSLg\u6269\u5c55\uff0c\u53ef\u4ee5\u63d0\u9ad8\u6027\u80fd\uff0c\u589e\u5f3a\u7cfb\u7edf\u8c03\u7528\u517c\u5bb9\u6027\uff0c\u4e5f\u80fd\u8ba9\u7528\u6237\u5728Windows\u4e0a\u4e5f\u80fd\u4eab\u53d7deepin\u7684\u7f8e\u89c2\u754c\u9762\u548c\u5f3a\u5927\u529f\u80fd\u3002<\/span><\/p>\n<p class=\"ql-direction-ltr ql-long-10365\"><span class=\"ql-author-10365\">\u6211\u4eec\u4f7f\u7528debootstrap\u5de5\u5177\u5236\u4f5c\u6839\u6587\u4ef6\u7cfb\u7edf\uff0c\u5b83\u53ef\u4ee5\u5feb\u901f\u751f\u6210\u57fa\u672c\u7684Debian\u7cfb\u7edf\u3002\u4e3a\u4e86\u9002\u5e94WSL\u7684\u547d\u4ee4\u884c\u65b9\u5f0f\uff0c\u6211\u4eec\u53ea\u5305\u542b\u4e86\u51e0\u4e2a\u5fc5\u8981\u7684\u8f6f\u4ef6\u5305\uff0c\u7528\u6237\u53ef\u4ee5\u81ea\u884c\u5b89\u88c5deepin\u7684\u81ea\u7814\u5e94\u7528\u3002\u53e6\u5916\uff0c\u6211\u4eec\u8fd8\u5229\u7528\u4e86yuk7\u7684WSLDL\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u65b9\u4fbf\u5730\u5b89\u88c5\u3001\u542f\u52a8\u3001\u914d\u7f6e\u548c\u7ba1\u7406deepin WSL\u3002<\/span><\/p>\n<p class=\"ql-direction-ltr ql-long-10365\"><span class=\"ql-author-10365\">\u5728\u9002\u914dWSL\u8fc7\u7a0b\u4e2d\uff0c\u6211\u4eec\u5e0c\u671b\u5728WSL\u4e0a\u5b9e\u73b0\u5b8c\u6574\u7684\u684c\u9762\u73af\u5883\u3002\u6211\u4eec\u8bd5\u8fc7\u5728WSL\u8fd0\u884cX\u670d\u52a1\u5668\uff0c\u7528Windows\u7684RDP\u5ba2\u6237\u7aef\u8fdc\u7a0b\u542f\u52a8\u684c\u9762\u73af\u5883\uff0c\u6216\u662f\u7528WSL\u8fde\u63a5Windows\u7684X\u670d\u52a1\u5668\uff0c\u4f46\u7531\u4e8edeepin V23 beta\u7248\u672c\u5bf9\u684c\u9762\u73af\u5883\u7684\u542f\u52a8\u65b9\u5f0f\u6709\u4e9b\u53d8\u5316\uff0c\u8fd9\u4e9b\u65b9\u6cd5\u7684\u4f53\u9a8c\u90fd\u4e0d\u597d\u3002\u6700\u540e\uff0c\u6211\u4eec\u51b3\u5b9a\u7528WSLg\u8fd0\u884cdeepin\u7684\u81ea\u7814\u5e94\u7528\uff0c\u800c\u4e0d\u662f\u4e00\u4e2a\u5b8c\u6574\u7684\u684c\u9762\u73af\u5883\u3002<\/span><\/p>\n<h2 class=\"ql-align-center ql-direction-ltr ql-long-10365\" align=\"center\"><span class=\"ql-author-10365\">\u9002\u914dWSL\u95ee\u9898\u53ca\u5904\u7406<\/span><\/h2>\n<p class=\"ql-direction-ltr ql-long-10365\"><span class=\"ql-author-10365\">\u56e0\u4e3aWSLg\u7528\u7684\u662fWeston\u800c\u4e0d\u662fdeepin\u7684KWin\u4f5c\u4e3a\u7a97\u53e3\u7ba1\u7406\u5668\uff0c\u6240\u4ee5\u4f7f\u7528deepin\u56fe\u5f62\u5e94\u7528\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u548c\u539f\u751fLinux\u684c\u9762\u73af\u5883\u4e0d\u4e00\u6837\u7684\u95ee\u9898\u3002\u4f8b\u5982\uff1a<\/span><\/p>\n<p class=\"ql-direction-ltr ql-long-10365\"><span class=\"ql-author-10365\">1. \u5b89\u88c5\u5e73\u53f0\u63d2\u4ef6\u540e\u7684\u8bbe\u7f6e\u9009\u9879\u4f4d\u7f6e\u5f02\u5e38<\/span><\/p>\n<p class=\"ql-direction-ltr ql-long-10365\"><span class=\"ql-author-10365\">WSLg\u7528RDP\u534f\u8bae\u4f20\u8f93\u56fe\u5f62\u754c\u9762\uff0c\u4f46RDP\u534f\u8bae\u4e0d\u652f\u6301\u7cfb\u7edf\u6258\u76d8\u56fe\u6807\uff0c\u6240\u4ee5deepin\u56fe\u5f62\u5e94\u7528\u5728WSLg\u4e2d\u65e0\u6cd5\u663e\u793a\u8bbe\u7f6e\u9009\u9879\uff0c\u8fd9\u4f1a\u7ed9\u7528\u6237\u8c03\u6574\u914d\u7f6e\u6216\u9000\u51fa\u5e94\u7528\u5e26\u6765\u4e0d\u4fbf\u3002\u6211\u4eec\u7684\u89e3\u51b3\u529e\u6cd5\u662f\u5728\u5e94\u7528\u4e3b\u7a97\u53e3\u52a0\u4e00\u4e2a\u8bbe\u7f6e\u6309\u94ae\u6216\u83dc\u5355\u9879\uff0c\u6216\u8005\u7528\u547d\u4ee4\u884c\u53c2\u6570\u63a7\u5236\u5e94\u7528\u3002<\/span><\/p>\n<p class=\"ql-direction-ltr ql-long-10365\"><span class=\"ql-author-10365\">2. \u5197\u4f59\u6807\u9898\u680f\u548c\u8fb9\u6846<\/span><\/p>\n<p class=\"ql-direction-ltr ql-long-10365\"><span class=\"ql-author-10365\">WSLg\u7528Weston\u4f5c\u4e3a\u7a97\u53e3\u7ba1\u7406\u5668\uff0cWeston\u4f1a\u7ed9\u7a97\u53e3\u52a0\u4e00\u4e2a\u6807\u9898\u680f\u548c\u8fb9\u6846\uff0c\u5b83\u4eec\u548cdeepin\u56fe\u5f62\u5e94\u7528\u7684\u6807\u9898\u680f\u548c\u8fb9\u6846\u91cd\u590d\uff0c\u5f71\u54cd\u7a97\u53e3\u7f8e\u89c2\u3002\u6211\u4eec\u7684\u89e3\u51b3\u529e\u6cd5\u662f\u8ba9deepin\u56fe\u5f62\u5e94\u7528\u68c0\u6d4b\u662f\u5426\u5728WSLg\u73af\u5883\u8fd0\u884c\uff0c\u5e76\u6839\u636e\u60c5\u51b5\u9690\u85cf\u6216\u8c03\u6574\u81ea\u5e26\u7684\u6807\u9898\u680f\u548c\u8fb9\u6846\u3002<\/span><\/p>\n<p class=\"ql-direction-ltr ql-long-10365\"><span class=\"ql-author-10365\">3. \u5e94\u7528\u663e\u793a\u5f02\u5e38<\/span><\/p>\n<p class=\"ql-direction-ltr ql-long-10365\"><span class=\"ql-author-10365\">WSLg\u7528RDP\u534f\u8bae\u4f20\u8f93\u56fe\u5f62\u754c\u9762\uff0c\u4f46RDP\u534f\u8bae\u6709\u4e00\u4e9b\u9650\u5236\u6216\u7279\u6027\uff0c\u6bd4\u5982\u4e0d\u652f\u6301\u900f\u660e\u5ea6\u3001\u4e0d\u652f\u6301\u786c\u4ef6\u52a0\u901f\u3001\u4e0d\u652f\u6301\u591a\u5c4f\u5e55\u7b49\uff0c\u8fd9\u4f1a\u8ba9\u4e00\u4e9bdeepin\u56fe\u5f62\u5e94\u7528\u5728WSLg\u4e2d\u663e\u793a\u4e0d\u6b63\u5e38\u6216\u529f\u80fd\u4e0d\u5168\u3002\u6211\u4eec\u7684\u89e3\u51b3\u529e\u6cd5\u662f\u8ba9deepin\u56fe\u5f62\u5e94\u7528\u68c0\u6d4b\u662f\u5426\u5728WSLg\u73af\u5883\u4e0b\u8fd0\u884c\uff0c\u5e76\u6839\u636e\u60c5\u51b5\u964d\u4f4e\u6216\u5173\u95ed\u4e00\u4e9b\u9ad8\u7ea7\u7279\u6027\u6216\u6548\u679c\u3002<\/span><\/p>\n<h2 class=\"ql-align-center ql-direction-ltr ql-long-10365\" align=\"center\"><span class=\"ql-author-10365\">deepin\u81ea\u7814\u5e94\u7528\u7684\u8fd0\u884c\u6548\u679c<\/span><\/h2>\n<p class=\"ql-direction-ltr ql-long-10365\"><span class=\"ql-author-10365\">deepin\u7684\u81ea\u7814\u5e94\u7528\u662f\u7cfb\u7edf\u7684\u4eae\u70b9\u4e4b\u4e00\uff0c\u5b83\u4eec\u8bbe\u8ba1\u7cbe\u826f\uff0c\u529f\u80fd\u5f3a\u5927\uff0c\u754c\u9762\u7f8e\u89c2\uff0c\u4ea4\u4e92\u53cb\u597d\uff0c\u4ee5\u4e0b\u662f\u7528WSLg\u8fd0\u884c\u90e8\u5206deepin\u7684\u81ea\u7814\u5e94\u7528\u7684\u6548\u679c\u56fe\u3002<\/span><\/p>\n<p class=\"ql-direction-ltr ql-long-10365\"><span class=\"ql-author-10365\">1. \u6df1\u5ea6\u7ec8\u7aef<\/span><img loading=\"lazy\" class=\"aligncenter\" src=\"https:\/\/storage.deepin.org\/thread\/202308110931356085_wsl-1.png\" alt=\"\" width=\"841\" height=\"473\" \/><\/p>\n<p>&nbsp;<\/p>\n<p class=\"ql-direction-ltr ql-long-10365\"><span class=\"ql-author-10365\">2. \u6df1\u5ea6\u753b\u677f<\/span><img loading=\"lazy\" class=\"aligncenter\" src=\"https:\/\/storage.deepin.org\/thread\/202308110937401428_wsl-2.png\" alt=\"\" width=\"691\" height=\"389\" \/><\/p>\n<p>&nbsp;<\/p>\n<p class=\"ql-direction-ltr ql-long-10365\"><span class=\"ql-author-10365\">3. \u6df1\u5ea6\u76f8\u518c<\/span><img loading=\"lazy\" class=\"aligncenter\" src=\"https:\/\/storage.deepin.org\/thread\/202308110938143795_wsl-3.png\" alt=\"\" width=\"1280\" height=\"720\" \/><\/p>\n<p>&nbsp;<\/p>\n<p class=\"ql-direction-ltr ql-long-10365\"><span class=\"ql-author-10365\">4. Windows\u83dc\u5355\u680f\u4e0b\u663e\u793a\u5e94\u7528\u5217\u8868<\/span><\/p>\n<p class=\"ql-direction-ltr ql-long-10365\"><span class=\"ql-author-10365\">\u5728\u5b8c\u6210deepin WSL\u5e94\u7528\u5b89\u88c5\u540e\uff0c\u518d\u542f\u52a8\u4e00\u6b21\uff0cWindows\u83dc\u5355\u680f\u4e0b\u4f1a\u663e\u793a\u6ce8\u518c\u5b89\u88c5\u7684deepin\u5e94\u7528\u3002<\/span><\/p>\n<p class=\"ql-long-10365\"><img loading=\"lazy\" class=\"aligncenter\" src=\"https:\/\/storage.deepin.org\/thread\/202308110938403461_wsl-4.png\" alt=\"\" width=\"639\" height=\"660\" \/><\/p>\n<p class=\"ql-direction-ltr ql-long-10365\"><span class=\"ql-author-10365\">deepin WSL\u8ba9\u4f60\u5728WSLg\u4e0a\u4eab\u53d7deepin\u81ea\u7814\u5e94\u7528\u7684\u5b8c\u7f8e\u4f53\u9a8c\uff0c\u8fd9\u662f\u6211\u4eec\u7684\u4e00\u4e2a\u91cd\u8981\u76ee\u6807\u3002\u76ee\u524ddeepin WSL\u8fd8\u5904\u4e8e\u6d4b\u8bd5\u9636\u6bb5\uff0c\u53ef\u80fd\u5b58\u5728\u4e00\u4e9b\u6027\u80fd\u3001\u517c\u5bb9\u6027\u3001\u7a33\u5b9a\u6027\u7b49\u65b9\u9762\u7684\u95ee\u9898\u6216\u4e0d\u8db3\u3002\u6211\u4eec\u6b63\u5728\u5bf9\u5e94\u7528\u8fdb\u884c\u66f4\u591a\u7684\u6d4b\u8bd5\uff0c\u4ee5\u4fbf\u53d1\u73b0\u5e76\u89e3\u51b3\u95ee\u9898\uff0c\u63d0\u5347\u7528\u6237\u4f53\u9a8c\u3002<\/span><\/p>\n<h2 class=\"ql-align-center ql-direction-ltr ql-long-10365\" align=\"center\"><span class=\"ql-author-10365\">\u672a\u6765\u5c55\u671b<\/span><\/h2>\n<p class=\"ql-direction-ltr ql-long-10365\"><span class=\"ql-author-10365\">\u975e\u5e38\u611f\u8c22deepin\u793e\u533a\u7684\u5c0f\u4f19\u4f34\u5728\u9002\u914d\u8fc7\u7a0b\u4e2d\u7ed9\u4e88\u7684\u5e2e\u52a9\u4e0e\u652f\u6301\uff0c\u4e5f\u5f88\u611f\u8c22<a href=\"https:\/\/github.com\/yuk7\">yuk7<\/a><\/span><span class=\"ql-author-10365\">\u63d0\u4f9b\u4e86WSLDL\u5de5\u5177\u3002<\/span><\/p>\n<p class=\"ql-direction-ltr ql-long-10365\"><span class=\"ql-author-10365\">\u76ee\u524d\uff0c\u6211\u4eec\u5728github\u7684deepin-community\u7ec4\u7ec7\u4e0b\u7684<a href=\"https:\/\/github.com\/deepin-community\/deepin-rootfs\">deepin-rootfs<\/a><\/span><span class=\"ql-author-10365\">\u9879\u76ee\u53d1\u5e03\u4e86\u6839\u6587\u4ef6\u548cWSLDL\u7684\u6253\u5305\uff0c\u7528\u6237\u53ef\u4ee5\u81ea\u884c\u4e0b\u8f7d\uff0c\u6211\u4eec\u5c06\u63d0\u4f9b\u4f7f\u7528\u6559\u7a0b\u3002\u6211\u4eec\u8ba1\u5212\u628adeepin WSL\u53d1\u5e03\u5230\u5fae\u8f6f\u5e94\u7528\u5546\u5e97\uff0c\u8ba9\u7528\u6237\u66f4\u65b9\u4fbf\u5730\u4e0b\u8f7d\u548c\u66f4\u65b0\u3002<\/span><\/p>\n<p class=\"ql-direction-ltr ql-long-10365\"><span class=\"ql-author-10365\">\u5e0c\u671bdeepin WSL\u4e3a\u7528\u6237\u5728Windows\u4e0a\u63d0\u4f9b\u4e00\u4e2a\u65b0\u7684\u9009\u62e9\u3002\u5982\u679c\u4f60\u60f3\u5728Windows\u4e0a\u5c1d\u8bd5Linux\u6216\u8005\u4f7f\u7528deepin\u7684\u5e94\u7528\u7a0b\u5e8f\uff0c\u53ef\u4ee5\u4ece<a href=\"https:\/\/cdimage.deepin.com\/WSL\/deepin.zip\">deepin.zip<\/a><\/span><span class=\"ql-author-10365\">\u4e0b\u8f7d\u3002<\/span><\/p>","protected":false},"excerpt":{"rendered":"<p>\u5728\u5df2\u7ecf\u53d1\u5e03\u7684deepin V23 beta\u7248\u672c\u4e2d\uff0c\u6df1\u5ea6\u64cd\u4f5c\u7cfb\u7edf\u6b63\u5f0f\u9002\u914d\u4e86WSL\uff01 WSL\u662fWindows Subsystem for Linux\u7684\u7f29\u5199\uff0c\u5b83\u662f\u4e00\u79cd\u53ef\u4ee5\u8ba9\u7528\u6237\u5728Windows\u4e0a\u8fd0\u884cLinux\u7684\u6280\u672f\u3002WSL\u8ba9\u4f60\u80fd\u591f\u5728Windows\u548cLinux\u4e4b\u95f4\u81ea\u7531\u5207\u6362\u6216\u96c6\u6210\uff0c\u4f7f\u7528\u5f00\u6e90\u7684\u5de5\u5177\u548c\u73af\u5883\u5f00\u53d1\u6216\u6d4b\u8bd5Linux\u76f8\u5173\u7684\u9879\u76ee\uff0c\u540c\u65f6\u4eab\u53d7Windows\u5bf9\u786c\u4ef6\u7684\u652f\u6301\u548c\u6027\u80fd\u7684\u4f18\u5316\uff0c\u8fd0\u884cLinux\u7684\u5e94\u7528\u7a0b\u5e8f\u5e76\u4f53 ...<a href=https:\/\/www.deepin.org\/zh\/deepin-v23-adapted-wsl\/>\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":11164,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[93],"tags":[],"_links":{"self":[{"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/posts\/32713"}],"collection":[{"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/users\/11164"}],"replies":[{"embeddable":true,"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/comments?post=32713"}],"version-history":[{"count":1,"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/posts\/32713\/revisions"}],"predecessor-version":[{"id":32714,"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/posts\/32713\/revisions\/32714"}],"wp:attachment":[{"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/media?parent=32713"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/categories?post=32713"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.deepin.org\/zh\/wp-json\/wp\/v2\/tags?post=32713"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}