I'm trying to run a .exe file (that uses some other .dll files) with wine, in Ubuntu 11.04, command line, but i get an error regarding the x server not being started and that a window is being created (i attached a screenshot).
When I run it normally (normal ubuntu boot, x server running) everything is ok, but actually, no window is displayed, which is normal because no window is needed for the program to run. So I just want to know if there is a way to avoid that: somehow simulating that the x server is open or to set $DISPLAY in some way to "fool" the program.
Most binary Wine packages will associate Wine with .exe files for you. If that is the case, you should be able to simply double-click on the .exe file in your file manager, just like in Windows. You can also right-click on the file, choose "Run with", and choose "Wine".
Wine will allow you to run the Windows executable file on your Mac without using a Windows emulator.
• An X-server allows you to display graphical problems from a UNIX/Linux machine on your local. computer. • Examples of programs with graphical front-ends include Matlab, R, S-Plus, SAS and emacs.
For the command, type in wine the-location-of-the-program.exe (e.g. wine /home/john/. wine/realplayer.exe). The most important part of creating a launcher is the command, the generic name is not as important. Just make sure you de-select "Run in terminal." This completes the process.
Just use Xvfb.
Xvfb :1 &
DISPLAY=:1 wine ...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With