Linux - Extracting x server when running .exe with wine

I try to run a .exe file (which uses some other DLL files) with wine on the command line of Ubuntu 11.04, but I get an error when the server x does not start and that window (I attached a screenshot).

When I start it normally (normal ubuntu boot, the x server is working), everything is fine, but in fact the window does not appear, which is normal, because the window does not need to run the program. So I just want to know if there is a way to avoid this: somehow imitating that server x is open, or to set $ DISPLAY in some way to β€œtrick” the program.

Error message

+5
source share
1 answer

Just use xvfb.

Xvfb :1 &
DISPLAY=:1 wine ...
+7
source

All Articles