{"id":269832,"date":"2023-04-19T04:09:53","date_gmt":"2023-04-18T20:09:53","guid":{"rendered":"https:\/\/lrxjmw.cn\/lrhazvqsazvy.html"},"modified":"2023-04-19T04:09:53","modified_gmt":"2023-04-18T20:09:53","slug":"lrhazvqsazvy","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/lrhazvqsazvy.html","title":{"rendered":"linux \u5982\u4f55\u5b89\u88c5vnc Linux\u8f7b\u677e\u5b89\u88c5VNC\uff0c\u8fdc\u7a0b\u63a7\u5236\u4e0d\u518d\u96be"},"content":{"rendered":"
\u5728Linux<\/a>\u4e0a\u5b89\u88c5VNC\u662f\u4e00\u9879\u975e\u5e38\u6709\u7528\u7684\u6280\u80fdlinux \u5982\u4f55\u5b89\u88c5vnc<\/strong>\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5728\u8fdc\u7a0b\u8bbf\u95ee\u65f6\u66f4\u8f7b\u677e\u5730\u7ba1\u7406\u4f60\u7684\u670d\u52a1\u5668\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u5728Linux\u7cfb\u7edf<\/a>\u4e0a\u5b89\u88c5VNC\uff0c\u5e76\u63d0\u4f9b\u8be6\u7ec6\u7684\u6b65\u9aa4\u548c\u793a\u4f8b\u4ee3\u7801\uff0c\u4ee5\u4fbf\u60a8\u8f7b\u677e\u4e0a\u624b\u3002<\/p>\n 1.\u786e\u8ba4\u7cfb\u7edf\u5df2\u5b89\u88c5\u684c\u9762\u73af\u5883<\/p>\n \u5728\u5b89\u88c5VNC\u4e4b\u524dlinux\u7cfb\u7edf\u597d\u7528\u5417\uff0c\u786e\u4fdd\u60a8\u7684Linux\u7cfb\u7edf\u5df2\u7ecf\u5b89\u88c5\u4e86\u684c\u9762\u73af\u5883\u3002\u5982\u679c\u60a8\u7684\u7cfb\u7edf\u6ca1\u6709\u684c\u9762\u73af\u5883\uff0c\u8bf7\u5148\u6309\u7167\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a<\/p>\n \n 2.\u5b89\u88c5VNC Server<\/p>\n \u63a5\u4e0b\u6765\uff0c\u60a8\u9700\u8981\u5b89\u88c5VNC\u670d\u52a1\u5668\u3002\u6211\u4eec\u5c06\u4f7f\u7528TightVNC Server\u4f5c\u4e3a\u6211\u4eec\u7684VNC\u670d\u52a1\u5668\u3002\u5728Ubuntu\u4e0a\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5TightVNC Server\uff1a<\/p>\n \n 3.\u542f\u52a8VNC Server\u5e76\u8bbe\u7f6e\u5bc6\u7801<\/p>\n \u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u542f\u52a8VNC\u670d\u52a1\u5668\uff1a<\/p>\n \n <\/p>\n \u7b2c\u4e00\u6b21\u8fd0\u884c\u65f6\uff0c\u4f1a\u63d0\u793a\u60a8\u8bbe\u7f6e\u4e00\u4e2a\u8bbf\u95ee\u5bc6\u7801\u3002\u8bf7\u6ce8\u610flinux \u5982\u4f55\u5b89\u88c5vnc<\/strong>\uff0c\u6b64\u5bc6\u7801\u5c06\u7528\u4e8e\u8fdc\u7a0b\u8fde\u63a5\u5230\u60a8\u7684Linux\u7cfb\u7edf\u3002<\/p>\n 4.\u914d\u7f6eXstartup\u6587\u4ef6<\/p>\n \u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u9700\u8981\u914d\u7f6eXstartup\u6587\u4ef6\u4ee5\u786e\u4fdd\u6b63\u786e\u542f\u52a8\u684c\u9762\u73af\u5883\u3002\u6253\u5f00Xstartup\u6587\u4ef6\uff1a<\/p>\n \n \u7136\u540e\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/p>\n \n 5.\u91cd\u65b0\u542f\u52a8VNC Server<\/p>\n \u73b0\u5728\uff0c\u60a8\u9700\u8981\u91cd\u65b0\u542f\u52a8VNC\u670d\u52a1\u5668\u4ee5\u4f7f\u66f4\u6539\u751f\u6548\u3002\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n \n 6.\u914d\u7f6e\u9632\u706b\u5899<\/p>\n \u5982\u679c\u60a8\u7684\u7cfb\u7edf\u4e0a\u542f\u7528\u4e86\u9632\u706b\u5899\uff0c\u8bf7\u786e\u4fdd\u5728\u9632\u706b\u5899\u4e2d\u5141\u8bb8VNC\u8fde\u63a5\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u6253\u5f00\u7aef\u53e3\uff1a<\/p>\n \n 7.\u5728\u672c\u5730\u8ba1\u7b97\u673a\u4e0a\u5b89\u88c5VNC Viewer<\/p>\n \u73b0\u5728\uff0c\u60a8\u9700\u8981\u5728\u672c\u5730\u8ba1\u7b97\u673a\u4e0a\u5b89\u88c5VNC Viewer\u3002\u6839\u636e\u60a8\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e0b\u8f7d\u5e76\u5b89\u88c5VNC Viewer\u3002<\/p>\n 8.\u8fde\u63a5\u5230\u8fdc\u7a0bLinux\u7cfb\u7edf<\/p>\n \u6253\u5f00VNC Viewer\u5e76\u8f93\u5165\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/p>\n \n \u8bf7\u6ce8\u610f\uff0c\u5176\u4e2d\u7684\u201cyour_server_ip\u201d\u662f\u60a8\u7684Linux\u670d\u52a1\u5668\u7684IP\u5730\u5740\u3002\u7136\u540e\u8f93\u5165\u60a8\u4e4b\u524d\u8bbe\u7f6e\u7684\u5bc6\u7801linux\u7cfb\u7edf\u6559\u7a0b\uff0c\u5e76\u70b9\u51fb\u201c\u8fde\u63a5\u201d\u3002<\/p>\n 9.\u5b8c\u6210\uff01<\/p>\n \u606d\u559c\uff01\u73b0\u5728\u60a8\u5df2\u7ecf\u6210\u529f\u5730\u8fde\u63a5\u5230\u8fdc\u7a0bLinux\u7cfb\u7edf\uff0c\u5e76\u53ef\u4ee5\u4f7f\u7528\u684c\u9762\u73af\u5883\u8fdb\u884c\u7ba1\u7406\u548c\u64cd\u4f5c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" \u5728Linux\u4e0a\u5b89\u88c5VNC\u662f\u4e00\u9879\u975e\u5e38\u6709\u7528\u7684\u6280\u80fd\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5728\u8fdc\u7a0b\u8bbf\u95ee\u65f6\u66f4\u8f7b\u677e\u5730\u7ba1\u7406\u4f60\u7684\u670d\u52a1\u5668\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u5728Linux\u7cfb\u7edf\u4e0a\u5b89\u88c5VNC\uff0c\u5e76\u63d0\u4f9b\u8be6\u7ec6\u7684\u6b65\u9aa4\u548c\u793a\u4f8b\u4ee3\u7801\uff0c\u4ee5\u4fbf\u60a8\u8f7b\u677e\u4e0a\u624b\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u542f\u52a8VNC\u670d\u52a1\u5668\uff1a\u8bf7\u6ce8\u610f\uff0c\u6b64\u5bc6\u7801\u5c06\u7528\u4e8e\u8fdc\u7a0b\u8fde\u63a5\u5230\u60a8\u7684Linux\u7cfb\u7edf\u3002\u8fde\u63a5\u5230\u8fdc\u7a0bLinux\u7cfb\u7edf\u73b0\u5728\u60a8\u5df2\u7ecf\u6210\u529f\u5730\u8fde\u63a5\u5230\u8fdc\u7a0bLinux\u7cfb\u7edf\uff0c\u5e76\u53ef\u4ee5\u4f7f\u7528\u684c\u9762\u73af\u5883\u8fdb\u884c\u7ba1\u7406\u548c\u64cd\u4f5c\u3002<\/p>\n","protected":false},"author":1,"featured_media":269833,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-269832","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-999"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/269832","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=269832"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/269832\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/269833"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=269832"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=269832"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=269832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\nsu\u547d\u4ee4<\/a>-get install ubuntu-desktop\n<\/pre>\n<\/p>\n
\nsudo apt-get install tightvncserver\n<\/pre>\n<\/p>\n
\ntightvncserver\n<\/pre>\n<\/p>\n
\nnano ~\/.vnc\/xstartup\n<\/pre>\n<\/p>\n
\n#!\/bin\/sh\nunset SESSION_MANAGER\nunset DBUS_SESSION_BUS_ADDRESS\nstartxfce4 &\n<\/pre>\n<\/p>\n
\ntightvncserver -kill :1\ntightvncserver\n<\/pre>\n<\/p>\n
\nsudo ufw allow 5901\/tcp\n<\/pre>\n<\/p>\n
\n<your_server_ip>:1\n<\/pre>\n<\/p>\n