12.04 - ./run_always.sh at startup

Asked by P.B.

Hello all.

I am trying to run ./run_always.sh at startup of the system, which is not a problem at all under 10.04

I made a script called "rxibo" :
-----
#!/bin/sh
export DISPLAY=:0 && cd /opt/xibo/pyclient/client/python/ && ./run_always.sh &
exit 0
-----
What I tried unsuccessfully on 12.04 and worked on 10.04 :
Put it in /etc/init.d/rc.local
Put it in /etc/rc.local
Made a update-rc.d script defaults

The only method making it work is to add the user in sudoers, sudoing the script and call it by the graphic startup application. This working but is not fully optimised in a scripting deployment system.

Do you guys have any clue about that ?

Tx !

Question information

Language:
English Edit question
Status:
Expired
For:
Xibo Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.