{"id":277165,"date":"2023-07-12T04:01:43","date_gmt":"2023-07-11T20:01:43","guid":{"rendered":"https:\/\/lrxjmw.cn\/lrmxxjcxsfwq.html"},"modified":"2023-07-12T04:01:43","modified_gmt":"2023-07-11T20:01:43","slug":"lrmxxjcxsfwq","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/lrmxxjcxsfwq.html","title":{"rendered":"Linux\u5165\u95e8\u5b66\u4e60\u6559\u7a0b\uff1a\u663e\u793a\u670d\u52a1\u5668\u7684\u5e94\u7528"},"content":{"rendered":"

\u672c\u5934\u6761\u53f7\u6bcf\u665a\u575a\u6301\u66f4\u65b0\u539f\u521b\u5e72\u8d27\u6280\u672f\u6587\u7ae0\uff0c\u6b22\u8fce\u5173\u6ce8\u672c\u5934\u6761\u53f7\"Linux<\/a>\u5b66\u4e60\u6559\u7a0b\"\uff0c\u516c\u4f17\u53f7\u540d\u79f0\u201cLinux\u5165\u95e8\u5b66\u4e60\u6559\u7a0b\"\u3002<\/p>\n

\u5982\u9700\u5b66\u4e60\u89c6\u9891\u670d\u52a1\u5668\u7cfb\u7edf<\/a> linux<\/strong>\uff0c\u8bf7\u590d\u5236\u4ee5\u4e0b\u4fe1\u606f\u5230\u624b\u673a\u6d4f\u89c8\u5668\u6216\u7b14\u8bb0\u672c\u6d4f\u89c8\u5668\u4e0a\uff1a<\/p>\n

\n

zcwyou.com\n<\/code><\/pre>\n<\/p>\n

1.\u5e8f\u8a00<\/p>\n

\u5728\u4e0eLinux\u76f8\u5173\u7684\u6587\u7ae0\u3001\u65b0\u95fb\u548c\u8ba8\u8bba\u4e2d\uff0c\u60a8\u5e38\u5e38\u4f1a\u78b0\u5230\u672f\u8beddisplayserver\u3001Xorg\u3001Wayland\u7b49\u3002<\/p>\n

\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u8ba8\u8bbaLinux\u4e2d\u7684\u663e\u793a\u670d\u52a1\u5668\u3002<\/p>\n

2.\u54ea\u4e9b\u662fLinux\u4e2d\u7684\u663e\u793a\u670d\u52a1\u5668?<\/p>\n

\u663e\u793a\u670d\u52a1\u5668\u662f\u4e00\u4e2a\u7a0b\u5e8f\uff0c\u5b83\u8d1f\u8d23\u5176\u987e\u5ba2\u7aef\u7684\u8f93\u5165\u548c\u8f93\u51fa\u534f\u8c03\uff0c\u4e0e\u64cd\u4f5c\u7cfb\u7edf\u7684\u5176\u4ed6\u90e8\u4efd\u7684\u8f93\u5165\u548c\u8f93\u51fa\u534f\u8c03\uff0c\u4ee5\u53ca\u786c\u4ef6\u548c\u64cd\u4f5c\u7cfb\u7edf\u4e4b\u95f4\u7684\u534f\u8c03\u3002\u57fa\u672c\u4e0a\uff0c\u60a8\u53ef\u4ee5\u56fe\u5f62\u5316\u5730\u4f7f\u7528\u8ba1\u7b97\u673a(GUI)\u3002\u5047\u5982\u6ca1\u6709\u663e\u793a\u670d\u52a1\u5668\uff0c\u60a8\u5c06\u53ea\u80fd\u4f7f\u7528\u547d\u4ee4<\/a>\u884c\u63d2\u53e3(TTY)\u3002<\/p>\n

\u663e\u793a\u670d\u52a1\u5668\u4e3a\u56fe\u5f62\u73af\u5883\u63d0\u4f9b\u4e86\u6846\u67b6\uff0c\u4fbf\u4e8e\u60a8\u53ef\u4ee5\u4f7f\u7528\u952e\u76d8\u548c\u9f20\u6807\u4e0e\u5e94\u7528\u7a0b\u5e8f\u8fdb\u884c\u4ea4\u4e92\u3002<\/p>\n

\u663e\u793a\u670d\u52a1\u5668\u901a\u8fc7\u663e\u793a\u670d\u52a1\u5668\u5408\u540c\u4e0e\u987e\u5ba2\u7aef\u901a\u8baf\uff0c\u5982X11\u3002\u663e\u793a\u670d\u52a1\u5668\u662f\u4efb\u4f55\u56fe\u5f62\u7528\u6237\u754c\u9762(\u975e\u5e38\u662f\u7a97\u53e3\u7cfb\u7edf)\u4e2d\u7684\u5173\u952e\u7ec4\u4ef6\u3002<\/p>\n

\u4e0d\u8981\u6df7\u6dc6\u663e\u793a\u670d\u52a1\u5668\u548c\u684c\u9762\u73af\u5883\u3002\u684c\u9762\u73af\u5883\u4f7f\u7528\u5b83\u4e0b\u8fb9\u7684\u663e\u793a\u670d\u52a1\u5668\u3002<\/p>\n

\u670d\u52a1\u5668\u7cfb\u7edflinux\u7cfb\u7edf_\u670d\u52a1\u5668\u7cfb\u7edf linux_\u670d\u52a1\u5668\u7aeflinux<\/p>\n

\u54ea\u4e9b\u662fLinux\u4e2d\u7684\u663e\u793a\u670d\u52a1\u5668<\/p>\n

3.Linux\u7684\u663e\u793a\u670d\u52a1\u5668\u901a\u8baf\u5408\u540c<\/p>\n

Linux\u6709\u4e09\u79cd\u663e\u793a\u670d\u52a1\u5668\u5408\u540c\uff0c\u5206\u522b\u662fX11\u3001Wayland\u548cMir\u3002\u6211\u6765\u7b80\u5355\u4ecb\u7ecd\u4e00\u4e0b\u8fd9\u79cd\u663e\u793a\u670d\u52a1\u5668\u3002<\/p>\n

4.X11<\/p>\n

\u670d\u52a1\u5668\u7cfb\u7edflinux\u7cfb\u7edf_\u670d\u52a1\u5668\u7cfb\u7edf linux_\u670d\u52a1\u5668\u7aeflinux<\/p>\n

x\u663e\u793a\u670d\u52a1\u5668<\/p>\n

X11(\u4ea6\u79f0\u4e3aX)\u662f\u65e9\u5df2\u5b58\u5728\u591a\u5e74\u7684\u7cbe\u5178\u663e\u793a\u670d\u52a1\u5668\u3002\u5b83\u662fLinux\u53d1\u884c\u7248\u4e2d\u6700\u5e38\/\u7528\u7684\u663e\u793a\u670d\u52a1\u5668\u3002<\/p>\n

X11\u901a\u8baf\u5408\u540c\uff0c\u4f7f\u7528Server\u663e\u793a\u670d\u52a1\u5668\u3002\u5b83\u4ece\u8bbe\u5907\u9a71\u52a8\u7a0b\u5e8f\u63a5\u6536\u8f93\u5165\u98ce\u6ce2\uff0c\u5e76\u4f7f\u5b83\u4eec\u5bf9\u5b83\u7684\u4e00\u4e2a\u987e\u5ba2\u7aef\u53ef\u7528\u3002<\/p>\n

\u663e\u793a\u670d\u52a1\u5668\u4e5f\u4ece\u5b83\u7684\u987e\u5ba2\u7aef\u63a5\u6536\u6570\u636e\uff0c\u5b83\u5904\u7406\u6570\u636e\u5e76\u8fdb\u884c\u5408\u6210\uff0c\u5728Linux\u4e0a\u5b83\u5c06\u6570\u636e\u4f20\u9012\u7ed9\u4e09\u4e2a\u5185\u6838\u7ec4\u4ef6\u4e4b\u4e00\uff1aDRM\u3001gem\u6216KMS\u9a71\u52a8\u7a0b\u5e8f\u3002<\/p>\n

\u670d\u52a1\u5668\u662f\u4e00\u4e2a\u663e\u793a\u670d\u52a1\u5668\uff0c\u5b83\u4f9d\u8d56\u4e8e\u7b2c\u4e8c\u4e2a\u7a0b\u5e8f(\u5408\u6210\u7a97\u53e3\u7ba1\u7406\u5668)\u6765\u5b8c\u6210\u5408\u6210\u3002\u8bf8\u5982Mutter\u6216KWin\u3002GNOME\u4f7f\u7528Mutter\u3002<\/p>\n

5.Wayland<\/p>\n

\u6309\u7167Wayland\u7684\u7f51\u7ad9\uff0c\u8be5\u4ea7\u54c1\u201c\u6253\u7b97\u6210\u4e3aX\u7684\u4e00\u4e2a\u66f4\u7b80\u5355\u7684\u4ee3\u66ff\u54c1\uff0c\u66f4\u5bb9\u6613\u5f00\u53d1\u548c\u7ef4\u62a4\u201d\u3002<\/p>\n

\u670d\u52a1\u5668\u7aeflinux_\u670d\u52a1\u5668\u7cfb\u7edf linux_\u670d\u52a1\u5668\u7cfb\u7edflinux\u7cfb\u7edf<\/p>\n

Wayland<\/p>\n

\u670d\u52a1\u5668\u7cfb\u7edf linux_\u670d\u52a1\u5668\u7cfb\u7edflinux\u7cfb\u7edf_\u670d\u52a1\u5668\u7aeflinux<\/p>\n

\u5b83\u7684\u91c7\u7528\u4ecd\u5728\u8fdb\u884c\u4e2d\u3002Ubuntu\u5c1d\u8bd5\u752817.10\u7248\u672c\u5207\u6362\u5230Wayland\u4f5c\u4e3a\u9ed8\u8ba4\u7684\u663e\u793a\u670d\u52a1\u5668\uff0c\u800c\u4e14\u8fd9\u4e2a\u8bd5\u9a8c\u5f97\u5230\u4e86\u8d1f\u9762\u7684\u53cd\u9988\u3002<\/p>\n

\u8bb8\u591aGUI\u5e94\u7528\u7a0b\u5e8f\u53ca\u5176\u6846\u67b6\u90fd\u4f9d\u8d56\u4e8eX\u670d\u52a1\u5668\u3002\u90a3\u4e9b\u5e94\u7528\u7a0b\u5e8f\u5728Wayland\u4e0a\u5e76\u6ca1\u6709\u50cf\u9884\u671f\u7684\u90a3\u6837\u5de5\u4f5c\u3002<\/p>\n

\u867d\u7136\u5728\u660e\u5929\uff0c\u7edd\u5927\u591a\u6570\u53d1\u884c\u7248\u90fd\u9ed8\u8ba4\u4f7f\u7528X\u663e\u793a\u670d\u52a1\u5668\u3002<\/p>\n

\u6267\u884cWayland\u663e\u793a\u670d\u52a1\u5668\u5408\u540c\u7684\u663e\u793a\u670d\u52a1\u5668\u79f0\u4e3aWayland\u5408\u6210\u5668\u3002\u4e0eX11\u4e00\u6837\uff0cWayland\u5408\u6210\u5668\u8d1f\u8d23\u4e3a\u987e\u5ba2\u5904\u7406\u8f93\u5165\u548c\u8f93\u51fa\uff0c\u4f46\u4e5f\u8d1f\u8d23\u5408\u6210-\u4e0eX11\u76f8\u53cd\u3002<\/p>\n

Wayland\u7684\u51e0\u4e2a\u6392\u5217\u540d\u8bcd\u5206\u522b\u662fWeston,Mutter,KWin\u6216Enlightenment\u3002<\/p>\n

6.Mir<\/p>\n

Mir\u663e\u793a\u670d\u52a1\u5668\u81ea\u5e26\u81ea\u5df1\u7684Mir\u663e\u793a\u670d\u52a1\u5668\u5408\u540c\uff0c\u8fd9\u4e0eX11\u548cWayland\u4f7f\u7528\u7684\u5408\u540c\u4e0d\u540c\u3002\u5b83\u662f\u7531Canonical\u5f00\u53d1\u7684\uff0c\u4f5c\u4e3aUnity\u5f00\u53d1\u7684\u4e00\u90e8\u4efd\uff0c\u5e76\u51c6\u5907\u6210\u4e3aUbuntu\u7684\u663e\u793a\u670d\u52a1\u5668\u7684\u53ef\u9009\u9879\u3002<\/p>\n

2017\u5e74\u5f00\u59cb\uff0c\u5b83\u5df2\u88ab\u684c\u9762\u7248Ubuntu\u7684Wayland\u663e\u793a\u670d\u52a1\u5668\u4ee3\u66ff\uff0c\u867d\u7136Mir\u7684\u7269\u8054\u7f51(IoT)\u5e94\u7528\u7a0b\u5e8f\u7684\u5f00\u53d1\u4ecd\u5728\u7ee7\u7eed\u3002<\/p>\n

7.\u4e3a\u4f55\u6211\u4eec\u8fd8\u5728\u7528Xorg?<\/p>\n

Wayland\u76f8\u5bf9\u8f83\u65b0\u670d\u52a1\u5668\u7cfb\u7edf linux<\/strong>\uff0c\u4e0eXorg\u76f8\u6bd4\u8fd8\u4e0d\u662f\u5f88\u7a33\u5b9a\u3002<\/p>\n

\u4e3a\u6b64arm linux\uff0c\u5728\u4f7f\u7528Wayland\u65f6\uff0c\u8bb8\u591a\u7a0b\u5e8f\u53ef\u80fd\u96be\u4ee5\u8fd0\u884c\u3002<\/p>\n

8.\u63a8\u8bba<\/p>\n

\u901a\u8fc7\u672c\u6587\uff0c\u60a8\u53ef\u80fd\u5bf9Linux\u7cfb\u7edf\u4e2d\u7684\u663e\u793a\u670d\u52a1\u5668\u6982\u5ff5\u6709\u4e86\u66f4\u597d\u7684\u7406\u89e3\u3002\u5047\u5982\u4f60\u6709\u66f4\u597d\u7684\u60f3\u6cd5\uff0c\u6b22\u8fce\u7559\u8a00\u3002<\/p>\n

\u5047\u5982\u559c\u6b22\u672c\u6587\uff0c\u6b22\u8fce\u8f6c\u53d1\u3002\u672c\u6587\u5df2\u540c\u6b65\u81f3\u535a\u5ba2\u7ad9\uff0c\u5c0a\u91cd\u539f\u521blinux makefile\uff0c\u8f6c\u8f7d\u65f6\u8bf7\u5728\u6b63\u6587\u4e2d\u9644\u9001\u4ee5\u4e0b\u94fe\u63a5\uff1a<\/p>\n","protected":false},"excerpt":{"rendered":"

\u663e\u793a\u670d\u52a1\u5668\u662f\u4efb\u4f55\u56fe\u5f62\u7528\u6237\u754c\u9762(\u7279\u522b\u662f\u7a97\u53e3\u7cfb\u7edf)\u4e2d\u7684\u5173\u952e\u7ec4\u4ef6\u3002\u684c\u9762\u73af\u5883\u4f7f\u7528\u5b83\u4e0b\u9762\u7684\u663e\u793a\u670d\u52a1\u5668\u3002Linux\u6709\u4e09\u79cd\u663e\u793a\u670d\u52a1\u5668\u534f\u8bae\uff0c\u5206\u522b\u662fX11\u3001Wayland\u548cMir\u3002Mir\u663e\u793a\u670d\u52a1\u5668\u81ea\u5e26\u81ea\u5df1\u7684Mir\u663e\u793a\u670d\u52a1\u5668\u534f\u8bae\uff0c\u8fd9\u4e0eX11\u548cWayland\u4f7f\u7528\u7684\u534f\u8bae\u4e0d\u540c\u30022017\u5e74\u5f00\u59cb\uff0c\u5b83\u5df2\u88ab\u684c\u9762\u7248Ubuntu\u7684Wayland\u663e\u793a\u670d\u52a1\u5668\u53d6\u4ee3\uff0c\u5c3d\u7ba1Mir\u7684\u7269\u8054\u7f51(IoT)\u5e94\u7528\u7a0b\u5e8f\u7684\u5f00\u53d1\u4ecd\u5728\u7ee7\u7eed\u3002<\/p>\n","protected":false},"author":1,"featured_media":277166,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-277165","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-999"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/277165","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=277165"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/277165\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/277166"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=277165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=277165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=277165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}