- 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.
- ExtGWT Rich Internet Application Cookbook
- R語言數據分析從入門到精通
- Python網絡爬蟲從入門到實踐(第2版)
- 區塊鏈:以太坊DApp開發實戰
- MATLAB實用教程
- 深入淺出React和Redux
- Java程序設計案例教程
- Programming with CodeIgniterMVC
- Geospatial Development By Example with Python
- Learning Material Design
- Essential C++(中文版)
- R語言數據可視化:科技圖表繪制
- Julia High Performance(Second Edition)
- Python編程基礎教程
- Java設計模式深入研究