31
Installation issues / Re: Starting CORE software automatically. Beta1.1
« on: August 26, 2007, 04:39:41 pm »How To Start The Core Software automatically at boot:
First: Ubuntu/Kubuntu doesn't use anymore the System-V init process, instead it uses upstart, more info on: http://upstart.ubuntu.com/
Second: The LMCE config file is: /etc/pluto.conf . Here you can configure if you what to automatically start the core and/or the orbiter:
AutostartCore=0 : the CORE will not automatically start after Launch Manager starts
=1 : the CORE will automatically start after Launch Manager starts
equivalent with the "Autostart CORE" check box from the Launch Manager
AutostartMedia=0 : the Orbiter will not automatically start after Launch Manager starts
=1 : the Orbiter will automatically start after Launch Manager starts
equivalent with the "Autostart Media Station" check box from the Launch Manager
Third:
A.How to change from: "Primary used as PC -- KDE starts by default" to "A dedicated LMCE System - You can start KDE when you need
it"
Step0: Open a console (ALT+CTRL+F2), login, go root (sudo su - and your password when asked)
Step1: modify AutostartCore=1 option in /etc/pluto.conf file
nano /etc/pluto.conf
Step2: rename /etc/init.d/kdm to /etc/init.d/kdm.saved
mv /etc/init.d/kdm /etc/init.d/kdm.saved
Step3.1: create pluto file in /etc/event.d
nano /etc/event.d/pluto
and write this line in it:
start on runlevel 2
stop on shutdown
stop on runlevel 3
stop on runlevel 4
stop on runlevel 5
script
/usr/pluto/bin/Startup_Core-Hybrid.sh
end script
Step3.2: Save it and set 644 rights on it
CTRL+O , Enter, CTRL+X (in nano) ,
then in console:
chmod 644 /etc/event.d/pluto
Step4: Reboot your PC
B.How to change from: "A dedicated LMCE System - You can start KDE when you need it" to "Primary used as PC -- KDE starts by default"
Step0: Open a console (ALT+CTRL+F2), login, go root (sudo su - and your password when asked)
Step1: rename /etc/init.d/kdm.saved to /etc/init.d/kdm
mv /etc/init.d/kdm.saved /etc/init.d/kdm
Step2: delete the pluto file from /etc/event.d
rm /etc/event.d/pluto
Step3: Reboot your PC
Ok, the above doesn't work without modification..
The options mentioned in pluto.conf aren't there, so, you have to add them, not just change them.
The actual command to run is /usr/pluto/bin/StartCoreServices.sh since the other one starts the graphical launch wizard. That seems to startup the core service as I want.
The other script that should be made, is one that calls StopCoreServices.sh on shutdown.
Bill