Problem Unable to start FTB Mindcrack server on headless Ubuntu

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Tasweb

New Member
Jul 29, 2019
2
0
0
I have the latest FTB server download and it works fine when started under Ubuntu from a graphical environment using the ServerStart.sh script however I notice that it spawns an X server console gui. If I try to start the server the same way but from an SSH session with no X enabled the server fails to start and throws a "[INFO] [STDERR] Caused by: java.lang.InternalError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable." error. This would be because the server gui console is unable to launch.

Is there a way to launch the server without spawning the X console as without this I am unable to add an init.d script to start the server at bootup?
 

NooBxGockeL

New Member
Jul 29, 2019
93
0
0
use the "-nogui" parameter f.e.:
Code:
java -server -Xmx8192M -jar server.jar nogui
ofc you have to change the memory you want to be allocated and the jar parameter to the name of your jar!