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

Darragh Bailey felix at compsoc.nuigalway.ie
Fri Oct 10 09:17:56 CDT 2008


On Fri, Oct 10, 2008 at 12:30:52AM -0500, noble_curious wrote:
> Have I asked irrelevent question?  :(
> 

You need to look more closely at how services are run by linux.

1) Services started by the init process are run as the root user, which
you should no use for running wine apps, so you need to look at having
the service start wine+program as a different user.

2) Running '/etc/init.d/MyService start' as a normal user with a
graphical interface running, is not the same as running it as a service
that gets started at system boot-up.

3) wine normally requires use of X as mentioned by other people, which
means that it will fail to run if the desktop is not up yet. Also you
shouldn't run a process that requires X as a service.

Basically services in linux are completely background and do not require
a desktop, services in windows generally rely on the explorer process to
be running, which requires a graphical desktop. It is only since windows
server 2008 that this has changed.


Perhaps what you really want to is start a wine instance with that
program on login? Gnome/KDE can be configured to execute scripts on
login which might give you what you really want.

-- 
Darragh

"Nothing is foolproof to a sufficiently talented fool."



More information about the wine-users mailing list