Wine without X.

Nate Amsden subscriptions at
Tue Oct 16 14:45:21 CDT 2001


i compiled a version of wine. and have it running on a webserver just fine. no
X running. its for a specific app which is a win32 command line(i think its
an inhouse app but im not sure) there is nothing but command line interaction.

on the webserver it works, on another system internally it does not. it fails
with x11drv unable to open the display. i imagine this is because wine is trying
to be smart and detect that X is installed and use the X display? its the
same kind of system - debian gnu/linux 2.2r3, and the binaries are just copied
over. everything is in /usr/local/wine.

sample output from the webserver:
www:/usr/local/wine/tmp# /usr/local/wine/bin/wine --
/usr/local/wine/tmp/lmcrypt.exe -i e:\input.txt -o e:\output.dat
Could not stat /mnt/fd0 (No such file or directory), ignoring drive A:
Could not load graphics driver 'x11drv'
err:module:BUILTIN32_dlopen failed to load .so lib for builtin ws2_32.dll:
/usr/local/wine/lib/ undefined symbol: PostMessageA
err:module:PE_fixup_imports Module (file) ws2_32.dll needed by wsock32.dll not
err:module:load_library can't load wsock32.dll
err:module:BUILTIN32_LoadLibraryExA loaded .so but dll wsock32.dll still not
(program executes and creates the output successfully)

sample output from the internal server:
webdev:/usr/local/wine/bin# /usr/local/wine/bin/wine --
/usr/local/wine/tmp/lmcrypt.exe -i e:\input.txt -o e:\output.dat
Warning: could not find wine config [Drive x] entry for current working
directory /usr/local/wine/bin; starting in windows directory.
x11drv: Can't open display: 

so is there a way i can disable the x11drv driver? that is probably the key.
i can probably do it if i remove X but the tester would like to keep X on
that system for their work if possible. the wine i am running is:
Wine release 20010824

please CC: me on replies as i am not on the list!


Nate Amsden
System Administrator

More information about the wine-users mailing list