¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Headless Pi - Error?


 

I thought I had followed directions to make my Pi 4 headless (in fact, have a headless Pi 3)... VNC enabled and remote access, however one issue:

When I disconnect the monitor (mini HDMI jack) and then try to access via VNC, I get an error saying it Cannot show the desktop. It's not happening

right now when I unplug the monitor, but seems to happen at some stage after a reboot. I have Xastir installed, I also have raspberry-noaa-v2 installed.

For Xastir, I did not use "build a pi" but did follow one of the KM4ACK youtube videos, not running direwolf, I have the pi connected to a Yaesu TH-D72A,
which has a built in TNC.

Thoughts appreciated!

Rob KA2CZU


 

¿ªÔÆÌåÓý

I¡¯m experiencing the same issue as well while using VNC. ?

Jim-K0JNR


On Sep 7, 2021, at 9:04 AM, Robert Switzer <robert_switzer@...> wrote:

?

I thought I had followed directions to make my Pi 4 headless (in fact, have a headless Pi 3)... VNC enabled and remote access, however one issue:

When I disconnect the monitor (mini HDMI jack) and then try to access via VNC, I get an error saying it Cannot show the desktop. It's not happening

right now when I unplug the monitor, but seems to happen at some stage after a reboot. I have Xastir installed, I also have raspberry-noaa-v2 installed.

For Xastir, I did not use "build a pi" but did follow one of the KM4ACK youtube videos, not running direwolf, I have the pi connected to a Yaesu TH-D72A,
which has a built in TNC.

Thoughts appreciated!

Rob KA2CZU


 

¿ªÔÆÌåÓý

I have run into the problem too.?? I have found the issue is setting the screen resolution.?
See KM4ACK's notes.?
?Raspberry Pi Build Guide -
73, steve WB3LGC

The SSH and VNC stuff listed below can be skipped for now if you choose to connect a monitor, keyboard, and mouse to your pi. Since I always run and access my pi from my Mac when in the shack and with a tablet in the field, these steps are critical to my setup. If you plan to run your pi headless, I recommend completing the SSH & VNC steps now.

NOTE: You will need to plug your pi into your router via a cat5 cable and know the pi's IP address. Finding your pi's IP address on your network is beyond the scope of this document. Google is your friend :)

  • Flash SD card See Fig 1

  • Insert SD card & boot the Pi

  • SSH into the pi. See

    • Default user=pi password=raspberry

    • Turn on VNC

    • Set screen resolution

  • Reboot

  • Use on your PC to connect to pi

  • Complete setup wizard

    • Set Local Info (Language, Keyboard, Time Zone)

    • Change Password

    • Connect to Wifi

    • Update Software

  • Change Hostname (This step can be skipped)

After the setup wizard is complete, open a terminal window and verify everything is up to date with

sudo apt-get update
sudo apt-get upgrade



On 9/7/21 9:43 AM, Robert Switzer wrote:

I thought I had followed directions to make my Pi 4 headless (in fact, have a headless Pi 3)... VNC enabled and remote access, however one issue:

When I disconnect the monitor (mini HDMI jack) and then try to access via VNC, I get an error saying it Cannot show the desktop. It's not happening

right now when I unplug the monitor, but seems to happen at some stage after a reboot. I have Xastir installed, I also have raspberry-noaa-v2 installed.

For Xastir, I did not use "build a pi" but did follow one of the KM4ACK youtube videos, not running direwolf, I have the pi connected to a Yaesu TH-D72A,
which has a built in TNC.

Thoughts appreciated!

Rob KA2CZU


 
Edited

I have not had that happen to me however; when I set up my BAP's (on pi3b+ and pi4B) I used putty to ssh on to the pi's used raspi-config to turn or VNC then rebooted no errors.
The pi's don't react well to pulling the HDMI while powered. Try rebooting if you plan to pull HDMI this allows the pi to "redirect" video. Or invest in an inexpensive HDMI switch such as :



quick tip : if you flash? new sd card when it's done eject the card from pc or mac then reinsert go to the drive and create a blank text file labeled 'ssh.txt" this and you wpa_supplicant.conf.<-- theses 2 files make life easier

Hope this Helps

BIll N3VMT


Trevor Matney
 

Did you install VNC for RPi on the device? Installing VNC and changing the screen size in raspi-config to 1024 x768 and adding a on startup command fixed my issue with VNC.? I had same conflict.? There is an article about it....do a Google search.

Trevor
KJ7MLK

On Tue, Sep 7, 2021, 7:04 AM Robert Switzer <robert_switzer@...> wrote:

I thought I had followed directions to make my Pi 4 headless (in fact, have a headless Pi 3)... VNC enabled and remote access, however one issue:

When I disconnect the monitor (mini HDMI jack) and then try to access via VNC, I get an error saying it Cannot show the desktop. It's not happening

right now when I unplug the monitor, but seems to happen at some stage after a reboot. I have Xastir installed, I also have raspberry-noaa-v2 installed.

For Xastir, I did not use "build a pi" but did follow one of the KM4ACK youtube videos, not running direwolf, I have the pi connected to a Yaesu TH-D72A,
which has a built in TNC.

Thoughts appreciated!

Rob KA2CZU


 

I¡¯ve been reluctant to try this and use dummy HDMI plugs that simulinstead. But with the Pi4 I¡¯d like to get rid of those due to needed adapters to the mini-HDMI jacks. Despite asking numerous times on various forums, I¡¯ve never been able to determine if it¡¯s possible to do this for BOTH ports. Somehow I think not. It¡¯s really great to have all the real estate of dual displays on the host even if the client is single display.?
--
Don
W6CZ
DM07bk


 

well using ssh to get in; then using sudo raspi-config -> advanced options -> set screen resolution -> choose the last option -> "finish and reboot"? .... worked!

must have done this on the other pi without remembering it

thanks for the help!