I added '/ViewPower/ViewPower &' to my /etc/rc.d/rc.local file, two years ago. Recently it stopped working. I added " >> /var/log/ViewPower.log 2>&1 " and discovered this java error:
Invocation of this Java Application has caused an ExceptionInInitializerError. This application will now exit. (LAX)
Stack Trace:
java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at sun.awt.HeadlessToolkit.getScreenSize(Unknown Source)
at com.jtattoo.plaf.JTattooUtilities.(Unknown Source)
at com.jtattoo.plaf.DecorationHelper.decorateWindows(Unknown Source)
at com.jtattoo.plaf.AbstractLookAndFeel.setTheme(Unknown Source)
at com.jtattoo.plaf.smart.SmartLookAndFeel.setTheme(Unknown Source)
at com.jtattoo.plaf.smart.SmartLookAndFeel.setCurrentTheme(Unknown Source)
at cn.com.voltronic.console.linux.LinuxMonitorConsole.(LinuxMonitorConsole.java:115)
at cn.com.voltronic.console.linux.LinuxMonitorConsole.main(LinuxMonitorConsole.java:123)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.zerog.lax.LAX.launch(DashoA10..)
at com.zerog.lax.LAX.main(DashoA10..)
This Application has Unexpectedly Quit: Invocation of this Java Application has caused an ExceptionInInitializerError. This application will now exit. (LAX)
Can you tell me how to get ViewPower to work again?