Le jeu 08/07/2004 à 08:03, Shachar Shemesh a écrit :
Wine won't run if it is set to use the X11drv driver, and there is no X11 display. Then again, the only way I can tell it to use the ttydrv is by placing a config file in the .wine directory, which does not exist until I run wine once.
I suppose it's a headless server/workstation. Would using ssh X forwarding be possible for initial run?
Else, unless you modify the default value in the source code for ttydrv to be the default value, I don't see another solution than copying the config from, eg., /etc/wine/wine.conf (I think the default is ${prefix}/etc/wine.conf), modifying the "GraphicsDriver" value while copying (sed is your friend here).
Note that some of the DX dlls will have problems registering (via wine.inf) with ttydrv. Ove has a patch for his debian packages to work around that issue (which I also use for RH packages).
Vincent