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.
https://bugs.winehq.org/show_bug.cgi?id=34953
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
--- Comment #1 from Austin English austinenglish@gmail.com --- Still in 1.7.37.
https://bugs.winehq.org/show_bug.cgi?id=34953
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #2 from super_man@post.com --- This bug has a download keyword, how do you test this bug?
https://bugs.winehq.org/show_bug.cgi?id=34953
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |austinenglish@gmail.com Ever confirmed|0 |1
--- Comment #3 from Austin English austinenglish@gmail.com --- $ unset DISPLAY $ export WINEDEBUG=-all $ wineconsole cmd
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. 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. wine: configuration in '/home/austin/.wine' has been updated. 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. Microsoft Windows 5.1.2600 (1.7.53)
Z:\home\austin>
https://bugs.winehq.org/show_bug.cgi?id=34953
--- Comment #4 from Austin English austinenglish@gmail.com --- I'll send a patch in a bit.
https://bugs.winehq.org/show_bug.cgi?id=34953
--- Comment #5 from Austin English austinenglish@gmail.com --- (In reply to Austin English from comment #4)
I'll send a patch in a bit.
https://source.winehq.org/patches/data/116680 https://source.winehq.org/patches/data/116681
https://bugs.winehq.org/show_bug.cgi?id=34953
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |230217e4d2a62a079efdb8a06af | |bba08f12021b8 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #6 from Austin English austinenglish@gmail.com --- Fixed by https://source.winehq.org/git/wine.git/commitdiff/230217e4d2a62a079efdb8a06a...
https://bugs.winehq.org/show_bug.cgi?id=34953
--- Comment #7 from carsten.schmitz.hh@gmail.com --- Great - thank you very much!
https://bugs.winehq.org/show_bug.cgi?id=34953
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.8-rc1.