树莓派4b使用vncview连接报错:Cannot currently show the desktop

树莓派4b使用vncview连接报错:Cannot currently show the desktop

查看VNC Server状态正常,只是有报错

pi@raspberrypi:~ $ systemctl status vncserver-x11-serviced.service

● vncserver-x11-serviced.service - VNC Server in Service Mode daemon
   Loaded: loaded (/usr/lib/systemd/system/vncserver-x11-serviced.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2020-11-25 14:33:19 CST; 1min 13s ago
 Main PID: 437 (vncserver-x11-s)
Nov 25 13:55:46 raspberrypi vncserver-x11[469,root]: AgentInitCheck: no response from agent
Nov 25 13:55:51 raspberrypi vncserver-x11[469,root]: AgentInitCheck: agent comms failure
Nov 25 13:55:56 raspberrypi vncserver-x11[469,root]: AgentInitCheck: no response from agent
Nov 25 13:56:01 raspberrypi vncserver-x11[469,root]: AgentInitCheck: agent comms failure
/var/log/syslog也一直在刷如下错误:
Nov 25 13:50:00 raspberrypi vncserver-x11[469,root]: AgentInitCheck: agent comms failure
Nov 25 13:50:05 raspberrypi vncserver-x11[469,root]: AgentInitCheck: no response from agent


原因:树莓派没有接有显示器,自动获取屏幕分辨率失败,得设置下

解决办法:

sudo raspi-config


选择:Advanced Options
再选: Resolution
再选:DMT Mode 82 1920x1080 60Hz 16:9
然后重启

参考:https://www.cnblogs.com/kekeoutlook/p/12272705.html(感谢这个大哥,我差点重装系统)

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

sjwbcb

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值