[cw-discuss] Start with Linux
Derek Fountain
derekfountain at yahoo.co.uk
Sun Aug 5 04:23:44 CDT 2007
>> Using Crossover on Fedora 7,
>> how can I get a windows startup program,
>> to startup when Linux starts Runlevel 5.
>>
>> Programs are Mailwasher (firetrust.com)
>> Hostsman (http://www.abelhadigital.com)
>>
>> both work perfectly, but need them at startup.
>
> Use:
>
> cxstart --bottle <bottle> ~/.cxoffice/<bottle>/drive_c/Program\ Files/.....
>
> And to launch it in runlevel 5, add a script in /etc/rc5.d (in fact, put
> your script in /etc/init.d and make a sym. link to /etc/rc5.d. Your script
> will be called with the option start if the link starts with a 'S', and
> with stop if it starts with a 'K'. Have a look at existing script to do
> that).
This is what the OP asked, but is it really what he wants to do? This
will attempt to start a GUI application (wine) onto an X Server that's
sitting at an xdm login screen, and surely that will fail? I haven't
tried it, but AFAICS starting any X program before the user logs in is
going to fail, isn't it?
I suppose it depends on what the user actually wants. If he has
automatic login happening, or maybe no login at all, and he places the S
script in the right place in the sequence, it'll work. For a more
regular desktop I would have thought the correct answer would be to put
that script in the KDE $HOME/.kde/AutoStart folder, or run the app from
$HOME/.xinitrc or something.
More information about the discuss
mailing list