{"id":81132,"date":"2026-07-25T00:11:41","date_gmt":"2026-07-24T16:11:41","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/81132.html"},"modified":"2026-07-25T00:11:41","modified_gmt":"2026-07-24T16:11:41","slug":"linux-%e6%9c%8d%e5%8a%a1%e5%99%a8%e5%ae%89%e8%a3%85-cc-switch-gui-%e5%b7%a5%e5%85%b7-vnc-%e8%bf%9c%e7%a8%8b%e6%a1%8c%e9%9d%a2%e5%ae%8c%e6%95%b4%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/81132.html","title":{"rendered":"Linux \u670d\u52a1\u5668\u5b89\u88c5 CC Switch GUI \u5de5\u5177 + VNC \u8fdc\u7a0b\u684c\u9762\u5b8c\u6574\u6559\u7a0b"},"content":{"rendered":"<h2>Linux \u670d\u52a1\u5668\u5b89\u88c5 CC Switch GUI \u5de5\u5177 &#043; VNC \u8fdc\u7a0b\u684c\u9762\u5b8c\u6574\u6559\u7a0b<\/h2>\n<h3>\u524d\u8a00<\/h3>\n<p>CC Switch \u662f\u4e00\u6b3e All-in-One \u7684 AI \u52a9\u624b\u542f\u52a8\u5668&#xff0c;\u96c6\u6210\u4e86 Claude Code\u3001Codex \u548c Gemini CLI \u7b49\u5de5\u5177\u3002\u4f46\u5b83\u662f GTK \u56fe\u5f62\u754c\u9762\u7a0b\u5e8f&#xff0c;\u5728\u65e0\u684c\u9762\u73af\u5883\u7684 Linux \u670d\u52a1\u5668\u4e0a\u76f4\u63a5\u8fd0\u884c\u4f1a\u62a5\u9519&#xff1a;<\/p>\n<p>Failed to initialize gtk backend!: BoolError { message: &#034;Failed to initialize GTK&#034; }<\/p>\n<p>\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u5728 Ubuntu 24.04 \u65e0\u684c\u9762\u670d\u52a1\u5668 \u4e0a\u5b89\u88c5 CC Switch&#xff0c;\u5e76\u901a\u8fc7 VNC \u8fdc\u7a0b\u684c\u9762 \u6b63\u5e38\u4f7f\u7528\u5176 GUI \u754c\u9762\u3002<\/p>\n<hr \/>\n<h3>\u73af\u5883\u4fe1\u606f<\/h3>\n<ul>\n<li>\u7cfb\u7edf&#xff1a;Ubuntu 24.04 LTS<\/li>\n<li>\u67b6\u6784&#xff1a;x86_64<\/li>\n<li>\u8f6f\u4ef6&#xff1a;CC Switch v3.15.0<\/li>\n<li>\u72b6\u6001&#xff1a;\u65e0\u56fe\u5f62\u754c\u9762&#xff08;headless \u670d\u52a1\u5668&#xff09;<\/li>\n<\/ul>\n<hr \/>\n<h3>\u4e00\u3001\u4e0b\u8f7d\u5e76\u5b89\u88c5 CC Switch<\/h3>\n<h4>1.1 \u4ece GitHub Release \u4e0b\u8f7d<\/h4>\n<p>CC Switch v3.15.0 \u63d0\u4f9b\u4e86 .deb\u3001.rpm \u548c .AppImage \u4e09\u79cd Linux \u683c\u5f0f\u3002Ubuntu \u7cfb\u7edf\u63a8\u8350\u4f7f\u7528 .deb \u5305&#xff1a;<\/p>\n<p><span class=\"token comment\"># \u4e0b\u8f7d .deb \u5305<\/span><br \/>\n<span class=\"token function\">curl<\/span> <span class=\"token parameter variable\">-L<\/span> <span class=\"token parameter variable\">&#8211;retry<\/span> <span class=\"token number\">3<\/span> &#8211;retry-delay <span class=\"token number\">2<\/span> <span class=\"token punctuation\">\\\\<\/span><br \/>\n  <span class=\"token parameter variable\">-o<\/span> \/tmp\/CC-Switch-v3.15.0-Linux-x86_64.deb <span class=\"token punctuation\">\\\\<\/span><br \/>\n  <span class=\"token string\">&#034;https:\/\/github.com\/farion1231\/cc-switch\/releases\/download\/v3.15.0\/CC-Switch-v3.15.0-Linux-x86_64.deb&#034;<\/span><\/p>\n<p>\u6ce8\u610f&#xff1a;\u5982\u679c\u4e0b\u8f7d\u901f\u5ea6\u6162&#xff0c;\u53ef\u4ee5\u7528 aria2 \u591a\u7ebf\u7a0b\u52a0\u901f&#xff1a;<\/p>\n<p> <span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-y<\/span> aria2<br \/>\naria2c <span class=\"token parameter variable\">-x<\/span> <span class=\"token number\">5<\/span> <span class=\"token parameter variable\">-s<\/span> <span class=\"token number\">5<\/span> <span class=\"token parameter variable\">-o<\/span> \/tmp\/CC-Switch.deb <span class=\"token punctuation\">\\\\<\/span><br \/>\n  <span class=\"token string\">&#034;https:\/\/github.com\/farion1231\/cc-switch\/releases\/download\/v3.15.0\/CC-Switch-v3.15.0-Linux-x86_64.deb&#034;<\/span><\/p>\n<h4>1.2 \u6821\u9a8c\u6587\u4ef6\u5b8c\u6574\u6027&#xff08;\u91cd\u8981&#xff01;&#xff09;<\/h4>\n<p>\u4e0b\u8f7d\u540e\u52a1\u5fc5\u6821\u9a8c SHA256&#xff0c;\u786e\u4fdd\u6587\u4ef6\u672a\u635f\u574f&#xff1a;<\/p>\n<p>sha256sum \/tmp\/CC-Switch-v3.15.0-Linux-x86_64.deb<\/p>\n<p>\u671f\u671b\u8f93\u51fa&#xff1a;a52546365b046a249d59c3d89e55f53b1bd1f081ca7d9742fd6966379e6eef2a<\/p>\n<p>\u5982\u679c\u6821\u9a8c\u548c\u4e0d\u5339\u914d&#xff0c;\u8bf4\u660e\u4e0b\u8f7d\u4e0d\u5b8c\u6574&#xff0c;\u9700\u8981\u91cd\u65b0\u4e0b\u8f7d\u3002<\/p>\n<h4>1.3 \u5b89\u88c5<\/h4>\n<p><span class=\"token function\">sudo<\/span> dpkg <span class=\"token parameter variable\">-i<\/span> \/tmp\/CC-Switch-v3.15.0-Linux-x86_64.deb<\/p>\n<p>\u8fd9\u65f6\u53ef\u80fd\u4f1a\u9047\u5230 \u4f9d\u8d56\u7f3a\u5931 \u9519\u8bef&#xff0c;\u63d0\u793a\u7f3a\u5c11 libayatana-appindicator3-1\u3001libwebkit2gtk-4.1-0\u3001libgtk-3-0 \u7b49\u5305\u3002\u6267\u884c\u81ea\u52a8\u4fee\u590d&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> &#8211;fix-broken <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-y<\/span><\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\u9a8c\u8bc1&#xff1a;<\/p>\n<p>dpkg <span class=\"token parameter variable\">-l<\/span> cc-switch<br \/>\n<span class=\"token function\">which<\/span> cc-switch<\/p>\n<p>\u8f93\u51fa\u5e94\u4e3a&#xff1a;<\/p>\n<p>ii  cc-switch      3.15.0       amd64        All-in-One Assistant for Claude Code, Codex &amp; Gemini CLI<br \/>\n\/usr\/bin\/cc-switch<\/p>\n<hr \/>\n<h3>\u4e8c\u3001\u95ee\u9898&#xff1a;Linux \u670d\u52a1\u5668\u65e0\u6cd5\u8fd0\u884c GUI \u7a0b\u5e8f<\/h3>\n<p>\u76f4\u63a5\u8fd0\u884c\u4f1a\u62a5 GTK \u521d\u59cb\u5316\u9519\u8bef&#xff1a;<\/p>\n<p>cc-switch<\/p>\n<p>\u62a5\u9519&#xff1a;<\/p>\n<p>Failed to initialize gtk backend!: BoolError { message: &#034;Failed to initialize GTK&#034; }<\/p>\n<p>\u8fd9\u662f\u56e0\u4e3a\u670d\u52a1\u5668\u6ca1\u6709\u56fe\u5f62\u663e\u793a\u73af\u5883&#xff08;\u6ca1\u6709\u663e\u793a\u5668\u3001\u6ca1\u6709 X11\/Wayland \u663e\u793a\u670d\u52a1&#xff09;\u3002<\/p>\n<hr \/>\n<h3>\u4e09\u3001\u89e3\u51b3\u65b9\u6848&#xff1a;\u4ece\u7b80\u5355\u5230\u5b8c\u6574<\/h3>\n<h4>\u65b9\u6848 A&#xff1a;Xvfb \u865a\u62df\u663e\u793a&#xff08;\u5feb\u901f\u6d4b\u8bd5&#xff09;<\/h4>\n<p>Xvfb&#xff08;X Virtual Framebuffer&#xff09;\u662f\u4e00\u4e2a\u865a\u62df\u663e\u793a\u670d\u52a1\u5668&#xff0c;\u8ba9 GUI \u7a0b\u5e8f\u80fd\u5728\u65e0\u5c4f\u73af\u5883\u4e0b\u8fd0\u884c\u800c\u4e0d\u5d29\u6e83&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-y<\/span> xvfb<br \/>\nxvfb-run &#8211;auto-servernum cc-switch<\/p>\n<p>\u4f18\u70b9&#xff1a;\u5b89\u88c5\u7b80\u5355&#xff0c;\u4e0d\u62a5\u9519 \u7f3a\u70b9&#xff1a;\u770b\u4e0d\u5230\u754c\u9762&#xff0c;\u65e0\u6cd5\u4ea4\u4e92\u64cd\u4f5c<\/p>\n<p>\u9002\u5408\u53ea\u60f3\u8ba9\u7a0b\u5e8f\u4e0d\u62a5\u9519&#xff0c;\u6216\u7a0b\u5e8f\u53ea\u9700\u8981\u540e\u53f0\u8fd0\u884c\u7684\u60c5\u51b5\u3002<\/p>\n<h4>\u65b9\u6848 B&#xff1a;SSH X11 \u8f6c\u53d1&#xff08;\u9700\u8981\u672c\u5730\u6709\u663e\u793a\u5c4f&#xff09;<\/h4>\n<p>\u5982\u679c\u672c\u5730\u7535\u8111&#xff08;Mac\/Windows\/Linux&#xff09;\u6709\u684c\u9762\u73af\u5883&#xff0c;\u53ef\u4ee5\u901a\u8fc7 SSH X11 \u8f6c\u53d1\u5728\u672c\u5730\u663e\u793a\u8fdc\u7a0b\u7a0b\u5e8f\u7684\u754c\u9762&#xff1a;<\/p>\n<p><span class=\"token comment\"># \u786e\u4fdd\u670d\u52a1\u5668\u5f00\u542f\u4e86 X11Forwarding<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">grep<\/span> X11Forwarding \/etc\/ssh\/sshd_config<br \/>\n<span class=\"token comment\"># \u5e94\u8f93\u51fa: X11Forwarding yes<\/span><\/p>\n<p><span class=\"token comment\"># \u5b89\u88c5\u5fc5\u8981\u7684\u5de5\u5177<\/span><br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-y<\/span> xauth x11-utils<\/p>\n<p><span class=\"token comment\"># \u5728\u672c\u5730\u7684\u7ec8\u7aef&#xff08;\u4e0d\u662f\u670d\u52a1\u5668\u4e0a&#xff09;\u7528 -X \u53c2\u6570\u8fde\u63a5<\/span><br \/>\n<span class=\"token function\">ssh<\/span> <span class=\"token parameter variable\">-X<\/span> heisecaomei&#064;192.168.90.174<br \/>\ncc-switch<\/p>\n<p>\u4f18\u70b9&#xff1a;\u65e0\u9700\u5b89\u88c5\u5b8c\u6574\u684c\u9762\u73af\u5883 \u7f3a\u70b9&#xff1a;<\/p>\n<ul>\n<li>\u5fc5\u987b\u4ece\u672c\u5730\u7535\u8111\u7684\u7ec8\u7aef\u53d1\u8d77 SSH&#xff08;\u4e0d\u652f\u6301 IDE \u5185\u7f6e\u7ec8\u7aef&#xff09;<\/li>\n<li>Windows \u9700\u8981\u989d\u5916\u5b89\u88c5 VcXsrv \u6216 Xming<\/li>\n<li>\u7f51\u7edc\u5ef6\u8fdf\u9ad8\u65f6\u4f53\u9a8c\u8f83\u5dee<\/li>\n<\/ul>\n<h4>\u65b9\u6848 C&#xff1a;VNC \u8fdc\u7a0b\u684c\u9762&#xff08;\u63a8\u8350&#xff09;<\/h4>\n<p>VNC&#xff08;Virtual Network Computing&#xff09;\u5728\u670d\u52a1\u5668\u4e0a\u8fd0\u884c\u5b8c\u6574\u7684\u684c\u9762\u73af\u5883&#xff0c;\u672c\u5730\u7528 VNC \u5ba2\u6237\u7aef\u8fde\u63a5&#xff0c;\u5c31\u50cf\u8fdc\u7a0b\u64cd\u4f5c\u4e00\u53f0\u5e26\u684c\u9762\u7684\u7535\u8111\u3002<\/p>\n<h5>3.1 \u5b89\u88c5 VNC \u670d\u52a1\u5668\u548c\u684c\u9762\u73af\u5883<\/h5>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> <span class=\"token parameter variable\">-y<\/span> tigervnc-standalone-server tigervnc-common xfce4 xfce4-goodies<\/p>\n<p>\u8fd9\u91cc\u9009\u62e9 Xfce \u684c\u9762\u73af\u5883&#xff0c;\u56e0\u4e3a\u5b83\u8f7b\u91cf\u7ea7\u3001\u8d44\u6e90\u5360\u7528\u4f4e&#xff0c;\u5728\u670d\u52a1\u5668\u4e0a\u8fd0\u884c\u975e\u5e38\u5408\u9002\u3002<\/p>\n<h5>3.2 \u8bbe\u7f6e VNC \u5bc6\u7801<\/h5>\n<p>vncpasswd<\/p>\n<p>\u4f1a\u63d0\u793a\u8f93\u5165\u4e24\u6b21\u5bc6\u7801&#xff08;\u5efa\u8bae\u8bbe\u7f6e\u7b80\u5355\u5bc6\u7801\u5982 123456&#xff0c;\u56e0\u4e3a\u662f\u5185\u7f51\u73af\u5883&#xff09;&#xff0c;\u7136\u540e\u95ee\u662f\u5426\u8bbe\u7f6e view-only \u5bc6\u7801&#xff0c;\u9009 n\u3002<\/p>\n<h5>3.3 \u914d\u7f6e VNC \u542f\u52a8\u811a\u672c<\/h5>\n<p>\u521b\u5efa ~\/.vnc\/xstartup&#xff1a;<\/p>\n<p><span class=\"token function\">mkdir<\/span> <span class=\"token parameter variable\">-p<\/span> ~\/.vnc<br \/>\n<span class=\"token function\">cat<\/span> <span class=\"token operator\">&gt;<\/span> ~\/.vnc\/xstartup <span class=\"token operator\">&lt;&lt;<\/span> <span class=\"token string\">&#039;EOF&#039;<br \/>\n#!\/bin\/bash<br \/>\nstartxfce4<br \/>\nEOF<\/span><br \/>\n<span class=\"token function\">chmod<\/span> &#043;x ~\/.vnc\/xstartup<\/p>\n<h5>3.4 \u542f\u52a8 VNC \u670d\u52a1<\/h5>\n<p>vncserver :1 <span class=\"token parameter variable\">-geometry<\/span> 1280&#215;720 <span class=\"token parameter variable\">-localhost<\/span> no<\/p>\n<p>\u53c2\u6570\u8bf4\u660e&#xff1a;<\/p>\n<ul>\n<li>:1 \u2014 \u663e\u793a\u7f16\u53f7&#xff0c;\u5bf9\u5e94\u7aef\u53e3 5901&#xff08;:2 \u5bf9\u5e94 5902&#xff0c;\u4ee5\u6b64\u7c7b\u63a8&#xff09;<\/li>\n<li>-geometry 1280&#215;720 \u2014 \u5206\u8fa8\u7387<\/li>\n<li>-localhost no \u2014 \u5141\u8bb8\u8fdc\u7a0b\u8fde\u63a5<\/li>\n<\/ul>\n<p>\u542f\u52a8\u6210\u529f\u4f1a\u663e\u793a&#xff1a;<\/p>\n<p>New Xtigervnc server &#039;your-server:1 (username)&#039; on port 5901 for display :1.<\/p>\n<p>\u67e5\u770b\u8fd0\u884c\u72b6\u6001&#xff1a;<\/p>\n<p>vncserver <span class=\"token parameter variable\">-list<\/span><\/p>\n<h5>3.5 \u9632\u706b\u5899\u914d\u7f6e<\/h5>\n<p>\u5982\u679c\u670d\u52a1\u5668\u5f00\u542f\u4e86\u9632\u706b\u5899&#xff0c;\u9700\u8981\u653e\u884c VNC \u7aef\u53e3&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> ufw allow <span class=\"token number\">5901<\/span>\/tcp<\/p>\n<h5>3.6 \u672c\u5730\u7535\u8111\u8fde\u63a5 VNC<\/h5>\n<table>\n<tr>\u64cd\u4f5c\u7cfb\u7edf\u5ba2\u6237\u7aef\u8fde\u63a5\u65b9\u6cd5<\/tr>\n<tbody>\n<tr>\n<td>Windows<\/td>\n<td>VNC Viewer<\/td>\n<td>\u8f93\u5165 192.168.90.174:5901<\/td>\n<\/tr>\n<tr>\n<td>macOS<\/td>\n<td>\u81ea\u5e26\u5c4f\u5e55\u5171\u4eab<\/td>\n<td>Finder \u2192 \u524d\u5f80 \u2192 \u8fde\u63a5\u670d\u52a1\u5668 \u2192 vnc:\/\/192.168.90.174:5901<\/td>\n<\/tr>\n<tr>\n<td>Linux<\/td>\n<td>Remmina \/ Vinagre<\/td>\n<td>\u6216\u7ec8\u7aef\u6267\u884c vncviewer 192.168.90.174:5901<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8f93\u5165\u5bc6\u7801&#xff08;\u521a\u624d\u8bbe\u7f6e\u7684 123456&#xff09;\u5373\u53ef\u8fde\u63a5\u5230\u8fdc\u7a0b\u684c\u9762\u3002<\/p>\n<h5>3.7 \u5728 VNC \u684c\u9762\u4e2d\u8fd0\u884c CC Switch<\/h5>\n<p>\u8fde\u63a5\u6210\u529f\u540e&#xff0c;\u5728 Xfce \u684c\u9762\u4e2d\u6253\u5f00\u7ec8\u7aef&#xff1a;<\/p>\n<p>cc-switch<\/p>\n<p>CC Switch \u7684 GTK \u754c\u9762\u5c06\u5728\u8fdc\u7a0b\u684c\u9762\u4e2d\u6b63\u5e38\u663e\u793a&#xff01;<\/p>\n<hr \/>\n<h3>\u56db\u3001\u5e38\u7528\u7ba1\u7406\u547d\u4ee4<\/h3>\n<h4>VNC \u670d\u52a1\u7ba1\u7406<\/h4>\n<p><span class=\"token comment\"># \u542f\u52a8 VNC&#xff08;\u663e\u793a :1&#xff0c;\u5206\u8fa8\u7387 1280&#215;720&#xff09;<\/span><br \/>\nvncserver :1 <span class=\"token parameter variable\">-geometry<\/span> 1280&#215;720 <span class=\"token parameter variable\">-localhost<\/span> no<\/p>\n<p><span class=\"token comment\"># \u505c\u6b62 VNC<\/span><br \/>\nvncserver <span class=\"token parameter variable\">-kill<\/span> :1<\/p>\n<p><span class=\"token comment\"># \u67e5\u770b\u8fd0\u884c\u4e2d\u7684 VNC \u4f1a\u8bdd<\/span><br \/>\nvncserver <span class=\"token parameter variable\">-list<\/span><\/p>\n<p><span class=\"token comment\"># \u4fee\u6539\u5bc6\u7801<\/span><br \/>\nvncpasswd<\/p>\n<h4>\u5f00\u673a\u81ea\u542f<\/h4>\n<p>\u5982\u679c\u5e0c\u671b VNC \u968f\u7cfb\u7edf\u542f\u52a8&#xff0c;\u53ef\u4ee5\u6dfb\u52a0\u5230 crontab&#xff1a;<\/p>\n<p><span class=\"token function\">crontab<\/span> <span class=\"token parameter variable\">-e<\/span><\/p>\n<p>\u6dfb\u52a0\u4e00\u884c&#xff1a;<\/p>\n<p>&#064;reboot \/usr\/bin\/vncserver :1 -geometry 1280&#215;720 -localhost no<\/p>\n<hr \/>\n<h3>\u4e94\u3001\u5e38\u89c1\u95ee\u9898<\/h3>\n<h4>Q1&#xff1a;VNC \u8fde\u63a5\u540e\u53ea\u6709\u7070\u8272\u80cc\u666f\/\u5149\u6807<\/h4>\n<p>\u901a\u5e38\u662f ~\/.vnc\/xstartup \u914d\u7f6e\u6709\u95ee\u9898\u3002\u68c0\u67e5\u542f\u52a8\u65e5\u5fd7&#xff1a;<\/p>\n<p><span class=\"token function\">cat<\/span> ~\/.vnc\/*.log<\/p>\n<p>\u786e\u4fdd xstartup \u6587\u4ef6\u6709\u6267\u884c\u6743\u9650\u4e14\u5185\u5bb9\u6b63\u786e\u3002<\/p>\n<h4>Q2&#xff1a;VNC \u542f\u52a8\u62a5 \u201cexited too early\u201d<\/h4>\n<p>\u684c\u9762\u542f\u52a8\u811a\u672c\u6267\u884c\u8fc7\u5feb\u9000\u51fa\u3002\u5c1d\u8bd5\u5728 xstartup \u672b\u5c3e\u52a0\u4e00\u4e2a sleep&#xff1a;<\/p>\n<p><span class=\"token shebang important\">#!\/bin\/bash<\/span><br \/>\nstartxfce4 <span class=\"token operator\">&amp;<\/span><br \/>\n<span class=\"token function\">sleep<\/span> <span class=\"token number\">5<\/span><\/p>\n<h4>Q3&#xff1a;cc-switch &#8211;help \u6ca1\u8f93\u51fa<\/h4>\n<p>CC Switch \u662f GUI \u7a0b\u5e8f&#xff0c;\u5e2e\u52a9\u4fe1\u606f\u4ee5\u5f39\u7a97\u5f62\u5f0f\u663e\u793a&#xff0c;\u4e0d\u4f1a\u8f93\u51fa\u5230\u7ec8\u7aef\u3002\u7528 VNC \u8fde\u63a5\u540e\u542f\u52a8\u5c31\u80fd\u770b\u5230\u3002<\/p>\n<h4>Q4&#xff1a;\u4e0b\u8f7d\u7684 .deb \u5b89\u88c5\u62a5 gzip \u9519\u8bef<\/h4>\n<p>\u6587\u4ef6\u635f\u574f\u3002\u7528 sha256sum \u6821\u9a8c&#xff0c;\u4e0d\u5339\u914d\u5c31\u91cd\u65b0\u4e0b\u8f7d\u3002<\/p>\n<hr \/>\n<h3>\u603b\u7ed3<\/h3>\n<table>\n<tr>\u65b9\u6848\u5b89\u88c5\u590d\u6742\u5ea6\u53ef\u7528\u6027\u63a8\u8350\u573a\u666f<\/tr>\n<tbody>\n<tr>\n<td>Xvfb<\/td>\n<td>\u2b50 \u7b80\u5355<\/td>\n<td>\u274c \u65e0\u754c\u9762<\/td>\n<td>\u4ec5\u8ba9\u7a0b\u5e8f\u4e0d\u5d29\u6e83<\/td>\n<\/tr>\n<tr>\n<td>SSH X11<\/td>\n<td>\u2b50\u2b50 \u4e2d\u7b49<\/td>\n<td>\u26a0\ufe0f \u4f9d\u8d56\u672c\u5730\u73af\u5883<\/td>\n<td>\u672c\u5730\u6709 Linux\/Mac \u684c\u9762<\/td>\n<\/tr>\n<tr>\n<td>VNC<\/td>\n<td>\u2b50\u2b50\u2b50 \u7a0d\u590d\u6742<\/td>\n<td>\u2705 \u5b8c\u6574\u53ef\u7528<\/td>\n<td>\u5f3a\u70c8\u63a8\u8350<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Linux \u670d\u52a1\u5668\u867d\u7136\u9ed8\u8ba4\u6ca1\u6709\u684c\u9762\u73af\u5883&#xff0c;\u4f46\u901a\u8fc7 VNC &#043; \u8f7b\u91cf\u7ea7\u684c\u9762&#xff08;\u5982 Xfce&#xff09;\u7684\u7ec4\u5408&#xff0c;\u5b8c\u5168\u53ef\u4ee5\u8fd0\u884c GUI \u7a0b\u5e8f\u3002\u5bf9\u4e8e CC Switch \u8fd9\u7c7b\u9700\u8981\u56fe\u5f62\u754c\u9762\u7684 AI \u5de5\u5177&#xff0c;VNC \u662f\u6700\u63a8\u8350\u7684\u65b9\u6848\u3002<\/p>\n<hr \/>\n<p>\u672c\u6587\u64cd\u4f5c\u5728 Ubuntu 24.04 LTS &#043; CC Switch v3.15.0 &#043; TigerVNC &#043; Xfce4 \u73af\u5883\u4e0b\u9a8c\u8bc1\u901a\u8fc7\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux \u670d\u52a1\u5668\u5b89\u88c5 CC Switch GUI \u5de5\u5177  VNC \u8fdc\u7a0b\u684c\u9762\u5b8c\u6574\u6559\u7a0b<br \/>\n\u524d\u8a00<br \/>\nCC Switch \u662f\u4e00\u6b3e All-in-One \u7684 AI \u52a9\u624b\u542f\u52a8\u5668&#xff0c;\u96c6\u6210\u4e86 Claude Code\u3001Codex \u548c Gemini CLI \u7b49\u5de5\u5177\u3002\u4f46\u5b83\u662f GTK \u56fe\u5f62\u754c\u9762\u7a0b\u5e8f&#xff0c;\u5728\u65e0\u684c\u9762\u73af\u5883\u7684 Linux \u670d\u52a1\u5668\u4e0a\u76f4\u63a5\u8fd0\u884c\u4f1a\u62a5\u9519&#xff1a;<br \/>\nFailed to initialize gtk backend!: BoolError { messag<\/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":[9098,58,43,44],"topic":[],"class_list":["post-81132","post","type-post","status-publish","format-standard","hentry","category-server","tag-it","tag-linux","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>Linux \u670d\u52a1\u5668\u5b89\u88c5 CC Switch GUI \u5de5\u5177 + VNC \u8fdc\u7a0b\u684c\u9762\u5b8c\u6574\u6559\u7a0b - \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\/81132.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linux \u670d\u52a1\u5668\u5b89\u88c5 CC Switch GUI \u5de5\u5177 + VNC \u8fdc\u7a0b\u684c\u9762\u5b8c\u6574\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"Linux \u670d\u52a1\u5668\u5b89\u88c5 CC Switch GUI \u5de5\u5177 VNC \u8fdc\u7a0b\u684c\u9762\u5b8c\u6574\u6559\u7a0b \u524d\u8a00 CC Switch \u662f\u4e00\u6b3e All-in-One \u7684 AI \u52a9\u624b\u542f\u52a8\u5668&#xff0c;\u96c6\u6210\u4e86 Claude Code\u3001Codex \u548c Gemini CLI \u7b49\u5de5\u5177\u3002\u4f46\u5b83\u662f GTK \u56fe\u5f62\u754c\u9762\u7a0b\u5e8f&#xff0c;\u5728\u65e0\u684c\u9762\u73af\u5883\u7684 Linux \u670d\u52a1\u5668\u4e0a\u76f4\u63a5\u8fd0\u884c\u4f1a\u62a5\u9519&#xff1a; Failed to initialize gtk backend!: BoolError { messag\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/81132.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-24T16:11:41+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\/81132.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/81132.html\",\"name\":\"Linux \u670d\u52a1\u5668\u5b89\u88c5 CC Switch GUI \u5de5\u5177 + VNC \u8fdc\u7a0b\u684c\u9762\u5b8c\u6574\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-24T16:11:41+00:00\",\"dateModified\":\"2026-07-24T16:11:41+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/81132.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/81132.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/81132.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux \u670d\u52a1\u5668\u5b89\u88c5 CC Switch GUI \u5de5\u5177 + VNC \u8fdc\u7a0b\u684c\u9762\u5b8c\u6574\u6559\u7a0b\"}]},{\"@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":"Linux \u670d\u52a1\u5668\u5b89\u88c5 CC Switch GUI \u5de5\u5177 + VNC \u8fdc\u7a0b\u684c\u9762\u5b8c\u6574\u6559\u7a0b - \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\/81132.html","og_locale":"zh_CN","og_type":"article","og_title":"Linux \u670d\u52a1\u5668\u5b89\u88c5 CC Switch GUI \u5de5\u5177 + VNC \u8fdc\u7a0b\u684c\u9762\u5b8c\u6574\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"Linux \u670d\u52a1\u5668\u5b89\u88c5 CC Switch GUI \u5de5\u5177 VNC \u8fdc\u7a0b\u684c\u9762\u5b8c\u6574\u6559\u7a0b \u524d\u8a00 CC Switch \u662f\u4e00\u6b3e All-in-One \u7684 AI \u52a9\u624b\u542f\u52a8\u5668&#xff0c;\u96c6\u6210\u4e86 Claude Code\u3001Codex \u548c Gemini CLI \u7b49\u5de5\u5177\u3002\u4f46\u5b83\u662f GTK \u56fe\u5f62\u754c\u9762\u7a0b\u5e8f&#xff0c;\u5728\u65e0\u684c\u9762\u73af\u5883\u7684 Linux \u670d\u52a1\u5668\u4e0a\u76f4\u63a5\u8fd0\u884c\u4f1a\u62a5\u9519&#xff1a; Failed to initialize gtk backend!: BoolError { messag","og_url":"https:\/\/www.wsisp.com\/helps\/81132.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-24T16:11:41+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\/81132.html","url":"https:\/\/www.wsisp.com\/helps\/81132.html","name":"Linux \u670d\u52a1\u5668\u5b89\u88c5 CC Switch GUI \u5de5\u5177 + VNC \u8fdc\u7a0b\u684c\u9762\u5b8c\u6574\u6559\u7a0b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-24T16:11:41+00:00","dateModified":"2026-07-24T16:11:41+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/81132.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/81132.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/81132.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Linux \u670d\u52a1\u5668\u5b89\u88c5 CC Switch GUI \u5de5\u5177 + VNC \u8fdc\u7a0b\u684c\u9762\u5b8c\u6574\u6559\u7a0b"}]},{"@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\/81132","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=81132"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/81132\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=81132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=81132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=81132"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=81132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}