Figured out a way to get it semi-headless in its own X server through xterm/openbox.
/usr/bin/blocklandd:#!/bin/sh
DISPLAY=:1
screen -dmS blockland su blockland -c startx -- $DISPLAY
:0 would be tty1, :1 would be tty2, :2 would be tty3 and so on. I'm not sure at this point if
screen -dmS blockland would even be needed for a startup script.
/srv/blockland/.xinitrc:#!/bin/sh
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
exec openbox-session
Starts openbox. Pretty sure any other DE would be fine.
/srv/blockland/.config/openbox/autostart:GAMEMODE="EndlessMining"
xterm -e "wine ~/Blockland/Blockland.exe [launcher bypass code] -dedicated 1 -gamemode $GAMEMODE" &disown
Launches the dedicated server within xterm,
and then hides xterm with the server still running.
If there's a way to get this to detach from the X server, then I'd consider it headless. It seems like it has to be attached to an X server to have it be connect-able 100%.