I'm working on putting together a private FTB server for my kids. The server runs on my application server, an 8-core Linux box in my server rack that is effectively headless. (It has a monitor, via a KVM, but the monitor is almost never used.) The way I had my previous (Craftbukkit) server set up is that I have a startup script which su's to the minecraft server user, starts up a detached tmux session (similar to screen, but more powerful), and then sends a command into that session to start the MC server. If I need to access the MC server console for any reason, I just SSH into the server and attach to the tmux session.
The problem I'm running into is that the FTB server ALSO starts up a GUI console, in addition to the usual Minecraft-server text console. If it cannot get an X11 display, which it won't when run from an init script, the FTB server fails to start because it can't create the GUI console. This means that in order to be able to start the FTB server, I have to either log in on my app-server's console as the minecraft-server user and leave it logged on, or manually start the FTB server via an SSH connection from my workstation. In the latter case, of course, the graphical console comes up on my workstation, and if I close it or log out, the FTB server terminates.
Is there any way to configure the FTB server to not start that graphical console?
The problem I'm running into is that the FTB server ALSO starts up a GUI console, in addition to the usual Minecraft-server text console. If it cannot get an X11 display, which it won't when run from an init script, the FTB server fails to start because it can't create the GUI console. This means that in order to be able to start the FTB server, I have to either log in on my app-server's console as the minecraft-server user and leave it logged on, or manually start the FTB server via an SSH connection from my workstation. In the latter case, of course, the graphical console comes up on my workstation, and if I close it or log out, the FTB server terminates.
Is there any way to configure the FTB server to not start that graphical console?