MinimServer Forum
minimwatch unable to create tray icon - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: Support (/forumdisplay.php?fid=4)
+--- Thread: minimwatch unable to create tray icon (/showthread.php?tid=7207)

Pages: 1 2 3


minimwatch unable to create tray icon - Ronnhedh - 26-03-2024 10:34

When installing ARM 64bit MinimServer & MinimWatch on Raspberry, the error message "MinimWatch unable to create tray icon".

Th only guideline I found is this:

"Installing MinimWatch 2 on Linux
If you're using ..... Debian 10 or later) and you want to use MinimWatch desktop integration, install the GNOME Shell extension TopIconsFix before installing MinimWatch. If you don't install TopIconsFix, you will see a message "unable to create tray icon" when you launch MinimWatch."


Searching for TopIconsFix, I found something as a Gnome shell extension which I tried to wownliad without success.

Is there a more trivial workaround on this, I believe, common issue?

B.T.W. the ARM hard float 32 -bit MinimServer & MinimWatch works flawlessly on a day to day basis. Many thanks!

Regards,
Lars


RE: minimwatch unable to create tray icon - simoncn - 26-03-2024 10:48

What version of Java do you have installed? If it is the headless version (provided by default on some Linux systems), you will get this message. You need to install the full version of Java including graphical user interface support.

For details of how to install the correct version of Java on Raspberry Pi OS, see this section.

Also, you don't need to install MinimWatch as well as MinimServer if you are running MinimServer on the Raspberry Pi only (not on any other devices).


RE: minimwatch unable to create tray icon - Ronnhedh - 26-03-2024 10:51

(26-03-2024 10:48)simoncn Wrote:  What version of Java do you have installed? If it is the headless version (provided by default on some Linux systems), you will get this message. You need to install the full version of Java including graphical user interface support.

The JRE 64bit desktop integration latest version.

Regards
Lars


RE: minimwatch unable to create tray icon - simoncn - 26-03-2024 11:38

Is this desktop integration for Raspberry Pi OS or desktop integration for Java? What is the exact name of the apt package that you installed for Java?


RE: minimwatch unable to create tray icon - Ronnhedh - 26-03-2024 12:09

Following the instructions, the java -version installed is
"Openjdk version ”17.0.19” 2024-01-16
OpenJDK Runtime Environment (build 17.0.10-7 Debian-1deb12u1)
OpenJDK 64-Bit Server VM (build 17.0.10-7 Debian-1deb12u1, mixed mode, sharing)
"


RE: minimwatch unable to create tray icon - Ronnhedh - 27-03-2024 08:45

(26-03-2024 10:48)simoncn Wrote:  What version of Java do you have installed? If it is the headless version (provided by default on some Linux systems), you will get this message. You need to install the full version of Java including graphical user interface support.

For details of how to install the correct version of Java on Raspberry Pi OS, see this section.

Also, you don't need to install MinimWatch as well as MinimServer if you are running MinimServer on the Raspberry Pi only (not on any other devices).

In my case, MinimServer is running on 3 instances: Synology server, Rarpberry PI4 and Raspberry Zero mobile installation. Obviously there are limitations:

1 the PI4 is unable to fully use the 64-bit capability
2 MinimWatch is unable to manage the 3 instances
3 Minimwatch is available for the Windows Intel / AMD and unavailable for Windows ARM in my Microsoft Surface PC

Some compromises are required.


RE: minimwatch unable to create tray icon - simoncn - 27-03-2024 12:17

(26-03-2024 12:09)Ronnhedh Wrote:  Following the instructions, the java -version installed is
"Openjdk version ”17.0.19” 2024-01-16
OpenJDK Runtime Environment (build 17.0.10-7 Debian-1deb12u1)
OpenJDK 64-Bit Server VM (build 17.0.10-7 Debian-1deb12u1, mixed mode, sharing)
"

Please post the output from running the following command in a Terminal window:

apt list --installed | grep jdk

On my ARM 64 installation, I see this:

default-jdk-headless/oldstable,now 2:1.11-72 arm64 [installed,automatic]
default-jdk/oldstable,now 2:1.11-72 arm64 [installed]
openjdk-11-jdk-headless/now 11.0.18+10-1~deb11u1 arm64 [installed,upgradable to: 11.0.22+7-1~deb11u1]
openjdk-11-jdk/now 11.0.18+10-1~deb11u1 arm64 [installed,upgradable to: 11.0.22+7-1~deb11u1]
openjdk-11-jre-headless/now 11.0.18+10-1~deb11u1 arm64 [installed,upgradable to: 11.0.22+7-1~deb11u1]
openjdk-11-jre/now 11.0.18+10-1~deb11u1 arm64 [installed,upgradable to: 11.0.22+7-1~deb11u1]

The version number is not important. What is important is the entry for openjdk-11-jdk/now in addition to openjdk-11-jdk-headless/now.


RE: minimwatch unable to create tray icon - simoncn - 27-03-2024 12:19

(27-03-2024 08:45)Ronnhedh Wrote:  In my case, MinimServer is running on 3 instances: Synology server, Rarpberry PI4 and Raspberry Zero mobile installation. Obviously there are limitations:

1 the PI4 is unable to fully use the 64-bit capability
2 MinimWatch is unable to manage the 3 instances
3 Minimwatch is available for the Windows Intel / AMD and unavailable for Windows ARM in my Microsoft Surface PC

Some compromises are required.

I am running Raspberry Pi OS 64-bit on my Pi 4 with no issues. In what way is the Pi 4 unable to fully use the 64-bit capability?

MinimWatch should be able manage any number of MinimServer instances. What problem exactly are you seeing with this?

You are correct that there is no native version of MinimWatch or MinimServer for Windows ARM. Windows 11 for ARM should be able to run Intel x64 applications in emulation mode. What happenes if you use an Intel x64 version of Java to run MinimWatch on Windows ARM?


RE: minimwatch unable to create tray icon - Ronnhedh - 27-03-2024 14:03

(27-03-2024 12:17)simoncn Wrote:  
(26-03-2024 12:09)Ronnhedh Wrote:  Following the instructions, the java -version installed is
"Openjdk version ”17.0.19” 2024-01-16
OpenJDK Runtime Environment (build 17.0.10-7 Debian-1deb12u1)
OpenJDK 64-Bit Server VM (build 17.0.10-7 Debian-1deb12u1, mixed mode, sharing)
"

Please post the output from running the following command in a Terminal window:

apt list --installed | grep jdk

On my ARM 64 installation, I see this:

default-jdk-headless/oldstable,now 2:1.11-72 arm64 [installed,automatic]
default-jdk/oldstable,now 2:1.11-72 arm64 [installed]
openjdk-11-jdk-headless/now 11.0.18+10-1~deb11u1 arm64 [installed,upgradable to: 11.0.22+7-1~deb11u1]
openjdk-11-jdk/now 11.0.18+10-1~deb11u1 arm64 [installed,upgradable to: 11.0.22+7-1~deb11u1]
openjdk-11-jre-headless/now 11.0.18+10-1~deb11u1 arm64 [installed,upgradable to: 11.0.22+7-1~deb11u1]
openjdk-11-jre/now 11.0.18+10-1~deb11u1 arm64 [installed,upgradable to: 11.0.22+7-1~deb11u1]

The version number is not important. What is important is the entry for openjdk-11-jdk/now in addition to openjdk-11-jdk-headless/now.

Re: MinimWatch startup error
MinimWatch: unable to create tray icon

Running the following command in a Terminal window:
apt list --installed | grep jdk

On my ARM 64 installation, I see this:

default-jdk-headless/stable,now 2:1.17-74 arm64 [installerat,automatiskt]
default-jdk/stable,now 2:1.17-74 arm64 [installerat]
openjdk-17-jdk-headless/stable,stable-security,now 17.0.10+7-1~deb12u1 arm64 [installerat,automatiskt]
openjdk-17-jdk/stable,stable-security,now 17.0.10+7-1~deb12u1 arm64 [installerat,automatiskt]
openjdk-17-jre-headless/stable,stable-security,now 17.0.10+7-1~deb12u1 arm64 [installerat,automatiskt]
openjdk-17-jre/stable,stable-security,now 17.0.10+7-1~deb12u1 arm64 [installerat,automatiskt]

Regards,
Lars


RE: minimwatch unable to create tray icon - Ronnhedh - 27-03-2024 14:27

(27-03-2024 12:19)simoncn Wrote:  
(27-03-2024 08:45)Ronnhedh Wrote:  In my case, MinimServer is running on 3 instances: Synology server, Rarpberry PI4 and Raspberry Zero mobile installation. Obviously there are limitations:

1 the PI4 is unable to fully use the 64-bit capability
2 MinimWatch is unable to manage the 3 instances
3 Minimwatch is available for the Windows Intel / AMD and unavailable for Windows ARM in my Microsoft Surface PC

Some compromises are required.

I am running Raspberry Pi OS 64-bit on my Pi 4 with no issues. In what way is the Pi 4 unable to fully use the 64-bit capability?

MinimWatch should be able manage any number of MinimServer instances. What problem exactly are you seeing with this?

You are correct that there is no native version of MinimWatch or MinimServer for Windows ARM. Windows 11 for ARM should be able to run Intel x64 applications in emulation mode. What happenes if you use an Intel x64 version of Java to run MinimWatch on Windows ARM?

To me, it is not quite clear what Java is to be installed in Windows 11.
If "The Java runtime for Windows is available in 64-bit and 32-bit versions.", where could this download be obtained?
The https://www.java.com/en/download/ is used and MinimWatch is installed.
However MinimWatch refuses to start.

Regards
Lars