Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
no icon in taskbar raspberry pi
19-03-2018, 00:48
Post: #1
no icon in taskbar raspberry pi
Running latest minimserver on Raspberry Pi 2 (Jessie). I no long get an icon on the taskbar. Can anyone help.
Find all posts by this user
Quote this message in a reply
19-03-2018, 10:04
Post: #2
RE: no icon in taskbar raspberry pi
Do you have desktop integration enabled in setup? Do you see a MinimServer launch icon on your desktop?
Find all posts by this user
Quote this message in a reply
19-03-2018, 12:34
Post: #3
RE: no icon in taskbar raspberry pi
It is enabled and I cannot see the icons.

However I have found an error message in jminim-crash log file which starts

jMinim crash dump, produced at 20180319-111751.971

java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11.XToolkit

java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11.XToolkit
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at java.awt.Toolkit$2.run(Toolkit.java:860)
at java.awt.Toolkit$2.run(Toolkit.java:855)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:854)
at java.awt.Toolkit.getEventQueue(Toolkit.java:1734)
at java.awt.EventQueue.isDispatchThread(EventQueue.java:1041)
at javax.swing.SwingUtilities.isEventDispatchThread(SwingUtilities.java:
1361)
at com.minimserver.lib.TrayControl.checkUI(TrayControl.java:863)
at com.minimserver.lib.TrayControl.access$2500(TrayControl.java:152)
at com.minimserver.lib.TrayControl$TrayView.createAndShowTrayIcon(TrayCo
ntrol.java:1827)

It looks as though the XToolkit class is not being found. I am using the following java which is the standard one for jessie:

java version "1.8.0_65"
Java™ SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot™ Client VM (build 25.65-b01, mixed mode)

I hope that helps

Thanks
Find all posts by this user
Quote this message in a reply
19-03-2018, 13:13
Post: #4
RE: no icon in taskbar raspberry pi
Yes, this does help. When you installed MinimServer and ran setup, what user was logged in? It looks this this user might not have permission to access the X11 display.

Also, how did you start MinimServer? Was it by double-clicking the MinimServer launch icon on your desktop or have you configured MinimServer to start automatically?
Find all posts by this user
Quote this message in a reply
19-03-2018, 13:13
Post: #5
RE: no icon in taskbar raspberry pi
OK I solved the problem. I deinstalled oracle java and openjava and reinstalled oracle java and all was ok.

I suspect it is not a good idea to have both javas installed at the same time.

I guess I should have investigated further before bothering the forum. I was new to minimserver so I did not have much confidence in finding a solution.

Minimserver is a very good bit of software and seem very reliable.

Thankyou for your help
Find all posts by this user
Quote this message in a reply
19-03-2018, 13:25
Post: #6
RE: no icon in taskbar raspberry pi
Thanks for posting your solution. This will help other users who encounter the same problem.
Find all posts by this user
Quote this message in a reply
19-03-2018, 15:55
Post: #7
RE: no icon in taskbar raspberry pi
Actually I am still having problems. I have reinstall and I get the following issues:

On the console the minimserever icon appears on the desktop but double clicking it seems to be trying to start something but fails. The minimserve item does not appear on the task bar. Could not find any crash reports or error messages.

If I remotely access vi xrdb I get an icon on the desktop and the taskbar

If I remotly access with nomachine it I get desktop icon but not on taskbar. I do get the crash report I posted earlier.

All very odd. The actual server seems to be ok and working
Find all posts by this user
Quote this message in a reply
19-03-2018, 16:32
Post: #8
RE: no icon in taskbar raspberry pi
In a terminal window (opened from the console), type the command:

minimserver/bin/starti

This does the same as double-clicking the desktop launch icon. Do you see an error message in the terminal window?
Find all posts by this user
Quote this message in a reply
19-03-2018, 17:39
Post: #9
RE: no icon in taskbar raspberry pi
Starti does nothing with no error messages. I will investigate further

Thanks
Find all posts by this user
Quote this message in a reply
19-03-2018, 22:38
Post: #10
RE: no icon in taskbar raspberry pi
Are there any error messages in minimserver/data/minimserver.log and/or minimserver/idata/jminim.log?
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)