issue with VNC server

30 views
Skip to first unread message

Donn Hussey

unread,
Jul 14, 2026, 9:25:33 PM (7 days ago) Jul 14
to DigiPi
Hi Craig!

Digipi is a fantastic little tool, I spent a little while playing around with it last year and it's a nice little all in one set up.

However, I am having an issue with the VNC server. I am using a Pi0 2W, connected to a digirig and a (tr)uSDX. I start an application like WSJTX (I have tried with that, FLDigi, and JS8Call just to see if any of them would do any different). The slider slides and turns green, and after a minute or two I use the link to try to connect to the VNC. Then, I get the dreaded "failed to connect to server" screen.

When looking at the logs, I see:

Jul 15 02:23:33 digipi wsjtx.sh[3152]: Using installed websockify at /usr/bin/websockify
Jul 15 02:23:33 digipi wsjtx.sh[3152]: Starting webserver and WebSockets proxy on port 6080
Jul 15 02:23:33 digipi wsjtx.sh[3153]: qt.qpa.xcb: could not connect to display :1
Jul 15 02:23:33 digipi wsjtx.sh[3153]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Jul 15 02:23:33 digipi wsjtx.sh[3153]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Jul 15 02:23:33 digipi wsjtx.sh[3153]: Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, xcb.
Jul 15 02:23:34 digipi wsjtx.sh[3126]: /home/pi/wsjtx.sh: line 42:  3153 Aborted                 wsjtx
Jul 15 02:23:34 digipi wsjtx.sh[3126]: + (( timeout+=1 ))
Jul 15 02:23:34 digipi wsjtx.sh[3126]: + wmctrl -a wsjt -b add,maximized_vert,maximized_horz
Jul 15 02:23:34 digipi wsjtx.sh[3168]: Cannot open display.
Jul 15 02:23:34 digipi wsjtx.sh[3126]: + '[' 1 -gt 20 ']'
Jul 15 02:23:34 digipi wsjtx.sh[3126]: + sleep 1
Jul 15 02:23:34 digipi wsjtx.sh[3152]: Navigate to this URL:
Jul 15 02:23:34 digipi wsjtx.sh[3152]:     http://digipi:6080/vnc.html?host=digipi&port=6080
Jul 15 02:23:34 digipi wsjtx.sh[3152]: Press Ctrl-C to exit
Jul 15 02:23:34 digipi wsjtx.sh[3166]: WebSocket server settings:
Jul 15 02:23:34 digipi wsjtx.sh[3166]:   - Listen on :6080
Jul 15 02:23:34 digipi wsjtx.sh[3166]:   - Web server. Web root: /usr/share/novnc
Jul 15 02:23:34 digipi wsjtx.sh[3166]:   - No SSL/TLS support (no cert file)
Jul 15 02:23:34 digipi wsjtx.sh[3166]:   - proxying from :6080 to localhost:5901
Jul 15 02:23:35 digipi wsjtx.sh[3126]: + (( timeout+=1 ))
Jul 15 02:23:35 digipi wsjtx.sh[3126]: + wmctrl -a wsjt -b add,maximized_vert,maximized_horz
Jul 15 02:23:35 digipi wsjtx.sh[3173]: Cannot open display.
Jul 15 02:23:35 digipi wsjtx.sh[3126]: + '[' 2 -gt 20 ']'
Jul 15 02:23:35 digipi wsjtx.sh[3126]: + sleep 1
Jul 15 02:23:36 digipi wsjtx.sh[3126]: + (( timeout+=1 ))

So it looks like there is some sort of error happening when initializing the display.

Do you have any ideas how I might fix this?

Thanks,
Donn


Craig

unread,
Jul 15, 2026, 9:17:48 AM (6 days ago) Jul 15
to Donn Hussey, DigiPi
Hi Donn,


DigiPi 2.1-3?  (bottom of home page)

Please confirm it's a Zero2W (sysinfo link)

Did you apt-get upgrade this pi? (it shouldn't be upgraded)

essentially the "wsjtx" process itself isn't loading - crashes.


... and let us know please,

-craig
KM6LYW
--
You received this message because you are subscribed to the Google Groups "DigiPi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to digipi+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/digipi/8efd254c-cff0-4b88-a5ab-e8e92afc5852n%40googlegroups.com.

Donn Hussey

unread,
Jul 15, 2026, 9:38:38 AM (6 days ago) Jul 15
to DigiPi
Hi Craig,

It is a Zero 2W running 2.1-3.

From the copyright footer:  2.1-3 KM6LYW ©2026

Here's what's on the sysinfo page:


Raspberry Pi Zero 2 W Rev 1.0


Radio / GPS

    ttyUSB0: usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_ac8cdb936387ed11961f2fd7a603910e-if00-port0

Audio Interface

    0 [Device ]: USB-Audio - USB Audio Device C-Media Electronics Inc. USB Audio Device at usb-3f980000.usb-1.2, full speed

Memory Usage: 25%

CPU Load Average: 0.45

Disk Usage: 76%

Network Connections: 1

WiFi: Link Quality=61/70 Signal level=-49 dBm

CPU Count: 4

CPU Temp: 48.9'C

Mem Total: 0.484 GB

Mem Used: 0.119 GB

Mem Available: 0.37 GB

SD Free: 1.26 GB

SD Used: 4.037 GB

SD Total: 5.297 GB

Host Name: digipi.local

Host Address: 192.168.5.246

System Clock: Wed Jul 15 14:28:47 BST 2026

up 2 minutes

I have included some screenshots, and a copy/paste of the full logs. As a note, my Winlink password appears in the logs in plaintext. While this isn't the most important, high security password of all time, I thought I'd make note of it (I did modify the logs to remove it). 





Screenshot 2026-07-15 092727.png
Screenshot 2026-07-15 092758.png
log dump.txt
Reply all
Reply to author
Forward
0 new messages