Once I Close a Pi Rdp I Cannot Access Pi Again
Time needed:three minutes.
If you installed a remote connectedness to your Raspberry Pi using VNC, it can happen you get a black screen with an error bulletin 'Cannot currently show the desktop' on your next connection endeavour. In this brusque tutorial we'll see how you can set up this issue easily.
For this tutorial, our Pi is running on Raspberry Pi OS. And we assume you already established a remote connectedness using the RealVNC software. Accept a look at our tutorial 'Admission your Raspberry Pi remotely from another calculator' if this isn't the case or if you lot need additional information.
- Reconnect temporarily a monitor to your Raspberry Pi
The black screen comes when y'all kick your remote Pi while it isn't continued to a monitor and yous left the default screen resolution. To solve this result and be able to boot without a monitor connected to your remote Pi, we accept to change the Pi's screen resolution.
So, to exist able to change the configurations, you temporarly need to have a monitor continued to your Pi and forget the remote connection for a short while.
Or, some other choice is to connect through a ssh connection. If y'all practise it this way, the ssh interface has to be configured as 'enabled' on your Pi.
- Boot your Raspberry Pi and open a terminal window
Once you have back your screen on your Pi, click on the final icon on the taskbar (left upper corner of your screen), a terminal window will announced.
- Find out your Raspberry Pi OS version
Depending on the version of your Raspberry Pi Bone, the gear up will be slightly different. Then earlier fixing the event we accept to observe out which Os version we are running. If you didn't change the default wallpaper, it's easy to recognise:
– wallpaper with tempels (meet picture higher up) : version ten (Buster)
– wallpaper with lake (see picture below) : version xi (Bullseye)
If you inverse the wallpaper or if y'all are accessing your Pi through a ssh-connection, enter the following command:
cat /etc/bone-release
and look for the number after 'VERSION_ID'. - Switch to root user
Outset, enter :
sudo -s - Simply for version 10 : Modify the display settings in your config.txt file as follows :
Enter or copy and paste :
echo 'hdmi_force_hotplug=1'>> /boot/config.txt
repeat 'hdmi_group=2'>> /boot/config.txt
repeat 'hdmi_mode=51'>> /boot/config.txt
In that location are different ways how to alter your display settings. In whatever case, these settings are kept in your config.txt file.Information technology's optional, only if you desire to visualise the changes you lot just made in your config.txt file, enter :
nano /boot/config.txt
Have a look at the lesser of the file. - Only for version eleven : Change the display settings in the Raspberry Pi Software Configuration Tool (raspi-config) as follows :
To open the raspi-config tool, enter :
raspi-config
Then, to be sure, we first update the tool to the latest version. Navigate with your keyboard arrows to :
8 Update
Subsequently the Update performance, the tool will restart automatically.
Now we navigate to :
2 Brandish Options
then to :
D5 VNC Resolution
and select a resolution that suits you best. I always choose the maximum resolution :
1920x1080
Click on your 'Tab' and and then 'Enter' key to select the choosen resolution.
Click on 'OK' and then 'Finish' to relieve your settings. - Reboot
Now you can remove the HDMI-cablevision from your Pi if you want. A monitor straight continued to your Pi isn't necessary anymore to accept your screen back on the VNC viewer.
Finally, enter :
reboot - Reconnect remotely with your VNC viewer.
That'due south it ! Now y'all can establish a remote connection to your Raspberry Pi again. And if y'all executed previous steps advisedly, the black screen with 'Cannot currently bear witness the desktop' won't announced whatever more.
If you want to change the display settings to a lower resolution for instance, you tin do it with the Raspberry Pi Software Configuration Tool (raspi-config). Yous'll detect more than information how to use this tool in the Raspberry Pi documentation : https://www.raspberrypi.org/documentation/computers/configuration.html
Source: https://www.freva.com/how-to-fix-cannot-currently-show-the-desktop-on-raspberry-pi/
0 Response to "Once I Close a Pi Rdp I Cannot Access Pi Again"
Post a Comment