http://bugs.winehq.org/show_bug.cgi?id=34953
Bug #: 34953 Summary: Message "Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly." cannot be suppressed Product: Wine Version: 1.6 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: trivial Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: carsten.schmitz.hh@gmail.com Classification: Unclassified
I am running a Windows console application under Wine which has no visible output except a few lines to console. The machine is a server and has no GUI started.
However when running the application like this:
WINEDEBUG=-all wine Myapp.exe
I still get the message "Application tried to create a window, but no driver could be loaded. Make sure that your X server is running and that $DISPLAY is set correctly." in the console although all debug output should be suppressed by the WINEDEBUG variable.
The application runs just fine, btw, but I am using wine in a bash script and this message is annoying. I can see no way to suppress it except for starting a fake X11 display or using something like Xvgm, which I'd rather not do because of unnecessary overhead for a simple line of text.