VNC connection remote desktop error: cannot currently show the desktop, I have enabled VNC and boot desktop automatic login option when booting, but still can't connect to the desktop, what other options do I need to set?

Attached: SSH everything is normal

error message


Yes, in addition to the above two operations must also set the resolution, the specific location in Advanced Options > Resolution, select the appropriate resolution.

  1. first step
  2. Second step
  3. third step
  • This is not working for me. :( – DaveTheMinion Dec 24 '19 at 23:33

I installed on the smart card the Debian VERSION="10 (buster)". As I do not need to let run a graphical desktop every time, I edited as sudo the /boot/config.txt file.

# wifi off / dissable
# change on 10-08-2019

I gave a try to connect on it with VNC from another Rpi, and I got the same Message:
Cannot currently show the desktop

I logged through ssh on that computer and started the desktop:

ssh user@ipadress
# where the user is
echo $USER
# where the ipadress is
ip a | grep -o "[1-9].*/24" | sed 's/\/.*//g'

after I logged in into that remote computer

sudo startx

And it worked!

The remote desktop voila!

  • 1
    Most of this is irrelevant! Obviously, if you don't have a desktop, VNC can't display it. – Milliways 2 days ago
  • Your remark is right in case the system is installed without desktop, a Rasbpian Lite for example, but in case you just turned it of -as I mentioned in my /boot/config.txt you have the chance to let run. My description covers this. – stefansson yesterday

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.