{"id":79850,"date":"2026-03-03T11:17:19","date_gmt":"2026-03-03T03:17:19","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/79850.html"},"modified":"2026-03-03T11:17:19","modified_gmt":"2026-03-03T03:17:19","slug":"%e5%b5%8c%e5%85%a5%e5%bc%8fgui%e5%bc%80%e5%8f%91%e9%81%bf%e5%9d%91%e6%8c%87%e5%8d%97%ef%bc%9a%e4%bb%8ex11%e5%88%b0wayland%e7%9a%84%e6%98%be%e7%a4%ba%e6%9c%8d%e5%8a%a1%e5%99%a8%e9%80%89%e6%8b%a9","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/79850.html","title":{"rendered":"\u5d4c\u5165\u5f0fGUI\u5f00\u53d1\u907f\u5751\u6307\u5357\uff1a\u4eceX11\u5230Wayland\u7684\u663e\u793a\u670d\u52a1\u5668\u9009\u62e9\u4e0e\u5b9e\u6218"},"content":{"rendered":"<h2>\u5d4c\u5165\u5f0fGUI\u5f00\u53d1\u907f\u5751\u6307\u5357&#xff1a;\u4eceX11\u5230Wayland\u7684\u663e\u793a\u670d\u52a1\u5668\u9009\u62e9\u4e0e\u5b9e\u6218<\/h2>\n<p>\u5728\u5d4c\u5165\u5f0f\u7cfb\u7edf\u5f00\u53d1\u4e2d&#xff0c;\u56fe\u5f62\u7528\u6237\u754c\u9762&#xff08;GUI&#xff09;\u7684\u7a33\u5b9a\u6027\u548c\u6027\u80fd\u5f80\u5f80\u662f\u9879\u76ee\u6210\u529f\u7684\u5173\u952e\u56e0\u7d20\u3002\u5c24\u5176\u662f\u5728RK3566\u8fd9\u7c7bARM\u5e73\u53f0\u4e0a&#xff0c;\u9009\u62e9\u5408\u9002\u7684\u663e\u793a\u670d\u52a1\u5668\u534f\u8bae&#xff08;X11\u6216Wayland&#xff09;\u548c\u914d\u7f6e\u6b63\u786e\u7684\u73af\u5883\u53d8\u91cf&#xff0c;\u76f4\u63a5\u51b3\u5b9a\u4e86\u5e94\u7528\u7684\u6d41\u7545\u5ea6\u548c\u517c\u5bb9\u6027\u3002\u8bb8\u591a\u5f00\u53d1\u8005\u5728\u79fb\u690dQT\u5e94\u7528\u5230\u6cf0\u5c71\u6d3e\u7b49\u5f00\u53d1\u677f\u65f6&#xff0c;\u5e38\u4f1a\u9047\u5230\u5c4f\u5e55\u95ea\u70c1\u3001\u6e32\u67d3\u5f02\u5e38\u6216\u8d44\u6e90\u7ade\u4e89\u7b49\u95ee\u9898&#xff0c;\u8fd9\u80cc\u540e\u5f80\u5f80\u9690\u85cf\u7740\u5bf9\u663e\u793a\u67b6\u6784\u7406\u89e3\u7684\u4e0d\u8db3\u3002\u672c\u6587\u5c06\u4ece\u5b9e\u9645\u6848\u4f8b\u51fa\u53d1&#xff0c;\u6df1\u5165\u5206\u6790X11\u4e0eWayland\u7684\u5dee\u5f02&#xff0c;\u63d0\u4f9b\u4e00\u5957\u5b8c\u6574\u7684\u8c03\u8bd5\u65b9\u6cd5\u548c\u79fb\u690d\u7b56\u7565&#xff0c;\u5e2e\u52a9\u5f00\u53d1\u8005\u907f\u5f00\u5e38\u89c1\u7684\u9677\u9631&#xff0c;\u6784\u5efa\u7a33\u5b9a\u9ad8\u6548\u7684\u5d4c\u5165\u5f0fGUI\u7cfb\u7edf\u3002<\/p>\n<h3>1. \u663e\u793a\u670d\u52a1\u5668\u534f\u8bae&#xff1a;X11\u4e0eWayland\u7684\u6838\u5fc3\u5dee\u5f02<\/h3>\n<p>\u5728Linux\u56fe\u5f62\u7cfb\u7edf\u4e2d&#xff0c;\u663e\u793a\u670d\u52a1\u5668\u8d1f\u8d23\u7ba1\u7406\u56fe\u5f62\u8f93\u51fa\u7684\u5e95\u5c42\u534f\u8bae\u3002X11\u4f5c\u4e3a\u5df2\u670930\u591a\u5e74\u5386\u53f2\u7684\u6807\u51c6&#xff0c;\u91c7\u7528\u5ba2\u6237\u7aef-\u670d\u52a1\u5668\u67b6\u6784&#xff0c;\u652f\u6301\u7f51\u7edc\u900f\u660e\u6027&#xff0c;\u4f46\u67b6\u6784\u590d\u6742\u4e14\u5b58\u5728\u6027\u80fd\u74f6\u9888\u3002Wayland\u4f5c\u4e3a\u73b0\u4ee3\u66ff\u4ee3\u65b9\u6848&#xff0c;\u8bbe\u8ba1\u66f4\u7b80\u6d01&#xff0c;\u76f4\u63a5\u4e0e\u5185\u6838\u7684DRM&#xff08;Direct Rendering Manager&#xff09;\u4ea4\u4e92&#xff0c;\u51cf\u5c11\u4e86\u4e2d\u95f4\u5c42\u5f00\u9500&#xff0c;\u7406\u8bba\u4e0a\u80fd\u63d0\u4f9b\u66f4\u597d\u7684\u6027\u80fd\u548c\u66f4\u4f4e\u7684\u5ef6\u8fdf\u3002<\/p>\n<p>X11\u7684\u5de5\u4f5c\u673a\u5236&#xff1a;X11\u670d\u52a1\u5668&#xff08;\u5982Xorg&#xff09;\u7ba1\u7406\u6240\u6709\u663e\u793a\u8d44\u6e90&#xff0c;\u5ba2\u6237\u7aef\u5e94\u7528\u901a\u8fc7Xlib\u6216XCB\u5e93\u4e0e\u670d\u52a1\u5668\u901a\u4fe1\u3002\u8fd9\u79cd\u67b6\u6784\u7684\u4f18\u52bf\u662f\u517c\u5bb9\u6027\u597d&#xff0c;\u652f\u6301\u8fdc\u7a0b\u663e\u793a&#xff0c;\u4f46\u7f3a\u70b9\u4e5f\u5f88\u660e\u663e&#xff1a;\u6bcf\u4e2a\u8f93\u5165\u4e8b\u4ef6\u548c\u56fe\u5f62\u6307\u4ee4\u90fd\u9700\u8981\u7ecf\u8fc7\u670d\u52a1\u5668\u8f6c\u53d1&#xff0c;\u589e\u52a0\u4e86\u5ef6\u8fdf\u548c\u8d44\u6e90\u7ade\u4e89\u7684\u53ef\u80fd\u6027\u3002\u5728\u5d4c\u5165\u5f0f\u73af\u5883\u4e2d&#xff0c;\u591a\u4e2a\u5e94\u7528\u540c\u65f6\u8bf7\u6c42\u5e27\u7f13\u51b2\u533a&#xff08;framebuffer&#xff09;\u65f6&#xff0c;\u5bb9\u6613\u5bfc\u81f4\u6e32\u67d3\u51b2\u7a81\u548c\u5c4f\u5e55\u6495\u88c2\u3002<\/p>\n<p>Wayland\u7684\u9769\u65b0&#xff1a;Wayland\u534f\u8bae\u4e2d&#xff0c;\u6bcf\u4e2a\u5e94\u7528\u76f4\u63a5\u4e0e\u663e\u793a\u5408\u6210\u5668&#xff08;compositor&#xff09;\u901a\u4fe1&#xff0c;\u5408\u6210\u5668\u8d1f\u8d23\u7ba1\u7406\u7a97\u53e3\u548c\u8f93\u5165\u4e8b\u4ef6\u3002\u8fd9\u79cd\u65b9\u5f0f\u51cf\u5c11\u4e86\u4e2d\u95f4\u73af\u8282&#xff0c;\u63d0\u9ad8\u4e86\u54cd\u5e94\u901f\u5ea6\u3002Wayland\u8fd8\u5f3a\u5236\u8981\u6c42\u5ba2\u6237\u7aef\u4f7f\u7528\u53cc\u7f13\u51b2\u6e32\u67d3&#xff0c;\u907f\u514d\u4e86\u753b\u9762\u6495\u88c2\u95ee\u9898\u3002\u4f46Wayland\u7684\u517c\u5bb9\u6027\u76f8\u5bf9\u8f83\u5dee&#xff0c;\u8bb8\u591a\u4f20\u7edfX11\u5e94\u7528\u9700\u8981\u901a\u8fc7XWayland\u517c\u5bb9\u5c42\u8fd0\u884c&#xff0c;\u8fd9\u4f1a\u5f15\u5165\u989d\u5916\u7684\u6027\u80fd\u5f00\u9500\u3002<\/p>\n<p>\u5728\u5b9e\u9645\u9879\u76ee\u4e2d&#xff0c;\u9009\u62e9X11\u8fd8\u662fWayland\u9700\u8981\u6743\u8861\u517c\u5bb9\u6027\u548c\u6027\u80fd\u3002\u5982\u679c\u5e94\u7528\u5927\u91cf\u4f9d\u8d56X11\u7279\u6709\u529f\u80fd&#xff08;\u5982\u67d0\u4e9b\u8fdc\u7a0b\u684c\u9762\u534f\u8bae&#xff09;&#xff0c;\u6216\u8005\u9700\u8981\u652f\u6301\u8001\u65e7\u786c\u4ef6\u9a71\u52a8&#xff0c;X11\u53ef\u80fd\u662f\u66f4\u5b89\u5168\u7684\u9009\u62e9\u3002\u800c\u5bf9\u4e8e\u8ffd\u6c42\u6027\u80fd\u548c\u73b0\u4ee3\u7279\u6027\u7684\u65b0\u9879\u76ee&#xff0c;Wayland\u503c\u5f97\u4f18\u5148\u8003\u8651\u3002<\/p>\n<p>\u63d0\u793a&#xff1a;\u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4echo $XDG_SESSION_TYPE\u67e5\u770b\u5f53\u524d\u7cfb\u7edf\u4f7f\u7528\u7684\u663e\u793a\u670d\u52a1\u5668\u7c7b\u578b&#xff0c;\u4f7f\u7528cat \/etc\/X11\/default-display-manager\u68c0\u67e5\u663e\u793a\u7ba1\u7406\u5668&#xff08;\u5982LightDM\u6216GDM&#xff09;\u3002<\/p>\n<h3>2. \u5e38\u89c1\u95ee\u9898\u5206\u6790&#xff1a;\u5c4f\u5e55\u95ea\u70c1\u4e0e\u6e32\u67d3\u5f02\u5e38\u7684\u6839\u6e90<\/h3>\n<p>\u5c4f\u5e55\u95ea\u70c1\u548c\u6e32\u67d3\u5f02\u5e38\u662f\u5d4c\u5165\u5f0fGUI\u5f00\u53d1\u4e2d\u6700\u5e38\u89c1\u7684\u95ee\u9898\u4e4b\u4e00&#xff0c;\u5176\u6839\u672c\u539f\u56e0\u5f80\u5f80\u662f\u8d44\u6e90\u7ade\u4e89\u6216\u914d\u7f6e\u9519\u8bef\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5178\u578b\u573a\u666f\u53ca\u5176\u89e3\u51b3\u65b9\u6848&#xff1a;<\/p>\n<p>\u5e27\u7f13\u51b2\u533a\u7ade\u4e89&#xff1a;\u5f53\u7cfb\u7edf\u684c\u9762\u73af\u5883&#xff08;\u5982GNOME\u6216XFCE&#xff09;\u4e0eQT\u5e94\u7528\u540c\u65f6\u8bbf\u95ee\u5e27\u7f13\u51b2\u533a\u65f6&#xff0c;\u4f1a\u53d1\u751f\u8d44\u6e90\u62a2\u5360\u3002\u8fd9\u901a\u5e38\u8868\u73b0\u4e3a\u9f20\u6807\u79fb\u52a8\u65f6\u5c4f\u5e55\u95ea\u70c1&#xff0c;\u6216\u5e94\u7528\u7a97\u53e3\u90e8\u5206\u533a\u57df\u5237\u65b0\u5f02\u5e38\u3002\u89e3\u51b3\u65b9\u6848\u5305\u62ec&#xff1a;<\/p>\n<ul>\n<li>\u4f7f\u7528sudo init 3\u5173\u95ed\u56fe\u5f62\u684c\u9762&#xff0c;\u76f4\u63a5\u8fdb\u5165\u547d\u4ee4\u884c\u6a21\u5f0f\u8fd0\u884cQT\u5e94\u7528<\/li>\n<li>\u914d\u7f6eQT\u4f7f\u7528\u7279\u5b9a\u5e73\u53f0\u63d2\u4ef6&#xff0c;\u5982export QT_QPA_PLATFORM&#061;linuxfb&#xff08;\u76f4\u63a5\u8bbf\u95ee\u5e27\u7f13\u51b2\u533a&#xff0c;\u907f\u514d\u4e0eX11\u51b2\u7a81&#xff09;<\/li>\n<li>\u4fee\u6539\u663e\u793a\u7ba1\u7406\u5668\u914d\u7f6e&#xff0c;\u5f3a\u5236\u4f7f\u7528\u5355\u4e00\u663e\u793a\u670d\u52a1\u5668&#xff08;\u5982\u5728LightDM\u4e2d\u7981\u7528Wayland&#xff09;<\/li>\n<\/ul>\n<p>\u663e\u793a\u670d\u52a1\u5668\u4e0e\u5e73\u53f0\u63d2\u4ef6\u4e0d\u5339\u914d&#xff1a;QT\u5e94\u7528\u9700\u8981\u901a\u8fc7\u5e73\u53f0\u63d2\u4ef6\u4e0e\u663e\u793a\u670d\u52a1\u5668\u4ea4\u4e92\u3002\u5e38\u89c1\u63d2\u4ef6\u5305\u62ec&#xff1a;<\/p>\n<ul>\n<li>xcb&#xff1a;\u7528\u4e8eX11\u73af\u5883&#xff0c;\u63d0\u4f9b\u4e0eX\u670d\u52a1\u5668\u7684\u901a\u4fe1\u63a5\u53e3<\/li>\n<li>wayland&#xff1a;\u539f\u751fWayland\u63d2\u4ef6&#xff0c;\u6027\u80fd\u6700\u4f18\u4f46\u517c\u5bb9\u6027\u6709\u9650<\/li>\n<li>linuxfb&#xff1a;\u76f4\u63a5\u5199\u5165\u5e27\u7f13\u51b2\u533a&#xff0c;\u4e0d\u4f9d\u8d56\u4efb\u4f55\u663e\u793a\u670d\u52a1\u5668&#xff0c;\u9002\u5408\u65e0\u684c\u9762\u73af\u5883<\/li>\n<\/ul>\n<p>\u5982\u679c\u5e94\u7528\u914d\u7f6e\u4e86\u9519\u8bef\u7684\u63d2\u4ef6&#xff08;\u5982\u5728Wayland\u4f1a\u8bdd\u4e2d\u4f7f\u7528xcb&#xff09;&#xff0c;\u4f1a\u5bfc\u81f4\u6e32\u67d3\u5931\u8d25\u6216\u5d29\u6e83\u3002\u901a\u8fc7\u73af\u5883\u53d8\u91cfQT_QPA_PLATFORM\u53ef\u4ee5\u6307\u5b9a\u63d2\u4ef6\u7c7b\u578b&#xff0c;\u4f8b\u5982&#xff1a;<\/p>\n<p># \u4f7f\u7528XCB\u63d2\u4ef6<br \/>\nexport QT_QPA_PLATFORM&#061;xcb<\/p>\n<p># \u4f7f\u7528Linux\u5e27\u7f13\u51b2\u533a\u63d2\u4ef6<br \/>\nexport QT_QPA_PLATFORM&#061;linuxfb<\/p>\n<p># \u4f7f\u7528Wayland\u63d2\u4ef6<br \/>\nexport QT_QPA_PLATFORM&#061;wayland<\/p>\n<p>\u5206\u8fa8\u7387\u4e0e\u7f29\u653e\u8bbe\u7f6e&#xff1a;\u4fee\u6539\u7cfb\u7edf\u5206\u8fa8\u7387\u540e&#xff0c;QT\u5e94\u7528\u53ef\u80fd\u65e0\u6cd5\u6b63\u786e\u8bc6\u522b\u663e\u793a\u8bbe\u5907\u3002\u8fd9\u662f\u56e0\u4e3a\u5e27\u7f13\u51b2\u533a\u8bbe\u5907&#xff08;\u5982\/dev\/fb0&#xff09;\u7684\u5c5e\u6027\u53d1\u751f\u53d8\u5316&#xff0c;\u800c\u5e94\u7528\u6ca1\u6709\u91cd\u65b0\u521d\u59cb\u5316\u56fe\u5f62\u4e0a\u4e0b\u6587\u3002\u5efa\u8bae\u5728\u5f00\u53d1\u8fc7\u7a0b\u4e2d\u56fa\u5b9a\u5206\u8fa8\u7387&#xff0c;\u907f\u514d\u52a8\u6001\u4fee\u6539\u3002<\/p>\n<p>\u4e0b\u8868\u603b\u7ed3\u4e86\u5e38\u89c1\u95ee\u9898\u4e0e\u89e3\u51b3\u65b9\u6848&#xff1a;<\/p>\n<table>\n<tr>\u95ee\u9898\u73b0\u8c61\u53ef\u80fd\u539f\u56e0\u89e3\u51b3\u65b9\u6848<\/tr>\n<tbody>\n<tr>\n<td>\u9f20\u6807\u79fb\u52a8\u65f6\u5c4f\u5e55\u95ea\u70c1<\/td>\n<td>\u5e27\u7f13\u51b2\u533a\u7ade\u4e89<\/td>\n<td>\u5173\u95ed\u684c\u9762\u73af\u5883\u6216\u4f7f\u7528linuxfb\u63d2\u4ef6<\/td>\n<\/tr>\n<tr>\n<td>\u5e94\u7528\u542f\u52a8\u540e\u9ed1\u5c4f<\/td>\n<td>\u5e73\u53f0\u63d2\u4ef6\u4e0d\u5339\u914d<\/td>\n<td>\u68c0\u67e5\u5e76\u8bbe\u7f6e\u6b63\u786e\u7684QT_QPA_PLATFORM<\/td>\n<\/tr>\n<tr>\n<td>\u7a97\u53e3\u6e32\u67d3\u5f02\u5e38<\/td>\n<td>\u5206\u8fa8\u7387\u6216\u7f29\u653e\u6bd4\u4f8b\u9519\u8bef<\/td>\n<td>\u56fa\u5b9a\u5206\u8fa8\u7387&#xff0c;\u907f\u514d\u975e\u6574\u6570\u500d\u7f29\u653e<\/td>\n<\/tr>\n<tr>\n<td>\u5e94\u7528\u5d29\u6e83<\/td>\n<td>\u7f3a\u5c11\u4f9d\u8d56\u5e93<\/td>\n<td>\u4f7f\u7528ldd\u68c0\u67e5\u4f9d\u8d56&#xff0c;\u5b89\u88c5\u7f3a\u5931\u5e93<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>3. \u73af\u5883\u914d\u7f6e\u4e0e\u8c03\u8bd5\u6280\u5de7<\/h3>\n<p>\u6b63\u786e\u7684\u73af\u5883\u914d\u7f6e\u662f\u907f\u514dGUI\u95ee\u9898\u7684\u5173\u952e\u3002\u4ee5\u4e0b\u662f\u5728RK3566\u5e73\u53f0\u4e0a\u914d\u7f6eQT\u8fd0\u884c\u73af\u5883\u7684\u8be6\u7ec6\u6b65\u9aa4&#xff1a;<\/p>\n<p>\u4ea4\u53c9\u7f16\u8bd1\u5de5\u5177\u94fe\u914d\u7f6e&#xff1a;\u9996\u5148\u786e\u4fdd\u4f7f\u7528\u5408\u9002\u7684\u4ea4\u53c9\u7f16\u8bd1\u5de5\u5177\u94fe\u3002\u5bf9\u4e8eARM64\u67b6\u6784&#xff0c;Linaro GCC\u662f\u5e38\u89c1\u9009\u62e9\u3002\u7f16\u8bd1QT\u65f6\u9700\u8981\u6307\u5b9a\u5e73\u53f0\u53c2\u6570&#xff1a;<\/p>\n<p>.\/configure -prefix \/opt\/qt5-arm \\\\<br \/>\n -opensource \\\\<br \/>\n -confirm-license \\\\<br \/>\n -xplatform linux-aarch64-gnu-g&#043;&#043; \\\\<br \/>\n -linuxfb \\\\<br \/>\n -no-xcb \\\\<br \/>\n -no-wayland<\/p>\n<p>\u8fd9\u91cc\u663e\u5f0f\u7981\u7528xcb\u548cwayland&#xff0c;\u5f3a\u5236\u4f7f\u7528linuxfb\u63d2\u4ef6&#xff0c;\u907f\u514d\u8fd0\u884c\u65f6\u4f9d\u8d56\u663e\u793a\u670d\u52a1\u5668\u3002<\/p>\n<p>\u8fd0\u884c\u65f6\u73af\u5883\u53d8\u91cf&#xff1a;\u5728\u76ee\u6807\u8bbe\u5907\u4e0a&#xff0c;\u901a\u8fc7\u73af\u5883\u53d8\u91cf\u63a7\u5236QT\u884c\u4e3a\u3002\u9664\u4e86\u524d\u9762\u63d0\u5230\u7684QT_QPA_PLATFORM&#xff0c;\u8fd8\u6709\u4e00\u4e9b\u91cd\u8981\u53d8\u91cf&#xff1a;<\/p>\n<p># \u6307\u5b9a\u663e\u793a\u8bbe\u5907<br \/>\nexport QT_QPA_FB&#061;\/dev\/fb0<\/p>\n<p># \u8bbe\u7f6e\u9f20\u6807\u8bbe\u5907<br \/>\nexport QT_QPA_GENERIC_PLUGINS&#061;evdevmouse<\/p>\n<p># \u6307\u5b9a\u8f93\u5165\u8bbe\u5907<br \/>\nexport QT_QPA_EVDEV_MOUSE_PARAMETERS&#061;\/dev\/input\/event1<\/p>\n<p># \u542f\u7528\u8c03\u8bd5\u4fe1\u606f<br \/>\nexport QT_LOGGING_RULES&#061;qt.qpa.*&#061;true<\/p>\n<p>\u542f\u7528\u8c03\u8bd5\u65e5\u5fd7\u53ef\u4ee5\u5feb\u901f\u5b9a\u4f4d\u95ee\u9898&#xff0c;\u5982\u6e32\u67d3\u9519\u8bef\u6216\u8f93\u5165\u8bbe\u5907\u68c0\u6d4b\u5931\u8d25\u3002<\/p>\n<p>\u663e\u793a\u7ba1\u7406\u5668\u914d\u7f6e&#xff1a;\u5982\u679c\u7cfb\u7edf\u8fd0\u884c\u56fe\u5f62\u684c\u9762&#xff0c;\u9700\u8981\u914d\u7f6e\u663e\u793a\u7ba1\u7406\u5668\u3002\u4ee5LightDM\u4e3a\u4f8b&#xff0c;\u4fee\u6539\/etc\/lightdm\/lightdm.conf&#xff1a;<\/p>\n<p>[SeatDefaults]<br \/>\ndisplay-setup-script&#061;\/usr\/bin\/setup-display<br \/>\nxserver-command&#061;X -s 0 -dpms<\/p>\n<p>\u8fd9\u91cc\u7981\u7528\u5c4f\u5e55\u4fdd\u62a4&#xff08;dpms&#xff09;\u548c\u5c4f\u5e55\u7a7a\u767d&#xff08;-s 0&#xff09;&#xff0c;\u907f\u514d\u5d4c\u5165\u5f0f\u8bbe\u5907\u4e0a\u4e0d\u5fc5\u8981\u7684\u7535\u6e90\u7ba1\u7406\u5e72\u6270\u3002<\/p>\n<p>\u5bf9\u4e8eGDM3&#xff0c;\u7f16\u8f91\/etc\/gdm3\/custom.conf\u53d6\u6d88Wayland\u542f\u7528&#xff1a;<\/p>\n<p>[daemon]<br \/>\nWaylandEnable&#061;false<\/p>\n<p>\u8fd9\u5f3a\u5236\u7cfb\u7edf\u4f7f\u7528X11\u670d\u52a1\u5668&#xff0c;\u53ef\u80fd\u89e3\u51b3\u67d0\u4e9b\u517c\u5bb9\u6027\u95ee\u9898\u3002<\/p>\n<h3>4. \u5b9e\u6218\u6848\u4f8b&#xff1a;QT\u5e94\u7528\u79fb\u690d\u4e0e\u95ee\u9898\u89e3\u51b3<\/h3>\n<p>\u901a\u8fc7\u4e00\u4e2a\u5b9e\u9645\u6848\u4f8b\u6f14\u793a\u5b8c\u6574\u7684\u95ee\u9898\u6392\u67e5\u6d41\u7a0b\u3002\u5047\u8bbe\u6211\u4eec\u5c06\u4e00\u4e2a\u6d77\u5eb7\u5a01\u89c6\u6444\u50cf\u5934\u91c7\u96c6\u7a0b\u5e8f\u79fb\u690d\u5230RK3566\u5e73\u53f0&#xff0c;\u9047\u5230\u4ee5\u4e0b\u9519\u8bef&#xff1a;<\/p>\n<p>XOpenDisplay Fail<br \/>\n\u6bb5\u9519\u8bef<\/p>\n<p>\u95ee\u9898\u5206\u6790&#xff1a;\u9519\u8bef\u8868\u660e\u5e94\u7528\u65e0\u6cd5\u8fde\u63a5\u5230X11\u670d\u52a1\u5668\u3002\u68c0\u67e5\u53d1\u73b0\u5e94\u7528\u4f9d\u8d56X11\u6e32\u67d3\u89c6\u9891\u6d41&#xff0c;\u4f46\u7cfb\u7edf\u5f53\u524d\u8fd0\u884c\u5728Wayland\u6a21\u5f0f\u4e0b\u3002\u540c\u65f6\u5b58\u5728\u7f51\u7edc\u914d\u7f6e\u9519\u8bef\u5bfc\u81f4\u6444\u50cf\u5934\u8fde\u63a5\u5931\u8d25\u3002<\/p>\n<p>\u89e3\u51b3\u65b9\u6848&#xff1a;<\/p>\n<li>\u914d\u7f6e\u7f51\u7edc\u786e\u4fdd\u4e0e\u6444\u50cf\u5934\u901a\u4fe1\u6b63\u5e38<\/li>\n<li>\u5207\u6362\u663e\u793a\u670d\u52a1\u5668\u5230X11&#xff0c;\u6216\u4e3a\u5e94\u7528\u63d0\u4f9bX11\u73af\u5883<\/li>\n<p>\u5bf9\u4e8e\u65e0\u684c\u9762\u73af\u5883&#xff0c;\u53ef\u4ee5\u901a\u8fc7startx\u542f\u52a8\u6700\u5c0f\u5316X11\u4f1a\u8bdd&#xff1a;<\/p>\n<p>startx &#8212; \/usr\/bin\/your_qt_application<\/p>\n<p>\u8fd9\u79cd\u65b9\u5f0f\u5728\u4fdd\u6301\u7cfb\u7edf\u8f7b\u91cf\u5316\u7684\u540c\u65f6&#xff0c;\u4e3a\u9700\u8981X11\u7684\u5e94\u7528\u63d0\u4f9b\u5fc5\u8981\u73af\u5883\u3002<\/p>\n<p>\u5982\u679c\u95ee\u9898\u4f9d\u65e7&#xff0c;\u68c0\u67e5\u663e\u5361\u9a71\u52a8&#xff1a;<\/p>\n<p>libGL error: failed to create dri screen<br \/>\nlibGL error: failed to load driver: rockchip<\/p>\n<p>\u8fd9\u4e9b\u9519\u8bef\u8868\u660eRockchip\u663e\u5361\u9a71\u52a8\u672a\u6b63\u786e\u5b89\u88c5\u6216\u914d\u7f6e\u3002\u9700\u8981\u5b89\u88c5libmali-rockchip\u7b49\u786c\u4ef6\u52a0\u901f\u5e93&#xff0c;\u5e76\u914d\u7f6e\u6b63\u786e\u7684\u73af\u5883\u53d8\u91cf&#xff1a;<\/p>\n<p>export LD_LIBRARY_PATH&#061;\/usr\/lib\/aarch64-linux-gnu\/mali-egl:$LD_LIBRARY_PATH<br \/>\nexport LIBGL_DRIVERS_PATH&#061;\/usr\/lib\/aarch64-linux-gnu\/dri<\/p>\n<p>\u6700\u7ec8\u89e3\u51b3\u65b9\u6848&#xff1a;\u7ecf\u8fc7\u6d4b\u8bd5&#xff0c;\u6700\u7a33\u5b9a\u7684\u914d\u7f6e\u662f\u4f7f\u7528LightDM\u663e\u793a\u7ba1\u7406\u5668\u914d\u5408X11\u670d\u52a1\u5668&#xff0c;\u5e76\u6b63\u786e\u8bbe\u7f6eQT\u5e73\u53f0\u63d2\u4ef6&#xff1a;<\/p>\n<p># \u5728\/etc\/profile\u4e2d\u6dfb\u52a0<br \/>\nexport QT_QPA_PLATFORM&#061;xcb<br \/>\nexport QT_XCB_GL_INTEGRATION&#061;xcb_egl<\/p>\n<p>\u540c\u65f6\u786e\u4fdd\u5b89\u88c5\u4e86\u6240\u6709\u4f9d\u8d56\u5e93&#xff1a;<\/p>\n<p>sudo apt-get install qt5-default libxcb-xinerama0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1<\/p>\n<p>\u7ecf\u8fc7\u8fd9\u4e9b\u8c03\u6574&#xff0c;\u5e94\u7528\u80fd\u591f\u7a33\u5b9a\u8fd0\u884c&#xff0c;\u89c6\u9891\u6d41\u6e32\u67d3\u6d41\u7545&#xff0c;\u65e0\u95ea\u70c1\u6216\u6495\u88c2\u73b0\u8c61\u3002<\/p>\n<h3>5. \u9ad8\u7ea7\u4e3b\u9898&#xff1a;\u591a\u663e\u793a\u7ba1\u7406\u5668\u4e0e\u6df7\u5408\u73af\u5883<\/h3>\n<p>\u5728\u590d\u6742\u5e94\u7528\u4e2d&#xff0c;\u53ef\u80fd\u9700\u8981\u540c\u65f6\u652f\u6301\u591a\u79cd\u663e\u793a\u534f\u8bae\u6216\u7ba1\u7406\u5668\u3002\u4ee5\u4e0b\u662f\u51e0\u79cd\u9ad8\u7ea7\u914d\u7f6e\u573a\u666f&#xff1a;<\/p>\n<p>\u53cc\u663e\u793a\u914d\u7f6e&#xff1a;RK3566\u652f\u6301\u540c\u65f6\u8f93\u51fa\u5230HDMI\u548cMIPI\u663e\u793a\u5c4f\u3002\u9700\u8981\u5728\u8bbe\u5907\u6811\u4e2d\u914d\u7f6e\u591a\u663e\u793a\u8f93\u51fa&#xff1a;<\/p>\n<p>&amp;hdmi {<br \/>\n    status &#061; &#034;okay&#034;;<br \/>\n};<\/p>\n<p>&amp;dsi {<br \/>\n    status &#061; &#034;okay&#034;;<br \/>\n};<\/p>\n<p>\u5728\u5e94\u7528\u4e2d&#xff0c;\u53ef\u4ee5\u901a\u8fc7\u6307\u5b9a\u4e0d\u540c\u663e\u793a\u8bbe\u5907\u5206\u522b\u6e32\u67d3&#xff1a;<\/p>\n<p># \u4e3b\u663e\u793a<br \/>\nexport DISPLAY&#061;:0<\/p>\n<p># \u526f\u663e\u793a<br \/>\nexport DISPLAY&#061;:1<\/p>\n<p>\u6df7\u5408\u6e32\u67d3\u6a21\u5f0f&#xff1a;\u5bf9\u4e8e\u9700\u8981\u540c\u65f6\u4f7f\u7528X11\u548cWayland\u7684\u5e94\u7528&#xff0c;\u53ef\u4ee5\u901a\u8fc7XWayland\u6865\u63a5\u3002\u914d\u7f6eGDM3\u540c\u65f6\u652f\u6301\u4e24\u79cd\u534f\u8bae&#xff1a;<\/p>\n<p>[daemon]<br \/>\nWaylandEnable&#061;true<br \/>\nXorgEnable&#061;true<\/p>\n<p>\u5e94\u7528\u53ef\u4ee5\u6839\u636e\u8fd0\u884c\u65f6\u73af\u5883\u81ea\u52a8\u9009\u62e9\u6700\u4f73\u6e32\u67d3\u8def\u5f84\u3002<\/p>\n<p>\u6027\u80fd\u4f18\u5316&#xff1a;\u5bf9\u4e8e\u6027\u80fd\u654f\u611f\u7684\u5d4c\u5165\u5f0f\u5e94\u7528&#xff0c;\u53ef\u4ee5\u8003\u8651\u4ee5\u4e0b\u4f18\u5316&#xff1a;<\/p>\n<ul>\n<li>\u4f7f\u7528EGLFS\u5e73\u53f0\u63d2\u4ef6&#xff08;QT\u4e13\u4e3a\u5d4c\u5165\u5f0f\u4f18\u5316\u7684\u6e32\u67d3\u8def\u5f84&#xff09;<\/li>\n<li>\u542f\u7528\u786c\u4ef6\u52a0\u901f&#xff08;\u901a\u8fc7Mesa\u6216\u5382\u5546\u7279\u5b9a\u9a71\u52a8&#xff09;<\/li>\n<li>\u8c03\u6574\u5e27\u7f13\u51b2\u533a\u53c2\u6570&#xff08;\u5982\u989c\u8272\u6df1\u5ea6\u3001\u5237\u65b0\u7387&#xff09;<\/li>\n<\/ul>\n<p># \u4f7f\u7528EGLFS\u63d2\u4ef6<br \/>\nexport QT_QPA_PLATFORM&#061;eglfs<\/p>\n<p># \u6307\u5b9aEGL\u8bbe\u5907<br \/>\nexport QT_QPA_EGLFS_DEVICE_INTEGRATION&#061;eglfs_kms<\/p>\n<p># \u8bbe\u7f6e\u7269\u7406\u663e\u793a\u5c3a\u5bf8&#xff08;\u6beb\u7c73\u5355\u4f4d&#xff09;<br \/>\nexport QT_QPA_EGLFS_PHYSICAL_WIDTH&#061;217<br \/>\nexport QT_QPA_EGLFS_PHYSICAL_HEIGHT&#061;135<\/p>\n<p>\u8fd9\u4e9b\u9ad8\u7ea7\u914d\u7f6e\u9700\u8981\u9488\u5bf9\u5177\u4f53\u786c\u4ef6\u548c\u5e94\u7528\u9700\u6c42\u8fdb\u884c\u8c03\u6574&#xff0c;\u5efa\u8bae\u5728\u57fa\u7840\u529f\u80fd\u7a33\u5b9a\u540e\u9010\u6b65\u4f18\u5316\u3002<\/p>\n<p>\u5d4c\u5165\u5f0fGUI\u5f00\u53d1\u662f\u4e00\u4e2a\u9700\u8981\u6df1\u5165\u7406\u89e3\u7cfb\u7edf\u67b6\u6784\u7684\u9886\u57df\u3002\u9009\u62e9\u6b63\u786e\u7684\u663e\u793a\u670d\u52a1\u5668\u534f\u8bae\u3001\u914d\u7f6e\u9002\u5f53\u7684\u73af\u5883\u53d8\u91cf\u3001\u7406\u89e3\u5e73\u53f0\u63d2\u4ef6\u7684\u5de5\u4f5c\u539f\u7406&#xff0c;\u8fd9\u4e9b\u90fd\u662f\u907f\u514d\u5e38\u89c1\u95ee\u9898\u7684\u5173\u952e\u3002\u901a\u8fc7\u672c\u6587\u4ecb\u7ecd\u7684\u65b9\u6cd5\u8bba\u548c\u5b9e\u6218\u6280\u5de7&#xff0c;\u5f00\u53d1\u8005\u5e94\u8be5\u80fd\u591f\u66f4\u81ea\u4fe1\u5730\u5e94\u5bf9\u5404\u79cdGUI\u6311\u6218&#xff0c;\u6784\u5efa\u51fa\u7a33\u5b9a\u9ad8\u6548\u7684\u5d4c\u5165\u5f0f\u56fe\u5f62\u5e94\u7528\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5d4c\u5165\u5f0fGUI\u5f00\u53d1\u907f\u5751\u6307\u5357&#xff1a;\u4eceX11\u5230Wayland\u7684\u663e\u793a\u670d\u52a1\u5668\u9009\u62e9\u4e0e\u5b9e\u6218<br \/>\n\u5728\u5d4c\u5165\u5f0f\u7cfb\u7edf\u5f00\u53d1\u4e2d&#xff0c;\u56fe\u5f62\u7528\u6237\u754c\u9762&#xff08;GUI&#xff09;\u7684\u7a33\u5b9a\u6027\u548c\u6027\u80fd\u5f80\u5f80\u662f\u9879\u76ee\u6210\u529f\u7684\u5173\u952e\u56e0\u7d20\u3002\u5c24\u5176\u662f\u5728RK3566\u8fd9\u7c7bARM\u5e73\u53f0\u4e0a&#xff0c;\u9009\u62e9\u5408\u9002\u7684\u663e\u793a\u670d\u52a1\u5668\u534f\u8bae&#xff08;X11\u6216Wayland&#xff09;\u548c\u914d\u7f6e\u6b63\u786e\u7684\u73af\u5883\u53d8\u91cf&#xff0c;\u76f4\u63a5\u51b3\u5b9a\u4e86\u5e94\u7528\u7684\u6d41\u7545\u5ea6\u548c\u517c\u5bb9\u6027\u3002\u8bb8\u591a\u5f00\u53d1\u8005\u5728\u79fb\u690dQT\u5e94\u7528\u5230\u6cf0\u5c71\u6d3e\u7b49\u5f00\u53d1\u677f\u65f6&#xff0c;\u5e38\u4f1a\u9047\u5230\u5c4f\u5e55<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[8934,8932,8933,1720],"topic":[],"class_list":["post-79850","post","type-post","status-publish","format-standard","hentry","category-server","tag-rk3566","tag-gui","tag-8933","tag-qt"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5d4c\u5165\u5f0fGUI\u5f00\u53d1\u907f\u5751\u6307\u5357\uff1a\u4eceX11\u5230Wayland\u7684\u663e\u793a\u670d\u52a1\u5668\u9009\u62e9\u4e0e\u5b9e\u6218 - \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\/79850.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5d4c\u5165\u5f0fGUI\u5f00\u53d1\u907f\u5751\u6307\u5357\uff1a\u4eceX11\u5230Wayland\u7684\u663e\u793a\u670d\u52a1\u5668\u9009\u62e9\u4e0e\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u5d4c\u5165\u5f0fGUI\u5f00\u53d1\u907f\u5751\u6307\u5357&#xff1a;\u4eceX11\u5230Wayland\u7684\u663e\u793a\u670d\u52a1\u5668\u9009\u62e9\u4e0e\u5b9e\u6218 \u5728\u5d4c\u5165\u5f0f\u7cfb\u7edf\u5f00\u53d1\u4e2d&#xff0c;\u56fe\u5f62\u7528\u6237\u754c\u9762&#xff08;GUI&#xff09;\u7684\u7a33\u5b9a\u6027\u548c\u6027\u80fd\u5f80\u5f80\u662f\u9879\u76ee\u6210\u529f\u7684\u5173\u952e\u56e0\u7d20\u3002\u5c24\u5176\u662f\u5728RK3566\u8fd9\u7c7bARM\u5e73\u53f0\u4e0a&#xff0c;\u9009\u62e9\u5408\u9002\u7684\u663e\u793a\u670d\u52a1\u5668\u534f\u8bae&#xff08;X11\u6216Wayland&#xff09;\u548c\u914d\u7f6e\u6b63\u786e\u7684\u73af\u5883\u53d8\u91cf&#xff0c;\u76f4\u63a5\u51b3\u5b9a\u4e86\u5e94\u7528\u7684\u6d41\u7545\u5ea6\u548c\u517c\u5bb9\u6027\u3002\u8bb8\u591a\u5f00\u53d1\u8005\u5728\u79fb\u690dQT\u5e94\u7528\u5230\u6cf0\u5c71\u6d3e\u7b49\u5f00\u53d1\u677f\u65f6&#xff0c;\u5e38\u4f1a\u9047\u5230\u5c4f\u5e55\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/79850.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-03-03T03:17:19+00:00\" \/>\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=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/79850.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/79850.html\",\"name\":\"\u5d4c\u5165\u5f0fGUI\u5f00\u53d1\u907f\u5751\u6307\u5357\uff1a\u4eceX11\u5230Wayland\u7684\u663e\u793a\u670d\u52a1\u5668\u9009\u62e9\u4e0e\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-03-03T03:17:19+00:00\",\"dateModified\":\"2026-03-03T03:17:19+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/79850.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/79850.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/79850.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5d4c\u5165\u5f0fGUI\u5f00\u53d1\u907f\u5751\u6307\u5357\uff1a\u4eceX11\u5230Wayland\u7684\u663e\u793a\u670d\u52a1\u5668\u9009\u62e9\u4e0e\u5b9e\u6218\"}]},{\"@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":"\u5d4c\u5165\u5f0fGUI\u5f00\u53d1\u907f\u5751\u6307\u5357\uff1a\u4eceX11\u5230Wayland\u7684\u663e\u793a\u670d\u52a1\u5668\u9009\u62e9\u4e0e\u5b9e\u6218 - \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\/79850.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5d4c\u5165\u5f0fGUI\u5f00\u53d1\u907f\u5751\u6307\u5357\uff1a\u4eceX11\u5230Wayland\u7684\u663e\u793a\u670d\u52a1\u5668\u9009\u62e9\u4e0e\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u5d4c\u5165\u5f0fGUI\u5f00\u53d1\u907f\u5751\u6307\u5357&#xff1a;\u4eceX11\u5230Wayland\u7684\u663e\u793a\u670d\u52a1\u5668\u9009\u62e9\u4e0e\u5b9e\u6218 \u5728\u5d4c\u5165\u5f0f\u7cfb\u7edf\u5f00\u53d1\u4e2d&#xff0c;\u56fe\u5f62\u7528\u6237\u754c\u9762&#xff08;GUI&#xff09;\u7684\u7a33\u5b9a\u6027\u548c\u6027\u80fd\u5f80\u5f80\u662f\u9879\u76ee\u6210\u529f\u7684\u5173\u952e\u56e0\u7d20\u3002\u5c24\u5176\u662f\u5728RK3566\u8fd9\u7c7bARM\u5e73\u53f0\u4e0a&#xff0c;\u9009\u62e9\u5408\u9002\u7684\u663e\u793a\u670d\u52a1\u5668\u534f\u8bae&#xff08;X11\u6216Wayland&#xff09;\u548c\u914d\u7f6e\u6b63\u786e\u7684\u73af\u5883\u53d8\u91cf&#xff0c;\u76f4\u63a5\u51b3\u5b9a\u4e86\u5e94\u7528\u7684\u6d41\u7545\u5ea6\u548c\u517c\u5bb9\u6027\u3002\u8bb8\u591a\u5f00\u53d1\u8005\u5728\u79fb\u690dQT\u5e94\u7528\u5230\u6cf0\u5c71\u6d3e\u7b49\u5f00\u53d1\u677f\u65f6&#xff0c;\u5e38\u4f1a\u9047\u5230\u5c4f\u5e55","og_url":"https:\/\/www.wsisp.com\/helps\/79850.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-03-03T03:17:19+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/79850.html","url":"https:\/\/www.wsisp.com\/helps\/79850.html","name":"\u5d4c\u5165\u5f0fGUI\u5f00\u53d1\u907f\u5751\u6307\u5357\uff1a\u4eceX11\u5230Wayland\u7684\u663e\u793a\u670d\u52a1\u5668\u9009\u62e9\u4e0e\u5b9e\u6218 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-03-03T03:17:19+00:00","dateModified":"2026-03-03T03:17:19+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/79850.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/79850.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/79850.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5d4c\u5165\u5f0fGUI\u5f00\u53d1\u907f\u5751\u6307\u5357\uff1a\u4eceX11\u5230Wayland\u7684\u663e\u793a\u670d\u52a1\u5668\u9009\u62e9\u4e0e\u5b9e\u6218"}]},{"@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\/79850","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=79850"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/79850\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=79850"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=79850"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=79850"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=79850"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}