Running UMS headless on Fedora 24
Posted: Thu Oct 20, 2016 3:11 am
I am attempting to run UMS headless on Fedora 24. I have searched for "x11", "headless", and a number of error message substrings, to no avail, so I am asking for help here.
I believe that I have followed the instructions at viewtopic.php?f=10&t=8518
I have extracted UMS-6.5.1-Java8.tgz to /home/bblackmoor/scripts/ums-6.5.1
I have configured /home/bblackmoor/.config/UMS/UMS.conf like so:
When I attempt to execute UMS, I see this:
Someone suggested passing the parameter "console" to UMS.sh, but that has the same result:
Do you have any suggestions, please?
Thank you.
I believe that I have followed the instructions at viewtopic.php?f=10&t=8518
I have extracted UMS-6.5.1-Java8.tgz to /home/bblackmoor/scripts/ums-6.5.1
I have configured /home/bblackmoor/.config/UMS/UMS.conf like so:
Code: Select all
minimized = true
folders = /home/bblackmoor/Music,/home/bblackmoor/Videos,/home/bblackmoor/Images
Code: Select all
[11:04:47 bblackmoor@annwn:ums-6.5.1]$ ./UMS.sh
PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused
11:06:10,534 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
11:06:10,625 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - About to instantiate property definer of type [net.pms.logging.DebugLogPropertyDefiner]
11:06:10,642 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - Popping property definer for property named [logFilePath] from the object stack
11:06:10,642 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - About to instantiate property definer of type [net.pms.logging.DebugLogPropertyDefiner]
11:06:10,643 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - Popping property definer for property named [rootLevel] from the object stack
11:06:10,643 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - About to instantiate property definer of type [net.pms.logging.DebugLogPropertyDefiner]
11:06:10,643 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - Popping property definer for property named [logFileName] from the object stack
11:06:10,643 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
11:06:10,643 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [console]
11:06:10,670 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.FileAppender]
11:06:10,671 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [default.log]
11:06:10,673 |-INFO in ch.qos.logback.core.FileAppender[default.log] - File property is set to [/home/bblackmoor/.config/UMS/debug.log]
11:06:10,675 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
11:06:10,676 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [default.log.10MB]
11:06:10,682 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@5c3bd550 - Will use zip compression
11:06:10,687 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[default.log.10MB] - Active log file name: /home/bblackmoor/.config/UMS/debug.log
11:06:10,687 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[default.log.10MB] - File property is set to [/home/bblackmoor/.config/UMS/debug.log]
11:06:10,688 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[default.log.10MB] - 'File' option has the same value "/home/bblackmoor/.config/UMS/debug.log" as that given for appender [default.log] defined earlier.
11:06:10,688 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[default.log.10MB] - Collisions detected with FileAppender/RollingAppender instances defined earlier. Aborting.
11:06:10,688 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[default.log.10MB] - For more information, please visit http://logback.qos.ch/codes.html#earlier_fa_collision
11:06:10,688 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache] to WARN
11:06:10,688 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [httpclient.wire] to WARN
11:06:10,688 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [fm.last.musicbrainz.coverart] to WARN
11:06:10,688 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to DEBUG
11:06:10,688 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [console] to Logger[ROOT]
11:06:10,688 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [default.log] to Logger[ROOT]
11:06:10,688 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
11:06:10,688 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@91161c7 - Registering current configuration as safe fallback point
ERROR 11:06:10.383 [main] Toolkit error: java.awt.AWTError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
INFO 11:06:10.457 [main] Language not specified, defaulting to OS language.
ERROR 11:06:10.702 [main] Failed to write PID file: /home/bblackmoor/.config/UMS/data/pms.pid (No such file or directory)
Exception in thread "main" 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 sun.swing.SwingUtilities2.getSystemMnemonicKeyMask(SwingUtilities2.java:2020)
at javax.swing.plaf.basic.BasicLookAndFeel.initComponentDefaults(BasicLookAndFeel.java:1158)
at javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:431)
at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:148)
at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1577)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:539)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:579)
at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1349)
at javax.swing.UIManager.initialize(UIManager.java:1459)
at javax.swing.UIManager.maybeInitialize(UIManager.java:1426)
at javax.swing.UIManager.getUI(UIManager.java:1006)
at javax.swing.JPanel.updateUI(JPanel.java:126)
at javax.swing.JPanel.<init>(JPanel.java:86)
at javax.swing.JPanel.<init>(JPanel.java:109)
at javax.swing.JPanel.<init>(JPanel.java:117)
at net.pms.newgui.LanguageSelection.<init>(LanguageSelection.java:76)
at net.pms.PMS.init(PMS.java:410)
at net.pms.PMS.createInstance(PMS.java:1089)
at net.pms.PMS.main(PMS.java:1249)
Code: Select all
[11:06:10 bblackmoor@annwn:ums-6.5.1]$ ./UMS.sh --console
PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused
11:08:17,085 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
11:08:17,177 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - About to instantiate property definer of type [net.pms.logging.DebugLogPropertyDefiner]
11:08:17,194 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - Popping property definer for property named [logFilePath] from the object stack
11:08:17,194 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - About to instantiate property definer of type [net.pms.logging.DebugLogPropertyDefiner]
11:08:17,195 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - Popping property definer for property named [rootLevel] from the object stack
11:08:17,195 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - About to instantiate property definer of type [net.pms.logging.DebugLogPropertyDefiner]
11:08:17,195 |-INFO in ch.qos.logback.core.joran.action.DefinePropertyAction - Popping property definer for property named [logFileName] from the object stack
11:08:17,195 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
11:08:17,195 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [console]
11:08:17,220 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.FileAppender]
11:08:17,222 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [default.log]
11:08:17,224 |-INFO in ch.qos.logback.core.FileAppender[default.log] - File property is set to [/home/bblackmoor/.config/UMS/debug.log]
11:08:17,225 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.rolling.RollingFileAppender]
11:08:17,226 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [default.log.10MB]
11:08:17,232 |-INFO in ch.qos.logback.core.rolling.FixedWindowRollingPolicy@5c3bd550 - Will use zip compression
11:08:17,237 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[default.log.10MB] - Active log file name: /home/bblackmoor/.config/UMS/debug.log
11:08:17,237 |-INFO in ch.qos.logback.core.rolling.RollingFileAppender[default.log.10MB] - File property is set to [/home/bblackmoor/.config/UMS/debug.log]
11:08:17,238 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[default.log.10MB] - 'File' option has the same value "/home/bblackmoor/.config/UMS/debug.log" as that given for appender [default.log] defined earlier.
11:08:17,238 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[default.log.10MB] - Collisions detected with FileAppender/RollingAppender instances defined earlier. Aborting.
11:08:17,238 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[default.log.10MB] - For more information, please visit http://logback.qos.ch/codes.html#earlier_fa_collision
11:08:17,238 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache] to WARN
11:08:17,238 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [httpclient.wire] to WARN
11:08:17,238 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [fm.last.musicbrainz.coverart] to WARN
11:08:17,238 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to DEBUG
11:08:17,238 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [console] to Logger[ROOT]
11:08:17,238 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [default.log] to Logger[ROOT]
11:08:17,239 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
11:08:17,239 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@91161c7 - Registering current configuration as safe fallback point
ERROR 11:08:16.931 [main] Toolkit error: java.awt.AWTError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
INFO 11:08:17.006 [main] Language not specified, defaulting to OS language.
ERROR 11:08:17.252 [main] Failed to write PID file: /home/bblackmoor/.config/UMS/data/pms.pid (No such file or directory)
Exception in thread "main" 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 sun.swing.SwingUtilities2.getSystemMnemonicKeyMask(SwingUtilities2.java:2020)
at javax.swing.plaf.basic.BasicLookAndFeel.initComponentDefaults(BasicLookAndFeel.java:1158)
at javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:431)
at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:148)
at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1577)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:539)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:579)
at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1349)
at javax.swing.UIManager.initialize(UIManager.java:1459)
at javax.swing.UIManager.maybeInitialize(UIManager.java:1426)
at javax.swing.UIManager.getUI(UIManager.java:1006)
at javax.swing.JPanel.updateUI(JPanel.java:126)
at javax.swing.JPanel.<init>(JPanel.java:86)
at javax.swing.JPanel.<init>(JPanel.java:109)
at javax.swing.JPanel.<init>(JPanel.java:117)
at net.pms.newgui.LanguageSelection.<init>(LanguageSelection.java:76)
at net.pms.PMS.init(PMS.java:410)
at net.pms.PMS.createInstance(PMS.java:1089)
at net.pms.PMS.main(PMS.java:1249)
Thank you.