{"id":3786,"date":"2019-07-12T21:08:31","date_gmt":"2019-07-12T13:08:31","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=3786"},"modified":"2022-05-11T18:24:28","modified_gmt":"2022-05-11T10:24:28","slug":"startx","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/startx","title":{"rendered":"startx\u547d\u4ee4 – \u521d\u59cb\u5316X-windows\u7cfb\u7edf"},"content":{"rendered":"\n

startx\u547d\u4ee4\u6765\u81ea\u4e8e\u82f1\u6587\u8bcd\u7ec4\u201dstart X-windows\u201c\u7684\u7f29\u5199\uff0c\u5176\u529f\u80fd\u662f\u7528\u4e8e\u542f\u52a8X-Windows\u7cfb\u7edf\u3002X-Windows System\u4e5f\u88ab\u79f0\u4e3aX\u6216X11\uff0c\u4e2d\u6587\u8bd1\u4e3aX\u7a97\u53e3\u7cfb\u7edf\uff0c\u4e3b\u8981\u5de5\u4f5c\u5c31\u662f\u4ee5\u56fe\u5f62\u65b9\u5f0f\u663e\u793a\u8f6f\u4ef6\u7a97\u53e3\u7684\u7cfb\u7edf\uff0c\u73b0\u5728\u7684GNOME\u548cKDE\u684c\u9762\u73af\u5883\u90fd\u662f\u4ee5X\u7a97\u53e3\u7cfb\u7edf\u4e3a\u57fa\u7840\u6784\u5efa\u6210\u7684\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>startx [\u53c2\u6570]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

— -depth <\u6570\u5b57><\/td>\u6307\u5b9a\u989c\u8272\u6df1\u5ea6<\/td><\/tr>
-m<\/td>\u5f53\u672a\u627e\u5230\u542f\u52a8\u811a\u672c\u65f6\uff0c\u542f\u52a8\u7a97\u53e3\u7ba1\u7406\u5668<\/td><\/tr>
-r<\/td>\u5f53\u672a\u627e\u5230\u542f\u52a8\u811a\u672c\u65f6\uff0c\u88c5\u5165\u8d44\u6e90\u6587\u4ef6<\/td><\/tr>
-w<\/td>\u5f3a\u5236\u542f\u52a8<\/td><\/tr>
-x<\/td>\u4f7f\u7528startup\u811a\u672c\u542f\u52a8X-windows\u4f1a\u8bdd<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u4ee5\u9ed8\u8ba4\u65b9\u5f0f\u521d\u59cb\u5316\u542f\u52a8X\u7a97\u53e3\u7cfb\u7edf\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# startx<\/strong>\nX.Org X Server 1.20.3\nX Protocol Version 11, Revision 0\nBuild Operating System:  4.14.0-49.el7a.noaead.x86_64 \nCurrent Operating System: Linux linuxcool.com 4.18.0-80.el8.x86_64 #1 SMP Wed Mar 13 12:02:46 UTC 2019 x86_64\n\u2026\u2026\u2026\u2026\u2026\u2026\u7701\u7565\u90e8\u5206\u8f93\u51fa\u4fe1\u606f\u2026\u2026\u2026\u2026\u2026\u2026<\/pre>\n\n\n\n

\u6307\u5b9a\u4ee516\u4f4d\u989c\u8272\u6df1\u5ea6\u542f\u52a8X\u7a97\u53e3\u7cfb\u7edf\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# startx -- -depth 16<\/strong>\nX.Org X Server 1.20.3\nX Protocol Version 11, Revision 0\nBuild Operating System:  4.14.0-49.el7a.noaead.x86_64 \nCurrent Operating System: Linux linuxcool.com 4.18.0-80.el8.x86_64 #1 SMP Wed Mar 13 12:02:46 UTC 2019 x86_64\n\u2026\u2026\u2026\u2026\u2026\u2026\u7701\u7565\u90e8\u5206\u8f93\u51fa\u4fe1\u606f\u2026\u2026\u2026\u2026\u2026\u2026<\/pre>\n\n\n\n

\u5f3a\u5236\u542f\u52a8X\u7a97\u53e3\u7cfb\u7edf\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# startx -w<\/strong>\nX.Org X Server 1.20.3\nX Protocol Version 11, Revision 0\nBuild Operating System:  4.14.0-49.el7a.noaead.x86_64 \nCurrent Operating System: Linux linuxcool.com 4.18.0-80.el8.x86_64 #1 SMP Wed Mar 13 12:02:46 UTC 2019 x86_64\n\u2026\u2026\u2026\u2026\u2026\u2026\u7701\u7565\u90e8\u5206\u8f93\u51fa\u4fe1\u606f\u2026\u2026\u2026\u2026\u2026\u2026\n<\/pre>\n","protected":false},"excerpt":{"rendered":"

startx\u547d\u4ee4\u6765\u81ea\u4e8e\u82f1\u6587\u8bcd\u7ec4\u201dstart X-windows\u201c\u7684\u7f29\u5199\uff0c\u5176\u529f\u80fd\u662f\u7528\u4e8e\u542f\u52a8X-Windows\u7cfb\u7edf […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3786"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=3786"}],"version-history":[{"count":10,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3786\/revisions"}],"predecessor-version":[{"id":9532,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3786\/revisions\/9532"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=3786"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=3786"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=3786"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}