Open scottmando2000 opened 2 years ago
@scottmando2000 I had the same issue as you and was able to fix it yesterday by adding "xvfb-run" to the start-wreckfest.sh script and a DISPLAY environment variable to the Dockerfile. I have to create a full PR still since I modified a few other things, but this is what my final command is:
Line 114 of start-wreckfest.sh xvfb-run exec wine Wreckfest.exe -s server_config=server_config.cfg
Line 4 of Dockerfile ENV DISPLAY :99
I hope that helps. I also ran into some .wine issues where I had to clear the /home/steam/.wine folder and re-run winecfg as the steam user. You may run into those as well, but hopefully not.
Just added PR #31 with the changes I have made.
I've tested running the server locally in an Ubuntu Desktop vm, and it started just fine. Whenever I try to run the image on my headless docker server, it is unable to detect a display.