以下解决方法与问题是基于我之前给树莓派写的一个开机自启动python脚本导致的问题所提出的。
如果你从来没有给树莓派写过脚本,那我的这篇博客对现在的你来说没有帮助,不用浪费时间了。
今天在用PC的Putty-ssh方式连接电脑的时候出现了一个问题,导致没办法运行我的手势识别代码
Linux raspberrypi 4.19.118-v7l+ #1311 SMP Mon Apr 27 14:26:42 BST 2020 armv7l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun Nov 13 16:11:09 2022
SSH is enabled and the default password for the 'pi' user has not been changed.
This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.
Unable to init server: 无法连接:拒绝连接
(lxterminal:793): Gtk-WARNING **: 16:11:33.193: cannot open display:
以上是我的putty显示的报错页面,可以跟自己的参考一下下。

364

被折叠的 条评论
为什么被折叠?



