L2JMobius

Fafurion Server Installation on Linux- problem with Account manager, Register Game serve

happyshark · 1 · 44

Offline happyshark

  • Vassal
  • *
    • Posts: 1
Dear Team,

I am trying to install a Fafurion server for the kids on a Debian 13 Linux without a desktop environment. I have difficulties to run the following scripts: Account manager.sh, Register Game server.sh and  Database installer.sh as they are complaining  about the missing desktop environment see below:

 ./AccountManager.sh
[main] INFO com.zaxxer.hikari.HikariDataSource - L2JMobiusPool - Starting...
[main] INFO com.zaxxer.hikari.HikariDataSource - L2JMobiusPool - Start completed.
Exception in thread "AWT-EventQueue-0" java.awt.HeadlessException:
No X11 DISPLAY variable was set,
or no headful library support was found,
but this program performed an operation which requires it.
        at java.desktop/java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:158)

I researched it on google and I found that I may use the "-Djava.awt.headless=true" option in the script file (i.e. java -Djava.awt.headless=true -Djava.util.logging.config.file=console.cfg -cp ./../libs/*: org.l2jmobius.tools.AccountManager) however I got similar error.

./AccountManager.sh
[main] INFO com.zaxxer.hikari.HikariDataSource - L2JMobiusPool - Starting...
[main] INFO com.zaxxer.hikari.HikariDataSource - L2JMobiusPool - Start completed.
Exception in thread "AWT-EventQueue-0" java.awt.HeadlessException
        at java.desktop/java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:158)
        at java.desktop/java.awt.Window.<init>(Window.java:518)
        at java.desktop/java.awt.Frame.<init>(Frame.java:428)
        at java.desktop/java.awt.Frame.<init>(Frame.java:393)
        at java.desktop/javax.swing.JFrame.<init>(JFrame.java:180)


I set the EnableGUI to false in all Interface.ini files but still no luck. I am not  sure if I missed something during the setup or this needs to be fixed in the source code.

Sorry if I did not posted this in the right place please feel free to move it.

Any help appreciated.