JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 01.12.2024, 19:17
jd_user123 jd_user123 is offline
Baby Loader
 
Join Date: Mar 2024
Posts: 6
Default JD runs, but blank window

[edit: solved the original problem with switching from wayland to x11 via sudo raspi-config => advanced options => wayland. thanks everyone for rubberducking ]


Hi
first thank you all for providing this great tool!
When I start JD on a freshly set up and updated Raspberry Pi 4 Model B Rev 1.5 with debian bookworm in GUI mode with openjdk ov version 17.0.13 with
Code:
sudo java -jar JDownloader.jar
The first time JD starts up normallyb esides an error dialogue "Tray isn't supported!", which is not bothering me.


however after closing and starting JD subsequently times in the same way again, JD starts up, but the main window stays blank:


The program seems running as the cmd window keeps showing activity, for example when resizing the window, but the window stays blanc.

Google results so far seem really old, so I'd like to ask here if a solution is known. thanks!

so far tried:
added
Code:
export _JAVA_AWT_WM_NONREPARENTING=1 
AWT_TOOLKIT=MToolkit
to /etc/profile alongside what i found here: **External links are only visible to Support Staff****External links are only visible to Support Staff**

checking on the window manager i found
Code:
>>echo $DESKTOP_SESSION
LXDE-pi-labwc
added
Code:
export GDK_BACKEND=x11
to environment variables

running the program with
Code:
java -Dsun.java2d.uiScale=1 -Dsun.java2d.opengl=true -jar JDownloader,jar
resulted in some GUI elements rendered, but very buggy and lots of java errors in the cmd


other references:
https://board.jdownloader.org/showthread.php?t=76920
https://board.jdownloader.org/showpo...0&postcount=22 from thread https://board.jdownloader.org/showthread.php?t=76920
**External links are only visible to Support Staff****External links are only visible to Support Staff**

Thank you for any hints to get this to run!

Last edited by jd_user123; 01.12.2024 at 20:21. Reason: problem solved
Reply With Quote
  #2  
Old 02.12.2024, 10:49
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 81,742
Default

@jd_user123: You switched to wayland and thus requires xwayland to be installed. Java does not support pure wayland environment yet. So switching back to x11 or proper xwayland should solve the issue.
Your edit shows that you already solved it by yourself with same solution Thanks for the feedback!
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 02:31.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.