{"id":9731,"date":"2024-09-16T07:59:06","date_gmt":"2024-09-15T23:59:06","guid":{"rendered":"http:\/\/999.zuizhuai.cn\/?p=9731"},"modified":"2024-09-16T07:59:06","modified_gmt":"2024-09-15T23:59:06","slug":"%e9%85%8d%e7%bd%ae%e8%bd%bb%e9%87%8f%e7%ba%a7%e5%9b%be%e5%bd%a2%e7%94%a8%e6%88%b7%e7%95%8c%e9%9d%a2%e7%9a%84vnc%e6%9c%8d%e5%8a%a1%e5%99%a8","status":"publish","type":"post","link":"http:\/\/puo.cn\/?p=9731","title":{"rendered":"\u914d\u7f6e\u8f7b\u91cf\u7ea7\u56fe\u5f62\u7528\u6237\u754c\u9762\u7684VNC\u670d\u52a1\u5668"},"content":{"rendered":"<section style=\"margin-bottom: 0px;letter-spacing: 0.578px;text-indent: 0em;text-align: center\"><span style=\"font-size: 20px\"><strong>\u529f\u80fd\u4ecb\u7ecd<\/strong><\/span><\/section>\n<section style=\"letter-spacing: 0.578px;text-indent: 0em;text-align: center;line-height: normal\"><span style=\"font-size: 20px;letter-spacing: 1px\"><strong><span style=\"letter-spacing: normal\"><strong style=\"letter-spacing: 1px\"><strong><span style=\"letter-spacing: normal\"><strong style=\"letter-spacing: 1px\"><strong><span style=\"letter-spacing: normal\">\u2014<\/span><\/strong><\/strong><\/span><strong><span style=\"letter-spacing: normal\"><strong style=\"letter-spacing: 1px\"><span style=\"letter-spacing: normal\"><strong style=\"letter-spacing: 1px\"><strong><strong><span style=\"letter-spacing: normal\"><strong style=\"letter-spacing: 1px\"><span style=\"letter-spacing: normal\">\u2014<\/span><\/strong><\/span><\/strong><\/strong><\/strong><strong style=\"letter-spacing: 1px\"><span style=\"letter-spacing: normal\"><strong style=\"letter-spacing: 1px\"><strong><span style=\"letter-spacing: normal\"><strong style=\"font-size: 20px;letter-spacing: 1px;text-align: center\"><span style=\"letter-spacing: normal\"><strong style=\"letter-spacing: 1px\"><strong><span style=\"letter-spacing: normal\">\u2014<\/span><\/strong><\/strong><\/span><strong style=\"font-size: 20px;letter-spacing: 1px;text-align: center\"><span style=\"letter-spacing: normal\"><strong style=\"letter-spacing: 1px\"><strong><span style=\"letter-spacing: normal\">\u2014<\/span><\/strong><\/strong><\/span><\/strong><\/strong><\/span><\/strong><\/strong><\/span><strong><span style=\"letter-spacing: normal\"><strong style=\"letter-spacing: 1px\"><strong><span style=\"letter-spacing: normal\">\u2014<\/span><\/strong><\/strong><\/span><\/strong><\/strong><\/span><\/strong><\/span><\/strong><\/strong><\/strong><\/span><\/strong><\/span><\/section>\n<section>VNC\u670d\u52a1\u5668\u662f\u4e00\u79cd\u8fdc\u7a0b\u684c\u9762\u63a7\u5236\u8f6f\u4ef6\uff0c\u5b83\u5141\u8bb8\u7528\u6237\u901a\u8fc7\u7f51\u7edc\u8fde\u63a5\u63a7\u5236\u8fdc\u7a0b\u8ba1\u7b97\u673a\u3002VNC\u662fVirtual Network Computing\uff08\u865a\u62df\u7f51\u7edc\u8ba1\u7b97\uff09\u7684\u7f29\u5199\uff0c\u5b83\u57fa\u4e8e\u8fdc\u7a0b\u684c\u9762\u534f\u8bae\uff08RFB\uff09\uff0c\u53ef\u4ee5\u5728\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u7684\u8ba1\u7b97\u673a\u4e4b\u95f4\u5b9e\u73b0\u8fdc\u7a0b\u8bbf\u95ee\u548c\u63a7\u5236\u3002<\/section>\n<section><\/section>\n<p><strong>\u57fa\u672c\u6982\u8ff0<\/strong><\/p>\n<ul class=\"list-paddingleft-1\" style=\"list-style-type: disc\">\n<li>\u5b9a\u4e49\uff1aVNC\u670d\u52a1\u5668\u662f\u4e00\u79cd\u8fdc\u7a0b\u684c\u9762\u534f\u8bae\uff08Remote Desktop Protocol\uff0c\u7b80\u79f0RDP\uff09\uff0c\u53ef\u4ee5\u5728\u7f51\u7edc\u4e0a\u63d0\u4f9b\u865a\u62df\u684c\u9762\uff0c\u4f7f\u5f97\u7528\u6237\u53ef\u4ee5\u5728\u8fdc\u7a0b\u8bbf\u95ee\u670d\u52a1\u5668\u4e0a\u7684\u684c\u9762\u73af\u5883\u3002<\/li>\n<li>\n<section style=\"margin-bottom: 24px\">\u5de5\u4f5c\u539f\u7406\uff1aVNC\u670d\u52a1\u5668\u7684\u5de5\u4f5c\u539f\u7406\u662f\u5c06\u56fe\u5f62\u754c\u9762\u7684\u4fe1\u606f\u4ece\u670d\u52a1\u5668\u53d1\u9001\u5230\u5ba2\u6237\u7aef\uff0c\u7136\u540e\u5ba2\u6237\u7aef\u5c06\u7528\u6237\u7684\u8f93\u5165\u4f20\u56de\u670d\u52a1\u5668\u3002\u8fd9\u6837\uff0c\u7528\u6237\u5c31\u53ef\u4ee5\u5728\u81ea\u5df1\u7684\u8ba1\u7b97\u673a\u4e0a\u5b9e\u65f6\u67e5\u770b\u548c\u64cd\u4f5c\u8fdc\u7a0b\u8ba1\u7b97\u673a\u7684\u5c4f\u5e55\uff0c\u5c31\u50cf\u76f4\u63a5\u5728\u8fdc\u7a0b\u8ba1\u7b97\u673a\u4e0a\u5de5\u4f5c\u4e00\u6837\u3002<\/section>\n<\/li>\n<\/ul>\n<p><strong>\u670d\u52a1\u5668\u7279\u70b9<\/strong><\/p>\n<ul class=\"list-paddingleft-1\" style=\"list-style-type: disc\">\n<li>\u8de8\u5e73\u53f0\u4f7f\u7528\uff1aVNC\u670d\u52a1\u5668\u5177\u6709\u8de8\u5e73\u53f0\u517c\u5bb9\u6027\uff0c\u53ef\u4ee5\u5728Windows\u3001Mac\u3001Linux\u548c\u5176\u4ed6\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u8fd0\u884c\u3002\u8fd9\u610f\u5473\u7740\u7528\u6237\u65e0\u8bba\u4f7f\u7528\u4ec0\u4e48\u64cd\u4f5c\u7cfb\u7edf\uff0c\u90fd\u53ef\u4ee5\u901a\u8fc7VNC\u5ba2\u6237\u7aef\u8fde\u63a5\u5230\u5176\u4ed6\u8ba1\u7b97\u673a\u7684VNC\u670d\u52a1\u5668\u3002<\/li>\n<li>\u652f\u6301\u97f3\u9891\u548c\u89c6\u9891\u6d41\uff1aVNC\u670d\u52a1\u5668\u652f\u6301\u97f3\u9891\u548c\u89c6\u9891\u6d41\uff0c\u4f7f\u5f97\u7528\u6237\u53ef\u4ee5\u5728\u8fdc\u7a0b\u8bbf\u95ee\u670d\u52a1\u5668\u65f6\uff0c\u4eab\u53d7\u4e0e\u672c\u5730\u684c\u9762\u76f8\u540c\u7684\u97f3\u9891\u548c\u89c6\u9891\u4f53\u9a8c\u3002<\/li>\n<li>\u9ad8\u5ea6\u53ef\u5b9a\u5236\uff1aVNC\u670d\u52a1\u5668\u901a\u5e38\u63d0\u4f9b\u8bb8\u591a\u914d\u7f6e\u9009\u9879\uff0c\u5141\u8bb8\u7528\u6237\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u8fdb\u884c\u5b9a\u5236\u3002\u7528\u6237\u53ef\u4ee5\u8c03\u6574\u56fe\u50cf\u8d28\u91cf\u3001\u5c4f\u5e55\u5206\u8fa8\u7387\u3001\u989c\u8272\u6df1\u5ea6\u7b49\u53c2\u6570\uff0c\u4ee5\u4f18\u5316\u8fdc\u7a0b\u8bbf\u95ee\u7684\u6027\u80fd\u548c\u4f53\u9a8c\u3002<\/li>\n<li>\n<section style=\"margin-bottom: 24px\">\u5b89\u5168\u6027\u9ad8\uff1aVNC\u670d\u52a1\u5668\u4f7f\u7528SSL\/TLS\u534f\u8bae\u6765\u8fdb\u884c\u52a0\u5bc6\u901a\u4fe1\uff0c\u4fdd\u8bc1\u7528\u6237\u5728\u8fdc\u7a0b\u8bbf\u95ee\u65f6\uff0c\u6570\u636e\u4f20\u8f93\u7684\u5b89\u5168\u6027\u3002\u6b64\u5916\uff0c\u7528\u6237\u8fd8\u53ef\u4ee5\u8bbe\u7f6e\u5bc6\u7801\u6765\u4fdd\u62a4\u4ed6\u4eec\u7684\u8fdc\u7a0b\u8fde\u63a5\uff0c\u5e76\u9650\u5236\u7279\u5b9a\u7528\u6237\u6216IP\u5730\u5740\u7684\u8bbf\u95ee\u3002<\/section>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><strong>\u670d\u52a1\u5668\u7ec4\u6210<\/strong><\/p>\n<ul class=\"list-paddingleft-1\" style=\"list-style-type: disc\">\n<li>VNC\u670d\u52a1\u5668\uff1a\u5b89\u88c5\u5728\u8fdc\u7a0b\u8ba1\u7b97\u673a\u4e0a\uff0c\u8d1f\u8d23\u63a5\u53d7\u6765\u81ea\u5ba2\u6237\u7aef\u7684\u8fde\u63a5\u8bf7\u6c42\uff0c\u5e76\u5c06\u56fe\u5f62\u754c\u9762\u7684\u4fe1\u606f\u53d1\u9001\u7ed9\u5ba2\u6237\u7aef\u3002<\/li>\n<li>\n<section style=\"margin-bottom: 24px\">VNC\u5ba2\u6237\u7aef\uff1a\u5b89\u88c5\u5728\u672c\u5730\u8ba1\u7b97\u673a\u4e0a\uff0c\u7528\u6237\u901a\u8fc7\u5b83\u8fde\u63a5\u5230\u8fdc\u7a0b\u8ba1\u7b97\u673a\uff0c\u5e76\u8fdb\u884c\u63a7\u5236\u64cd\u4f5c\u3002<\/section>\n<\/li>\n<\/ul>\n<p><strong>\u5e94\u7528\u573a\u666f<\/strong><\/p>\n<ul class=\"list-paddingleft-1\" style=\"list-style-type: disc\">\n<li>VNC\u670d\u52a1\u5668\u5e7f\u6cdb\u5e94\u7528\u4e8e\u8fdc\u7a0b\u6280\u672f\u652f\u6301\u3001\u8fdc\u7a0b\u529e\u516c\u3001\u670d\u52a1\u5668\u7ba1\u7406\u3001\u6559\u5b66\u548c\u5bb6\u5ead\u529e\u516c\u7b49\u9886\u57df\u3002<\/li>\n<li>\n<section style=\"margin-bottom: 24px\">\u4f8b\u5982\uff0cIT\u4eba\u5458\u53ef\u4ee5\u4f7f\u7528VNC\u8fdc\u7a0b\u767b\u5f55\u5230\u670d\u52a1\u5668\u8fdb\u884c\u6545\u969c\u6392\u67e5\uff1b\u6559\u5e08\u53ef\u4ee5\u901a\u8fc7VNC\u8fdc\u7a0b\u63a7\u5236\u5b66\u751f\u8ba1\u7b97\u673a\u8fdb\u884c\u6559\u5b66\u6f14\u793a\uff1b\u5458\u5de5\u53ef\u4ee5\u5728\u5bb6\u4e2d\u901a\u8fc7VNC\u8fdc\u7a0b\u8bbf\u95ee\u516c\u53f8\u8ba1\u7b97\u673a\u8fdb\u884c\u529e\u516c\u7b49\u3002<\/section>\n<\/li>\n<\/ul>\n<p style=\"margin-bottom: 0px;letter-spacing: 0.578px;text-indent: 0em;text-align: center;margin-top: 24px\"><span style=\"font-size: 20px\"><strong>\u5b89\u88c5\u6559\u7a0b<\/strong><\/span><\/p>\n<section style=\"letter-spacing: 0.578px;text-indent: 0em;text-align: center;line-height: normal\"><span style=\"font-size: 20px;letter-spacing: 1px\"><strong><span style=\"letter-spacing: normal\"><strong style=\"letter-spacing: 1px\"><strong><span style=\"letter-spacing: normal\"><strong style=\"letter-spacing: 1px\"><strong><span style=\"letter-spacing: normal\">\u2014<\/span><\/strong><\/strong><\/span><strong><span style=\"letter-spacing: normal\"><strong style=\"letter-spacing: 1px\"><span style=\"letter-spacing: normal\"><strong style=\"letter-spacing: 1px\"><strong><strong><span style=\"letter-spacing: normal\"><strong style=\"letter-spacing: 1px\"><span style=\"letter-spacing: normal\">\u2014<\/span><\/strong><\/span><\/strong><\/strong><\/strong>\u2014<strong style=\"letter-spacing: 1px\"><span style=\"letter-spacing: normal\"><strong style=\"letter-spacing: 1px\"><strong><span style=\"letter-spacing: normal\">\u2014<\/span><\/strong><\/strong><\/span><strong><span style=\"letter-spacing: normal\"><strong style=\"letter-spacing: 1px\"><strong><span style=\"letter-spacing: normal\">\u2014<\/span><\/strong><\/strong><\/span><\/strong><\/strong><\/span><\/strong><\/span><\/strong><\/strong><\/strong><\/span><\/strong><\/span><\/section>\n<p><span style=\", arial, sans-serif;text-indent: 34px;letter-spacing: 0.578px;font-size: 17px\"><span style=\"font-size: 17px;, arial, sans-serif;letter-spacing: 0.578px;text-indent: 2em\">\u4ee5Centos7\u4e3a\u4f8b\uff0c\u5b89\u88c5\u6b65\u9aa4\u5982\u4e0b\uff1a<\/span><\/span><\/p>\n<p><span style=\", arial, sans-serif;text-indent: 34px;letter-spacing: 0.578px;font-size: 17px\"><strong style=\", arial, sans-serif;font-size: 16px;letter-spacing: 0.544px\"><span style=\"font-size: 17px;, arial, sans-serif;letter-spacing: 0.578px;text-indent: 2em\">| <\/span><\/strong><strong style=\", arial, sans-serif;font-size: 16px;letter-spacing: 0.544px\"><span style=\"font-size: 17px;, arial, sans-serif;letter-spacing: 0.578px;text-indent: 2em\">\u5b89\u88c5TigerVNC<\/span><\/strong><\/span><\/p>\n<section data-tool=\"mdx editor\" data-website=\"https:\/\/editor.runjs.cool\/\">\n<section style=\"line-height: 2em;padding-right: 12px;padding-left: 12px;letter-spacing: 0px;text-align: left\" data-tool=\"mdx \u7f16\u8f91\u5668\" data-website=\"https:\/\/editor.runjs.cool\/\">\n<section style=\"justify-content: space-between;align-items: center;font-size: 12px;height: 30px;line-height: 30px\"><\/section>\n<pre style=\", consolas, monaco, menlo, monospace;overflow: auto;line-height: 1.75\" data-title=\"true\"><code style=\"float: left;background-image: initial;background-position: initial;background-size: initial;background-repeat: initial;background-attachment: initial;, monospace;line-height: 1.5;letter-spacing: 0.2px;min-width: 100%;font-size: 12px;flex: 0 0 auto;padding-right: 12px;padding-bottom: 12px;padding-left: 12px;max-width: unset\" data-line=\"3\"><span style=\"padding-left: 16px;padding-right: 16px;margin-left: -16px;margin-right: -16px;font-size: 15px\">sudo yum install tigervnc<span style=\"font-size: 15px;background: transparent\">-<\/span>server\n<\/span><\/code><\/pre>\n<\/section>\n<\/section>\n<p><span style=\"font-size: var(--articleFontsize);letter-spacing: 0.034em;text-align: center\"><strong style=\", arial, sans-serif;text-indent: 34px;font-size: 16px;letter-spacing: 0.544px\"><span style=\"font-size: 17px;letter-spacing: 0.578px;text-indent: 2em\">|\u00a0<\/span><\/strong><strong style=\", arial, sans-serif;text-indent: 34px;font-size: 16px;letter-spacing: 0.544px\"><span style=\"font-size: 17px;letter-spacing: 0.578px;text-indent: 2em\">\u521b\u5efa\u7528\u6237<\/span><\/strong><\/span><\/p>\n<section data-tool=\"mdx editor\" data-website=\"https:\/\/editor.runjs.cool\/\">\n<section style=\"line-height: 2em;padding-right: 12px;padding-left: 12px;letter-spacing: 0px;text-align: left\" data-tool=\"mdx \u7f16\u8f91\u5668\" data-website=\"https:\/\/editor.runjs.cool\/\">\n<section style=\"justify-content: space-between;align-items: center;font-size: 12px;height: 30px;line-height: 30px\"><\/section>\n<pre style=\", consolas, monaco, menlo, monospace;overflow: auto;line-height: 1.75\" data-title=\"true\"><code style=\"float: left;background-image: initial;background-position: initial;background-size: initial;background-repeat: initial;background-attachment: initial;, monospace;line-height: 1.5;letter-spacing: 0.2px;min-width: 100%;font-size: 12px;flex: 0 0 auto;padding-right: 12px;padding-bottom: 12px;padding-left: 12px;max-width: unset\" data-line=\"3\"><span style=\"padding-left: 16px;padding-right: 16px;margin-left: -16px;margin-right: -16px\"><span style=\"padding-left: 16px;padding-right: 16px;margin-left: -16px;margin-right: -16px;font-size: 15px\">sudo adduser vncuser<\/span><\/span><\/code><\/pre>\n<\/section>\n<\/section>\n<p><strong style=\"text-align: center;, arial, sans-serif;text-indent: 34px;font-size: 16px;letter-spacing: 0.544px\"><span style=\"font-size: 17px;letter-spacing: 0.578px;text-indent: 2em\">|\u00a0<\/span><\/strong><strong style=\"text-align: center;, arial, sans-serif;text-indent: 34px;font-size: 16px;letter-spacing: 0.544px\"><span style=\"font-size: 17px;letter-spacing: 0.578px;text-indent: 2em\">\u8bbe\u7f6e\u7528\u6237\u5bc6\u7801<\/span><\/strong><\/p>\n<section data-tool=\"mdx editor\" data-website=\"https:\/\/editor.runjs.cool\/\">\n<section style=\"line-height: 2em;padding-right: 12px;padding-left: 12px;letter-spacing: 0px;text-align: left\" data-tool=\"mdx \u7f16\u8f91\u5668\" data-website=\"https:\/\/editor.runjs.cool\/\">\n<section style=\"justify-content: space-between;align-items: center;font-size: 12px;height: 30px;line-height: 30px\"><\/section>\n<pre style=\", consolas, monaco, menlo, monospace;overflow: auto;line-height: 1.75\" data-title=\"true\"><code style=\"float: left;background-image: initial;background-position: initial;background-size: initial;background-repeat: initial;background-attachment: initial;, monospace;line-height: 1.5;letter-spacing: 0.2px;min-width: 100%;font-size: 12px;flex: 0 0 auto;padding-right: 12px;padding-bottom: 12px;padding-left: 12px;max-width: unset\" data-line=\"3\"><span style=\"padding-left: 16px;padding-right: 16px;margin-left: -16px;margin-right: -16px;font-size: 15px\">sudo passwd vncuser\n<\/span><\/code><\/pre>\n<\/section>\n<\/section>\n<p>\u521b\u5efa\u7528\u6237vncuser\u5e76\u8bbe\u7f6e\u767b\u5f55\u5bc6\u7801<strong>\uff08u6giB2jJx9\uff09<\/strong>\u540e\uff0c\u8fd8\u9700\u8981\u4e3a\u6b64\u7528\u6237\u8bbe\u7f6e\u552f\u4e00\u7684VNC\u5bc6\u7801<strong><span style=\"letter-spacing: 0.578px\">\uff08u6giB2jJx9\uff09<\/span><\/strong>\u3002<\/p>\n<section data-tool=\"mdx editor\" data-website=\"https:\/\/editor.runjs.cool\/\">\n<section style=\"line-height: 2em;padding-right: 12px;padding-left: 12px;letter-spacing: 0px;text-align: left\" data-tool=\"mdx \u7f16\u8f91\u5668\" data-website=\"https:\/\/editor.runjs.cool\/\">\n<section style=\"justify-content: space-between;align-items: center;font-size: 12px;height: 30px;line-height: 30px\"><\/section>\n<pre style=\", consolas, monaco, menlo, monospace;overflow: auto;line-height: 1.75\" data-title=\"true\"><code style=\"float: left;background-image: initial;background-position: initial;background-size: initial;background-repeat: initial;background-attachment: initial;, monospace;line-height: 1.5;letter-spacing: 0.2px;min-width: 100%;font-size: 12px;flex: 0 0 auto;padding-right: 12px;padding-bottom: 12px;padding-left: 12px;max-width: unset\" data-line=\"3\"><span style=\"padding-left: 16px;padding-right: 16px;margin-left: -16px;margin-right: -16px;font-size: 15px\">su <span style=\"font-size: 15px;background: transparent\">-<\/span> vncuser\n<\/span><\/code><\/pre>\n<\/section>\n<\/section>\n<section data-tool=\"mdx editor\" data-website=\"https:\/\/editor.runjs.cool\/\">\n<section style=\"line-height: 2em;padding-right: 12px;padding-left: 12px;letter-spacing: 0px;text-align: left\" data-tool=\"mdx \u7f16\u8f91\u5668\" data-website=\"https:\/\/editor.runjs.cool\/\">\n<section style=\"justify-content: space-between;align-items: center;font-size: 12px;height: 30px;line-height: 30px\"><\/section>\n<pre style=\", consolas, monaco, menlo, monospace;overflow: auto;line-height: 1.75\" data-title=\"true\"><code style=\"float: left;background-image: initial;background-position: initial;background-size: initial;background-repeat: initial;background-attachment: initial;, monospace;line-height: 1.5;letter-spacing: 0.2px;min-width: 100%;font-size: 12px;flex: 0 0 auto;padding-right: 12px;padding-bottom: 12px;padding-left: 12px;max-width: unset\" data-line=\"3\"><span style=\"padding-left: 16px;padding-right: 16px;margin-left: -16px;margin-right: -16px;font-size: 15px\">vncpasswd\n<\/span><\/code><\/pre>\n<\/section>\n<\/section>\n<section data-tool=\"mdx editor\" data-website=\"https:\/\/editor.runjs.cool\/\">\n<section style=\"line-height: 2em;padding-right: 12px;padding-left: 12px;letter-spacing: 0px;text-align: left\" data-tool=\"mdx \u7f16\u8f91\u5668\" data-website=\"https:\/\/editor.runjs.cool\/\">\n<section style=\"justify-content: space-between;align-items: center;font-size: 12px;height: 30px;line-height: 30px\"><\/section>\n<pre style=\", consolas, monaco, menlo, monospace;overflow: auto;line-height: 1.75\" data-title=\"true\"><code style=\"float: left;background-image: initial;background-position: initial;background-size: initial;background-repeat: initial;background-attachment: initial;, monospace;line-height: 1.5;letter-spacing: 0.2px;min-width: 100%;font-size: 12px;flex: 0 0 auto;padding-right: 12px;padding-bottom: 12px;padding-left: 12px;max-width: unset\" data-line=\"4\"><span style=\"font-size: 15px;padding-left: 16px;padding-right: 16px;margin-left: -16px;margin-right: -16px\">Would you like to enter a view<span style=\"background: transparent\">-<\/span>only password (y<span style=\"background: transparent\">\/<\/span>n)<span style=\"background: transparent\">?<\/span> n\n(\u60a8\u60f3\u8f93\u5165\u4e00\u4e2a\u4ec5\u4f9b\u67e5\u770b\u7684\u5bc6\u7801\u5417<span style=\"background: transparent\">?<\/span>)\u6211\u4e0d\u9700\u8981\uff0c\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u9009\u62e9\u3002<\/span><\/code><\/pre>\n<\/section>\n<\/section>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9766\" src=\"http:\/\/loc-wp-cdnimg.jiyun.net\/blogtest\/2024\/09\/20240916133603761.png\" width=\"540\" height=\"366\" alt=\"20240916133603761\" title=\"20240916133603761\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong style=\"text-align: center;, arial, sans-serif;text-indent: 34px;font-size: 16px;letter-spacing: 0.544px\"><span style=\"font-size: 17px;letter-spacing: 0.578px;text-indent: 2em\">|\u00a0<\/span><\/strong><strong style=\"text-align: center;, arial, sans-serif;text-indent: 34px;font-size: 16px;letter-spacing: 0.544px\"><span style=\"font-size: 17px;letter-spacing: 0.578px;text-indent: 2em\">\u521b\u5efaVNC\u914d\u7f6e\u6587\u4ef6<\/span><\/strong><\/p>\n<p><span style=\"font-size: var(--articleFontsize);letter-spacing: 0.034em;text-align: center\">\u4f9d\u6b21\u6267\u884c\u4ee5\u4e0b\u6307\u4ee4<\/span><\/p>\n<section data-tool=\"mdx editor\" data-website=\"https:\/\/editor.runjs.cool\/\">\n<section style=\"line-height: 2em;padding-right: 12px;padding-left: 12px;letter-spacing: 0px;text-align: left\" data-tool=\"mdx \u7f16\u8f91\u5668\" data-website=\"https:\/\/editor.runjs.cool\/\">\n<section style=\"justify-content: space-between;align-items: center;font-size: 12px;height: 30px;line-height: 30px\"><\/section>\n<pre style=\", consolas, monaco, menlo, monospace;overflow: auto;line-height: 1.75\" data-title=\"true\"><code style=\"float: left;background-image: initial;background-position: initial;background-size: initial;background-repeat: initial;background-attachment: initial;, monospace;line-height: 1.5;letter-spacing: 0.2px;min-width: 100%;font-size: 12px;flex: 0 0 auto;padding-right: 12px;padding-bottom: 12px;padding-left: 12px;max-width: unset\" data-line=\"5\"><span style=\"font-size: 15px;padding-left: 16px;padding-right: 16px;margin-left: -16px;margin-right: -16px\">su root\ncp <span style=\"background: transparent\">\/<\/span>lib<span style=\"background: transparent\">\/<\/span>systemd<span style=\"background: transparent\">\/<\/span>system<span style=\"background: transparent\">\/<\/span>vncserver@.service <span style=\"background: transparent\">\/<\/span>etc<span style=\"background: transparent\">\/<\/span>systemd<span style=\"background: transparent\">\/<\/span>system<span style=\"background: transparent\">\/<\/span>vncserver@<span style=\"background: transparent\">:<\/span>1.service\nvim <span style=\"background: transparent\">\/<\/span>etc<span style=\"background: transparent\">\/<\/span>systemd<span style=\"background: transparent\">\/<\/span>system<span style=\"background: transparent\">\/<\/span>vncserver@<span style=\"background: transparent\">:<\/span>1.service<\/span><\/code><\/pre>\n<\/section>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9767\" src=\"http:\/\/loc-wp-cdnimg.jiyun.net\/blogtest\/2024\/09\/20240916133604703.png\" width=\"781\" height=\"306\" alt=\"20240916133604703\" title=\"20240916133604703\" \/><\/p>\n<\/section>\n<p>\u914d\u7f6e\u4fee\u6539\u540e\uff0c\u91cd\u65b0\u52a0\u8f7dVNC\u7a0b\u5e8f\uff0c\u6307\u4ee4\u5982\u4e0b<\/p>\n<section data-tool=\"mdx editor\" data-website=\"https:\/\/editor.runjs.cool\/\">\n<section style=\"line-height: 2em;padding-right: 12px;padding-left: 12px;letter-spacing: 0px;text-align: left\" data-tool=\"mdx \u7f16\u8f91\u5668\" data-website=\"https:\/\/editor.runjs.cool\/\">\n<section style=\"justify-content: space-between;align-items: center;font-size: 12px;height: 30px;line-height: 30px\"><\/section>\n<pre style=\", consolas, monaco, menlo, monospace;overflow: auto;line-height: 1.75\" data-title=\"true\"><code style=\"float: left;background-image: initial;background-position: initial;background-size: initial;background-repeat: initial;background-attachment: initial;, monospace;line-height: 1.5;letter-spacing: 0.2px;min-width: 100%;font-size: 12px;flex: 0 0 auto;padding-right: 12px;padding-bottom: 12px;padding-left: 12px;max-width: unset\" data-line=\"4\"><span style=\"font-size: 15px;padding-left: 16px;padding-right: 16px;margin-left: -16px;margin-right: -16px\">systemctl daemon<span style=\"background: transparent\">-<\/span>reload\nsystemctl start vncserver@<span style=\"background: transparent\">:<\/span>1<\/span><\/code><\/pre>\n<\/section>\n<\/section>\n<p>\u67e5\u8be2\u5f53\u524d\u670d\u52a1\u662f\u5426\u6b63\u5e38\u542f\u52a8<\/p>\n<section data-tool=\"mdx editor\" data-website=\"https:\/\/editor.runjs.cool\/\">\n<section style=\"line-height: 2em;padding-right: 12px;padding-left: 12px;letter-spacing: 0px;text-align: left\" data-tool=\"mdx \u7f16\u8f91\u5668\" data-website=\"https:\/\/editor.runjs.cool\/\">\n<section style=\"justify-content: space-between;align-items: center;font-size: 12px;height: 30px;line-height: 30px\"><\/section>\n<pre style=\", consolas, monaco, menlo, monospace;overflow: auto;line-height: 1.75\" data-title=\"true\"><code style=\"float: left;background-image: initial;background-position: initial;background-size: initial;background-repeat: initial;background-attachment: initial;, monospace;line-height: 1.5;letter-spacing: 0.2px;min-width: 100%;font-size: 12px;flex: 0 0 auto;padding-right: 12px;padding-bottom: 12px;padding-left: 12px;max-width: unset\" data-line=\"3\"><span style=\"padding-left: 16px;padding-right: 16px;margin-left: -16px;margin-right: -16px;font-size: 15px\">systemctl status vncserver@<span style=\"font-size: 15px;background: transparent\">:<\/span>1\n<\/span><\/code><\/pre>\n<\/section>\n<\/section>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9768\" src=\"http:\/\/loc-wp-cdnimg.jiyun.net\/blogtest\/2024\/09\/20240916133605500.png\" width=\"355\" height=\"224\" alt=\"20240916133605500\" title=\"20240916133605500\" \/><\/p>\n<p>\u5206\u522b\u8bbe\u7f6e\u5f00\u673a\u542f\u52a8\u3001\u67e5\u770bVNC\u670d\u52a1\u5668\u5de5\u4f5c\u6b63\u5e38\u5e76\u4f7f\u7528TCP\u7aef\u53e35901<\/p>\n<section data-tool=\"mdx editor\" data-website=\"https:\/\/editor.runjs.cool\/\">\n<section style=\"line-height: 2em;padding-right: 12px;padding-left: 12px;letter-spacing: 0px;text-align: left\" data-tool=\"mdx \u7f16\u8f91\u5668\" data-website=\"https:\/\/editor.runjs.cool\/\">\n<section style=\"justify-content: space-between;align-items: center;font-size: 12px;height: 30px;line-height: 30px\"><\/section>\n<pre style=\", consolas, monaco, menlo, monospace;overflow: auto;line-height: 1.75\" data-title=\"true\"><code style=\"float: left;background-image: initial;background-position: initial;background-size: initial;background-repeat: initial;background-attachment: initial;, monospace;line-height: 1.5;letter-spacing: 0.2px;min-width: 100%;font-size: 12px;flex: 0 0 auto;padding-right: 12px;padding-bottom: 12px;padding-left: 12px;max-width: unset\" data-line=\"6\"><span style=\"font-size: 15px;padding-left: 16px;padding-right: 16px;margin-left: -16px;margin-right: -16px\"># \u5f00\u673a\u542f\u52a8\nsystemctl enable vncserver@<span style=\"background: transparent\">:<\/span>1\n# \u67e5\u770b\u7aef\u53e3\u4f7f\u7528\u60c5\u51b5\nss <span style=\"background: transparent\">-<\/span>tulpn<span style=\"background: transparent\">|<\/span> grep vnc<\/span><\/code><\/pre>\n<\/section>\n<\/section>\n<p><strong><span style=\"font-size: var(--articleFontsize);letter-spacing: 0.034em;text-align: center\">|\u00a0\u5b89\u88c5\u56fe\u5f62\u7528\u6237\u754c\u9762Xfce<\/span><\/strong><\/p>\n<section data-tool=\"mdx editor\" data-website=\"https:\/\/editor.runjs.cool\/\">\n<section style=\"line-height: 2em;padding-right: 12px;padding-left: 12px;letter-spacing: 0px;text-align: left\" data-tool=\"mdx \u7f16\u8f91\u5668\" data-website=\"https:\/\/editor.runjs.cool\/\">\n<section style=\"justify-content: space-between;align-items: center;font-size: 12px;height: 30px;line-height: 30px\"><\/section>\n<pre style=\", consolas, monaco, menlo, monospace;overflow: auto;line-height: 1.75\" data-title=\"true\"><code style=\"float: left;background-image: initial;background-position: initial;background-size: initial;background-repeat: initial;background-attachment: initial;, monospace;line-height: 1.5;letter-spacing: 0.2px;min-width: 100%;font-size: 12px;flex: 0 0 auto;padding-right: 12px;padding-bottom: 12px;padding-left: 12px;max-width: unset\" data-line=\"5\"><span style=\"font-size: 15px;padding-left: 16px;padding-right: 16px;margin-left: -16px;margin-right: -16px\">yum install epel<span style=\"background: transparent\">-<\/span>release\nyum groupinstall \"Xfce\" <span style=\"background: transparent\">-<\/span>y\nyum install cjkuni<span style=\"background: transparent\">-<\/span>ukai<span style=\"background: transparent\">-<\/span>fonts<\/span><\/code><\/pre>\n<\/section>\n<\/section>\n<p><strong>|\u00a0\u4fee\u6539\u914d\u7f6e\u6587\u4ef6<\/strong><\/p>\n<section data-tool=\"mdx editor\" data-website=\"https:\/\/editor.runjs.cool\/\">\n<section style=\"line-height: 2em;padding-right: 12px;padding-left: 12px;letter-spacing: 0px;text-align: left\" data-tool=\"mdx \u7f16\u8f91\u5668\" data-website=\"https:\/\/editor.runjs.cool\/\">\n<section style=\"justify-content: space-between;align-items: center;font-size: 12px;height: 30px;line-height: 30px\"><\/section>\n<pre style=\", consolas, monaco, menlo, monospace;overflow: auto;line-height: 1.75\" data-title=\"true\"><code style=\"float: left;background-image: initial;background-position: initial;background-size: initial;background-repeat: initial;background-attachment: initial;, monospace;line-height: 1.5;letter-spacing: 0.2px;min-width: 100%;font-size: 12px;flex: 0 0 auto;padding-right: 12px;padding-bottom: 12px;padding-left: 12px;max-width: unset\" data-line=\"6\"><span style=\"font-size: 15px;padding-left: 16px;padding-right: 16px;margin-left: -16px;margin-right: -16px\"># \u5207\u6362\u5230vncuser\u7528\u6237\nsu <span style=\"background: transparent\">-<\/span> vncuser\n# \u4fee\u6539\u914d\u7f6e\u6587\u4ef6\nvim <span style=\"background: transparent\">~\/<\/span>.vnc<span style=\"background: transparent\">\/<\/span>xstartup<\/span><\/code><\/pre>\n<\/section>\n<\/section>\n<p>\u5c06\/etc\/X11\/xinit\/xinitrc\u4fee\u6539\u4e3astartxfce4<\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9769\" src=\"http:\/\/loc-wp-cdnimg.jiyun.net\/blogtest\/2024\/09\/20240916133607890.png\" width=\"629\" height=\"174\" alt=\"20240916133607890\" title=\"20240916133607890\" \/><\/p>\n<p>\u91cd\u542f\u4e00\u4e0bVNC\u670d\u52a1<\/p>\n<section data-tool=\"mdx editor\" data-website=\"https:\/\/editor.runjs.cool\/\">\n<section style=\"line-height: 2em;padding-right: 12px;padding-left: 12px;letter-spacing: 0px;text-align: left\" data-tool=\"mdx \u7f16\u8f91\u5668\" data-website=\"https:\/\/editor.runjs.cool\/\">\n<section style=\"justify-content: space-between;align-items: center;font-size: 12px;height: 30px;line-height: 30px\"><\/section>\n<pre style=\", consolas, monaco, menlo, monospace;overflow: auto;line-height: 1.75\" data-title=\"true\"><code style=\"float: left;background-image: initial;background-position: initial;background-size: initial;background-repeat: initial;background-attachment: initial;, monospace;line-height: 1.5;letter-spacing: 0.2px;min-width: 100%;font-size: 12px;flex: 0 0 auto;padding-right: 12px;padding-bottom: 12px;padding-left: 12px;max-width: unset\" data-line=\"3\"><span style=\"padding-left: 16px;padding-right: 16px;margin-left: -16px;margin-right: -16px;font-size: 15px\">systemctl restart vncserver@<span style=\"font-size: 15px;background: transparent\">:<\/span>1\n<\/span><\/code><\/pre>\n<\/section>\n<\/section>\n<p><strong style=\", arial, sans-serif;text-indent: 34px;font-size: 16px;letter-spacing: 0.544px\"><span style=\"font-size: 17px;letter-spacing: 0.578px;text-indent: 2em\">|\u00a0<\/span><\/strong><strong style=\", arial, sans-serif;text-indent: 34px;font-size: 16px;letter-spacing: 0.544px\"><span style=\"font-size: 17px;letter-spacing: 0.578px;text-indent: 2em\">\u5b89\u88c5VNC\u5ba2\u6237\u7aef\u5e76\u8fde\u63a5\u670d\u52a1\u5668<\/span><\/strong><\/p>\n<p><span style=\"font-size: 17px;letter-spacing: 0.578px;text-indent: 2em\"><strong style=\", arial, sans-serif;text-indent: 34px;font-size: 16px;letter-spacing: 0.544px\"><span style=\"font-size: 17px;letter-spacing: 0.578px;text-indent: 2em\">\u76ee\u524d\u5e38\u7528VNC\u5ba2\u6237\u7aef\u5206\u522b\u4e3a\uff1aTightVNC\u3001UltraVNC\u3001RealVNC\u3001VNC Viewer\u3002<\/span><\/strong><\/span><\/p>\n<p><span style=\"font-size: 17px;letter-spacing: 0.578px;text-indent: 2em\">\u672c\u6587\u4f7f\u7528VNC Viewer\u4e3a\u4f8b\uff0c\u4ece\u5b98\u7f51\u4e0b\u8f7d<span style=\"letter-spacing: 0.578px;text-indent: 34px\">Windows\u7248\u672c<\/span>\u5b89\u88c5\u5305\u3002<\/span><strong style=\", arial, sans-serif;text-indent: 34px;font-size: 16px;letter-spacing: 0.544px\"><span style=\"font-size: 17px;letter-spacing: 0.578px;text-indent: 2em\"><br \/>\n<\/span><\/strong><\/p>\n<blockquote class=\"js_blockquote_wrap\" data-type=\"2\" data-url=\"\" data-author-name=\"\" data-content-utf8-length=\"5\" data-source-title=\"https:\/\/www.realvnc.com\/en\/connect\/download\/viewer\/\" data-text=\"\u4e0b\u8f7d\u94fe\u63a5\" data-editid=\"wg6symnqfn4000000\">\n<section class=\"js_blockquote_digest\">\n<section>\u4e0b\u8f7d\u94fe\u63a5<\/section>\n<\/section>\n<section class=\"blockquote_info js_blockquote_source\" data-json=\"%7B%22type%22%3A%22out%22%2C%22source%22%3A%22url%22%2C%22digest%22%3A%22%22%2C%22digestLen%22%3A5%2C%22text%22%3A%22%E2%80%8B%E4%B8%8B%E8%BD%BD%E9%93%BE%E6%8E%A5%22%2C%22article%22%3A%7B%7D%2C%22hasReportOverSize%22%3Afalse%2C%22editorReportData%22%3A%5B%7B%22id%22%3A%22122333%22%2C%22key%22%3A%2276%22%2C%22len%22%3A1%7D%5D%2C%22from%22%3A%22https%3A%2F%2Fwww.realvnc.com%2Fen%2Fconnect%2Fdownload%2Fviewer%2F%22%7D\"><span class=\"blockquote_other\">https:\/\/www.realvnc.com\/en\/connect\/download\/viewer\/<\/span><\/section>\n<\/blockquote>\n<p>\u5b89\u88c5\u6210\u529f\u540e\uff0c\u6253\u5f00\u8f6f\u4ef6\uff0c\u8f93\u5165\u670d\u52a1\u5668IP:5091\uff0c\u5e76\u6309\u63d0\u793a\u8f93\u5165\u5bc6\u7801<span style=\"letter-spacing: 0.578px\">VNC\u5bc6\u7801<\/span><strong style=\"letter-spacing: 0.578px\"><span style=\"letter-spacing: 0.578px\">\uff08u6giB2jJx9\uff09<\/span><\/strong><\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9770\" src=\"http:\/\/loc-wp-cdnimg.jiyun.net\/blogtest\/2024\/09\/20240916133608141.png\" width=\"747\" height=\"442\" alt=\"20240916133608141\" title=\"20240916133608141\" \/><\/p>\n<p>\u8fde\u63a5\u6210\u529f\u540e\uff0c\u670d\u52a1\u5668\u5c06\u4ee5\u53ef\u89c6\u5316\u754c\u9762\u5448\u73b0<\/p>\n<section style=\"letter-spacing: 0.578px;text-indent: 0em;text-align: center;margin-bottom: 24px\"><\/section>\n<section><\/section>\n<section><\/section>\n<section><\/section>\n<section><\/section>\n<p><a rel=\"nofollow\" href=\"https:\/\/mp.weixin.qq.com\/s\/GupWXXSEKQkI7OPgOPkw2g\" target=\"_blank\" rel=\"noopener\">links<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>\u53c2\u8003\u4e8c\uff1a<a rel=\"nofollow\" href=\"https:\/\/blog.51cto.com\/topic\/linuxanzhuangbaota-vnc.html\" target=\"_blank\" rel=\"noopener\">51CTO\u94fe\u63a5<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u529f\u80fd\u4ecb\u7ecd \u2014\u2014\u2014\u2014\u2014 VNC\u670d\u52a1\u5668\u662f\u4e00\u79cd\u8fdc\u7a0b\u684c\u9762\u63a7\u5236\u8f6f\u4ef6\uff0c\u5b83\u5141\u8bb8\u7528\u6237\u901a\u8fc7\u7f51\u7edc\u8fde\u63a5\u63a7\u5236\u8fdc\u7a0b\u8ba1\u7b97\u673a\u3002VNC\u662fVirtual Network Computing\uff08\u865a\u62df\u7f51\u7edc\u8ba1\u7b97\uff09\u7684\u7f29\u5199\uff0c\u5b83\u57fa\u4e8e\u8fdc\u7a0b\u684c\u9762\u534f\u8bae\uff08RFB\uff09\uff0c\u53ef\u4ee5\u5728\u4e0d\u540c\u64cd\u4f5c\u7cfb\u7edf\u7684\u8ba1\u7b97\u673a\u4e4b\u95f4\u5b9e&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[128],"tags":[151,167],"topic":[],"class_list":["post-9731","post","type-post","status-publish","format-standard","hentry","category-128","tag-centos","tag-linux"],"_links":{"self":[{"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/posts\/9731","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=9731"}],"version-history":[{"count":0,"href":"http:\/\/puo.cn\/index.php?rest_route=\/wp\/v2\/posts\/9731\/revisions"}],"wp:attachment":[{"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=9731"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=9731"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=9731"},{"taxonomy":"topic","embeddable":true,"href":"http:\/\/puo.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftopic&post=9731"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}