Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird UI in Arch/Manjaro linux (The UI is broken) #207

Open
abedih opened this issue May 30, 2020 · 7 comments
Open

Weird UI in Arch/Manjaro linux (The UI is broken) #207

abedih opened this issue May 30, 2020 · 7 comments
Labels
duplicate This issue or pull request already exists
Projects

Comments

@abedih
Copy link

abedih commented May 30, 2020

Hi
I updated the XDM to the latest version. but the UI became completely useless. I used both the AUR package and the stand alone package from here. I've attached the screenshot.. my system:

OS: Linux Manjaro (updated to the latest version)
DE: KDE
Monitor resolution: 4k (HiDPI)
java version: openjdk version "13.0.2" 2020-01-14

Logs (when I run xdm from terminal):
[ main ] loading... [ main ] 13.0.2 5.6.12-1-MANJARO [ main ] Loading config... [ main ] Creating folders [ main ] starting monitoring... [ main ] Init app [ main ] Loading fonts [ main ] java.lang.NullPointerException: Unexpected EOF at xdman.XDMApp.loadDownloadList(XDMApp.java:811) at xdman.XDMApp.loadDownloadList(XDMApp.java:795) at xdman.XDMApp.<init>(XDMApp.java:235) at xdman.XDMApp.getInstance(XDMApp.java:384) at xdman.monitoring.BrowserMonitor.getSync(BrowserMonitor.java:119) at xdman.monitoring.BrowserMonitor.updateSettingsAndStatus(BrowserMonitor.java:48) at xdman.monitoring.BrowserMonitor.startMonitoring(BrowserMonitor.java:37) at xdman.XDMApp.start(XDMApp.java:201) at xdman.Main.main(Main.java:25) en [ main ] Loading language en [ main ] Context initialized [ Thread-1 ] java.net.BindException: Address already in use at java.base/sun.nio.ch.Net.bind0(Native Method) at java.base/sun.nio.ch.Net.bind(Net.java:469) at java.base/sun.nio.ch.Net.bind(Net.java:458) at java.base/sun.nio.ch.NioSocketImpl.bind(NioSocketImpl.java:643) at java.base/java.net.ServerSocket.bind(ServerSocket.java:374) at java.base/java.net.ServerSocket.bind(ServerSocket.java:328) at xdman.monitoring.BrowserMonitor.run(BrowserMonitor.java:186) at java.base/java.lang.Thread.run(Thread.java:830) [ Thread-1 ] instance already runninng
xdm-1

@subhra74
Copy link
Owner

subhra74 commented May 30, 2020

Duplicate of #44
please follow steps mentioned in:
#44 (comment)

@subhra74 subhra74 added the duplicate This issue or pull request already exists label May 30, 2020
@subhra74 subhra74 added this to To Do in xdm via automation May 30, 2020
@abedih
Copy link
Author

abedih commented May 30, 2020

Thanks @subhra74
but it didn't work. I tried it several times but the UI did not fix

@subhra74
Copy link
Owner

subhra74 commented May 30, 2020

Please post the log again. If you performed the suggested steps properly then below error should not appear in log
java.net.BindException: Address already in use at
Also post the terminal output of the mentioned steps

@abedih
Copy link
Author

abedih commented May 30, 2020

@subhra74

this is the log from termial:

[ main ] loading... [ main ] 11.0.6 5.6.12-1-MANJARO [ main ] Loading config... [ main ] Creating folders [ main ] starting monitoring... [ main ] Init app [ main ] Loading fonts [ main ] java.lang.NullPointerException: Unexpected EOF at xdman.XDMApp.loadDownloadList(XDMApp.java:811) at xdman.XDMApp.loadDownloadList(XDMApp.java:795) at xdman.XDMApp.<init>(XDMApp.java:235) at xdman.XDMApp.getInstance(XDMApp.java:384) at xdman.monitoring.BrowserMonitor.getSync(BrowserMonitor.java:119) at xdman.monitoring.BrowserMonitor.updateSettingsAndStatus(BrowserMonitor.java:48) at xdman.monitoring.BrowserMonitor.startMonitoring(BrowserMonitor.java:37) at xdman.XDMApp.start(XDMApp.java:201) at xdman.Main.main(Main.java:25) en [ main ] Loading language en [ main ] Context initialized [ Thread-4 ] instance starting... [ Thread-4 ] instance started. [ Thread-4 ] Lock acquired... [ AWT-EventQueue-0 ] showing main window. Loading image from url: jar:file:/opt/xdman/xdman.jar!/icons/xxhdpi/icon.png Error setting Dock icon checking for app update Loading image from url: jar:file:/opt/xdman/xdman.jar!/icons/xxhdpi/bg_nav.png [ AWT-EventQueue-0 ] List changed [ Thread-3 ] manifest download response: 200 7.2.11 7.2.11

@subhra74
Copy link
Owner

subhra74 commented Jun 3, 2020

From the log it looks like the download list has been corrupted.
First kill xdman using ps- ef|grep xdman to get current XDM process and use kill -9 <PID> to kill that process.
Then remove the $HOME/.xdman directory. (Warning: it will clear download history).

@abedih
Copy link
Author

abedih commented Jun 7, 2020

@subhra74
sorry for the delay
I've done that but without any success. also today I installed xdm on a fresh installation of Manjaro (using AUR) and it was the same.
Screenshot_20200607_233755

is it because of my Java version? I'm using openjdk-jre version 14

@subhra74
Copy link
Owner

Problem should not be caused by any installed jdk, as XDM uses its own.
I would suggest to perform the mentioned steps again and post the copy of the terminal output ( not just the log, but output of ps, rm etc )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
xdm
  
To Do
Development

No branches or pull requests

2 participants