rebeyond / Behinder

“冰蝎”动态二进制加密网站管理客户端
5.79k stars 964 forks source link

cannot startup on ubuntu22 with gdk error #264

Open movonow opened 1 year ago

movonow commented 1 year ago

start command: /path/to/openjdk17/java -jar Behinder.jar

failure message: gdk_x11_display_set_window_scale: assertion 'GDK_IS_X11_DISPLAY (display)' failed

movonow commented 1 year ago

according to this: https://github.com/javafxports/openjdk-jfx/issues/175#issuecomment-417030981

the issue can be mitigated by running with below command: /path/to/openjdk17/java -Djdk.gtk.verison=2 -jar Behinder.jar

boriszhang91 commented 1 year ago

according to this: javafxports/openjdk-jfx#175 (comment)

the issue can be mitigated by running with below command: /path/to/openjdk17/java -Djdk.gtk.verison=2 -jar Behinder.jar

doesn't work;