- Hands-On Robotics Programming with C++
- Dinesh Tavasalkar
- 278字
- 2021-06-24 15:30:27
Handling VNC and PuTTY errors
In the VNC Viewer, sometimes, when you are selecting the IP address of the RPi, you may see the following pop-up error message instead of the RPi display:

You may also see the following message:

If you get either of these errors, click on the Wi-Fi icon on your laptop and make sure that you are connected to the same Wi-Fi network to which the RPi is connected. If this is the case, there is a chance that the IP address of your RPi has been changed inside the Wi-Fi network, which sometimes happens when a new device is connected to the Wi-Fi network.
To find the new IP address follow these steps:
- Open PuTTY and type raspberrypi.local inside the Hostname box.
- Enter the command ifconfig wlan0 inside PuTTY's Terminal window. If your IP address has changed, you will notice the new IP address in the inet option.
- Enter the new IP address inside VNC Viewer to view the RPi display output.
Sometimes, you may be unable to connect to Putty as well, and you will see the following error:

To solve the preceding error in PuTTY, follow these steps:
- Connect a LAN cable to the RPi and the laptop.
- Power on your RPi and try connecting to putty by entering raspberrypi.local in the hostname box. With the LAN cable connected to the RPi and the laptop, you should be able to access the PuTTY Terminal window.
- Follow the previous steps to find the RPi's new IP address.
- Once you see the RPi display inside VNC Viewer, you can remove the LAN cable.
- 手機安全和可信應用開發指南:TrustZone與OP-TEE技術詳解
- Mastering Concurrency Programming with Java 8
- Mastering Entity Framework Core 2.0
- Learning PostgreSQL
- oreilly精品圖書:軟件開發者路線圖叢書(共8冊)
- C語言程序設計學習指導與習題解答
- TradeStation交易應用實踐:量化方法構建贏家策略(原書第2版)
- The Complete Coding Interview Guide in Java
- Mastering JavaScript High Performance
- Learning FuelPHP for Effective PHP Development
- Solr Cookbook(Third Edition)
- PHP編程基礎與實踐教程
- 代替VBA!用Python輕松實現Excel編程
- Visual Basic 程序設計實踐教程
- HTML5移動前端開發基礎與實戰(微課版)