Creating a bug report/issue
x I have searched the existing open and closed issues
Required Information
- DietPi version |
G_DIETPI_VERSION_CORE=9
G_DIETPI_VERSION_SUB=2
G_DIETPI_VERSION_RC=1
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’
- Distro version |
echo $G_DISTRO_NAME $G_RASPBIAN
bookworm 0
- Kernel version |
uname --all
Linux DietPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
-
Architecture |
dpkg --print-architecture
arm64 -
SBC model |
echo $G_HW_MODEL_NAME
or (EG: RPi3)
RPi 3 Model B+ (aarch64)
- Power supply used | (EG: 5V 1A RAVpower)
? - SD card used | (EG: SanDisk ultra)
120 Go hard disk connected by USB
Additional Information (if applicable)
- Can this issue be replicated on a fresh installation of DietPi?
Yes I think
Steps to reproduce
- Standard Dietpi installation with LXDE, TigerVNC, ProFTPD, Firefox and JAVA (Liberica JDK)
- RPI display output hardware is either nothing (Tiger VNC Viewer on WIndows system), either HDMI occasionally connected to Marantz amplifier connected to Epson video projector with 1920 x 1080 (16/9) resolution
- I set hdmi_drive=2 in /boot/config.txt
- WIth dietpi-config/Display Options, I set the resolution = vc4-fks-v3d Open GL 1920 x 1080
Expected behaviour
Actual behaviour
When launching a simple JavaFX program, I get the error message “Unable to open DISPLAY”
I found a workaround by adding DISPLAY parameter when launching it :
a) sudo DISPLAY=:1 java HelloFX → my form is visible with Tiger VNC Viewer (but not on the Video Projector)
b) sudo DISPLAY=:0 java HelloFX → my form is visible only on the Video Projector
I think I have an issue with the DISPLAY parameter
Also, I cannot change the size of my form in my Java program (but the “maximize” command of LXDE works)
Please could you help