- 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.
- MySQL數據庫管理實戰
- C# 7 and .NET Core Cookbook
- 架構不再難(全5冊)
- Java Web開發之道
- Android 7編程入門經典:使用Android Studio 2(第4版)
- HTML5+CSS3+JavaScript Web開發案例教程(在線實訓版)
- SQL 經典實例
- Building Dynamics CRM 2015 Dashboards with Power BI
- Emotional Intelligence for IT Professionals
- ASP.NET Web API Security Essentials
- Python面試通關寶典
- JavaScript Concurrency
- Mastering Object:Oriented Python(Second Edition)
- Isomorphic Go
- Python 3.8編程快速入門