Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
no icon in taskbar raspberry pi
20-03-2018, 12:02 (This post was last modified: 20-03-2018 12:04 by trevorjharris.)
Post: #11
RE: no icon in taskbar raspberry pi
I logged in locally and ran startx. The desktop icon was visible but nothing on the task bar.
I then ran starti and got the following in jminim.log

MinimServer 0.8.5.2 update 122, Copyright © 2012-2018 Simon Nash. All rights reserved.
Java™ SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot™ Client VM (build 25.65-b01, mixed mode)
Java runtime options: -Dorg.jminim.processUpdates=false
Platform default charset is UTF-8
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(TrayControl.java:​1827)
at com.minimserver.lib.TrayControl.createAndShowTrayView(TrayControl.java:307)
at com.minimserver.lib.WatchService.initServerWatch(WatchService.java:398)
at com.minimserver.lib.WatchService$Proxy.initServerWatch(WatchService.java:547)
at com.minimserver.ServerWatch.doStart(ServerWatch.java:87)
at com.minimserver.ServerWatch.start(ServerWatch.java:29)
at org.jminim.core.ContextImpl.startComponent(ContextImpl.java:167)
at org.jminim.core.ContextImpl.start(ContextImpl.java:92)
at org.jminim.core.RootContextImpl.startComponent(RootContextImpl.java:68)
at org.jminim.core.ContextImpl.start(ContextImpl.java:92)
at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:2022)
at org.jminim.core.LauncherImpl.run(LauncherImpl.java:1192)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:137)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:121)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav​a:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.jminim.mlaunch.MinimLaunch.doLaunch(MinimLaunch.java:494)
at org.jminim.mlaunch.MinimLaunch.launch(MinimLaunch.java:145)
at org.jminim.mlaunch.MinimLaunch.launch(MinimLaunch.java:89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav​a:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.jminim.mlaunch.MinimLaunch.doLaunch(MinimLaunch.java:494)
at org.jminim.mlaunch.MinimLaunch.launch(MinimLaunch.java:145)
at org.jminim.mlaunch.MinimLaunch.launch(MinimLaunch.java:89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav​a:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.jminim.launch.Launcher.launch(Launcher.java:88)
at org.jminim.launch.Launcher.main(Launcher.java:51)


There was no error message in minimserver.log. The this was java -version

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)

Regards trevor
Find all posts by this user
Quote this message in a reply
20-03-2018, 19:08
Post: #12
RE: no icon in taskbar raspberry pi
I am away from home and can't try this at the moment. On my Pi3, I have used raspi-config to automatically start the desktop on boot and I don't see this problem. Can you try doing this as a test to see if it fixes the problem?
Find all posts by this user
Quote this message in a reply
21-03-2018, 23:14
Post: #13
RE: no icon in taskbar raspberry pi
Tried this and it did not fix the problem.
Find all posts by this user
Quote this message in a reply
22-03-2018, 08:53
Post: #14
RE: no icon in taskbar raspberry pi
Are you logging in as the default pi user? Did you install MinimServer as this user and did you use this user to run setup (without sudo)?
Find all posts by this user
Quote this message in a reply
23-03-2018, 17:37
Post: #15
RE: no icon in taskbar raspberry pi
I have solved the issue. I must have installed it as root at some time as it was a permissions problem.
I reinstalled as pi and all worked ok.

Sorry to have bothered you
Find all posts by this user
Quote this message in a reply
23-03-2018, 20:55
Post: #16
RE: no icon in taskbar raspberry pi
Thanls for letting me know. This will be useful if anyone else has the same problem.
Find all posts by this user
Quote this message in a reply
25-03-2018, 09:02
Post: #17
RE: no icon in taskbar raspberry pi
Not quite the same problem, but the Minim icon has disappeared from my QNAP's main screen. Shortcuts are on the login screen, but no matter if I toggle it on/off or all users/admin user only, it refuses to show.
Same problem on a different system perhaps?
Find all posts by this user
Quote this message in a reply
25-03-2018, 13:12
Post: #18
RE: no icon in taskbar raspberry pi
Definitely not the same problem. Please start a new thread to discuss this.
Find all posts by this user
Quote this message in a reply
26-03-2018, 14:53
Post: #19
RE: no icon in taskbar raspberry pi
Ah!! I thought I solved this but I think I have identified a problem. It seems I can only get the icon in the taskbar if only one desktop is running. I use 3 ways of connecting to the desktop console, xrdb and nomachine. The first desktop I start is ok but subsequent desktops dont not display in the taskbar. Eg if I start with the console it is ok. If I now loging with xrdb it will not display in the xrdb desktop. If I now log out of the console I can double click on the xrdb icon and the icon in the task bar will appear and so on..... So it seems minimserver interface can only work on one desktop at a time. Might explane I was getting so confused about this problem. I guess for most people it would not be an issue.
Find all posts by this user
Quote this message in a reply
27-03-2018, 13:28
Post: #20
RE: no icon in taskbar raspberry pi
MinimServer can only display one taskbar icon at a time. If you have a taskbar icon displayed and then start a second desktop, the second desktop won't show a taskbar icon.

I understand that this is an issue for users who use multiple desktops at the same time and I will look into whether it would be possible to remove this limitation.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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