ViewPower stopped working on Linux.

0 votes
asked by about ViewPower
retagged by

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?

1 Answer

0 votes
No avatar answered by (309k points)

As I can see from the error, the application attempts to start in GUI mode. You can ignore this issue if you have no problems running it as this might be a check when it starts. While you are at the command prompt, try running the software with --help option, then check the rc.local file and make sure you're using the right options to run it in command mode only.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register
...