Error when loading plugin in Headless (daemon) mode

For help and support with issues specific to Linux/Unix
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

Error when loading plugin in Headless (daemon) mode

Postby astjohn » Thu Jul 05, 2012 2:01 am

All,

I have been using PS3 Media Server for quite some time now. Recently, I decided to try out the Channels plugin. Unfortunately, I get the following error:

Code: Select all
[main] INFO  2012-07-04 20:52:35.013 Registering transcoding engine: VLC Video Streaming
[main] INFO  2012-07-04 20:52:35.013 Registering transcoding engine: dcraw Thumbnailer
[main] INFO  2012-07-04 20:52:35.213 Start channel 1.42
[main] INFO  2012-07-04 20:52:35.259 Configuration error: net.pms.PMS.getRegistry()Lnet/pms/io/WinUtils;
[main] INFO  2012-07-04 20:52:37.427 Exception in thread "main" java.awt.HeadlessException:
[main] INFO  2012-07-04 20:52:37.427 No X11 DISPLAY variable was set, but this program performed an operation which requires it.
[main] INFO  2012-07-04 20:52:37.427    at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)
[main] INFO  2012-07-04 20:52:37.427    at java.awt.Window.<init>(Window.java:437)
[main] INFO  2012-07-04 20:52:37.427    at java.awt.Frame.<init>(Frame.java:419)
[main] INFO  2012-07-04 20:52:37.427    at java.awt.Frame.<init>(Frame.java:384)
[main] INFO  2012-07-04 20:52:37.427    at javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1758)
[main] INFO  2012-07-04 20:52:37.428    at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1835)
[main] INFO  2012-07-04 20:52:37.428    at javax.swing.JOptionPane.getRootFrame(JOptionPane.java:1692)
[main] INFO  2012-07-04 20:52:37.428    at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:864)
[main] INFO  2012-07-04 20:52:37.428    at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:668)
[main] INFO  2012-07-04 20:52:37.428    at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:639)
[main] INFO  2012-07-04 20:52:37.428    at net.pms.PMS.main(PMS.java:886)


Note the X11 DISPLAY variable error.
I wiped clean and re-installed using happy.neko's awesome package.

This is a weird one since everything works correctly without the plugin. The only configuration option I have found so far is within PMS.conf

Code: Select all
# Operating Mode
# --------------
# GUI Option: Start Minimized (toggle)
# Sets whether the GUI should start when the program is launched.
# On headless systems, this should be "true"; default is "false".
minimized = true


Am I missing something?
Any help is appreciated. Thanks!
astjohn
 
Posts: 9
Joined: Wed Dec 08, 2010 3:08 am

Return to Linux/Unix Support

Who is online

Users browsing this forum: Google [Bot] and 2 guests