raspberry

您所在的位置:网站首页 英语字母画三年级第一名 raspberry

raspberry

2023-11-09 12:15| 来源: 网络整理| 查看: 265

window系统使用VNC viewer(注意区别viewer和server版本)

官网下载地址:

https://www.realvnc.com/en/connect/download/viewer/

raspberry系统需要安装realvnc-vnc-server:

sudo apt install realvnc-vnc-server pi@pi:~ $ apt list --installed | grep vnc WARNING: apt does not have a stable CLI interface. Use with caution in scripts. realvnc-vnc-server/stable,now 6.4.1.40826 armhf [installed] realvnc-vnc-viewer/stable,now 6.19.325.40889 armhf [installed]

出现,拒绝连接connect:connect refused的错误,是因为每次重启需要启动vncserver服务

pi@pi:~ $ vncserver pi@pi:~ $ vncserver VNC(R) Server 6.4.1 (r40826) ARMv6 (Mar 13 2019 16:35:06) Copyright (C) 2002-2019 RealVNC Ltd. RealVNC and VNC are trademarks of RealVNC Ltd and are protected by trademark registrations and/or pending trademark applications in the European Union, United States of America and other jurisdictions. Protected by UK patent 2481870; US patent 8760366; EU patent 2652951. See https://www.realvnc.com for information on VNC. For third party acknowledgements see: https://www.realvnc.com/docs/6/foss.html OS: Raspbian GNU/Linux 10, Linux 4.19.66, armv7l On some distributions (in particular Red Hat), you may get a better experience by running vncserver-virtual in conjunction with the system Xorg server, rather than the old version built-in to Xvnc. More desktop environments and applications will likely be compatible. For more information on this alternative implementation, please see: https://www.realvnc.com/doclink/kb-546 Running applications in /etc/vnc/xstartup VNC Server catchphrase: "Guitar exile motif. Oasis bicycle total." signature: 32-56-16-4c-2b-ba-54-72 Log file is /home/pi/.vnc/pi:2.log New desktop is pi:2 (192.168.1.XXX:2)

注意最后一行,登录192.168.1.XXX:2即可登录成功 (提示XXX是因为不想暴露IP地址)

 



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3