Java swing kiosk ubuntu classic snap

I can see that the server you have included detects a Wayland host and tries to connect. But then fails without providing any clue why.

It might be “weird drivers”, or not.

Here’s a recent guide to debugging in a VM:

HTH