I got a headless ubuntu running here, and can see the error messages.
Interestingly, those messages print out but it keeps going (ie, its actually still spamming to console). If you add --backend=curses to the wineconsole command line (before hbds.exe) it spams a lot more to a fresh curses window, indicating that its somehow missing the console spam.
AH! I got it working
Two magic tricks (hooray linux)
ONe: Use the curses backend so that you can type in the console. Add --backend=curses to the command line.
SEcondly, DISABLE STEAM COMMUNITY FEATURES in your hostoptions.cfg in the data folder. It looks like steam does not play nicely if you don't have its dlls or such. Either way. After doing that (setting it to false in HostOptions.cfg) and using --backend=curses, I get it working in my headless virtualbox. It looks like if you don't specifically tell it to use CURSES, it (ie, wine) tries to open some sort of x-window that looks like a msdos box prompt or something but still acts like a win32 window or something (I'm really not sure.).
For me this even works with SCREEN:
screen wineconsole --backend=curses hbds.exe
This allows me to run it and then leave it running in the background yet still interact with it when I return
http://www.rackaid.com/resources/linux- ... nd-how-to/And remember to copy the dll mentioned in the wiki or very strange things MIGHT occur. It did a year ago (rockets spawning in middle of the map). Maybe wine has gotten better by now?
Even virtualized, it was using zero cpu while waiting for players to connect. No idea how that would have gone with real players ;p