[Wine] Re: application doesnt start at startup when run via WINE !

vitamin wineforum-user at winehq.org
Fri Oct 10 08:38:34 CDT 2008

noble_curious wrote:
> . Now the situation is that at startup there is no sign of my service being started. To verify if the service script is OK.. I run this script at shell 
>         service MyService start
> where MyService is  the script under init.d directory. But nothing happened
> But strage thing is that when I run script like this:
>         /etc/init.d/MyService start
> or
>        /etc/rc.d/init.d/MyService start
> That works and my service is started!

Look at the source of the"service" script. Wine in 99% cases requires valid X session to operate. Which means DISPLAY env var have to be set. If the "service" script clears environment with say "env" then that's your answer.

More information about the wine-users mailing list