Originally Posted by GuSec I've tried for hours now. It is impossible to get it to autostart. Seriously what should I do? Code: exec /usr/bin/aegis-exec -s -u user sh -c 'source /etc/profile; PATH=$PATH:/usr/local/bin; develsh -c n9-button-monitor' #exec sh -c 'source /etc/profile; PATH=$PATH:/usr/local/bin; develsh -c n9-button-monitor' #exec /usr/bin/aegis-exec -s -u user sh -c 'DISPLAY=:0 n9-button-monitor' How can I debug it? Now I can't start it at all from terminal. Can't get necessary permissions from develsh. How is this possible? Is aegis having fun giving permissions one day and blocking them the next? sucks. i also had tons of trouble getting my autostart script to work, and that was on openmode. my current hypothesis for your problem is that its running at startup with incorrect permissions, and then somehow mucking you up.
I've tried for hours now. It is impossible to get it to autostart. Seriously what should I do? Code: exec /usr/bin/aegis-exec -s -u user sh -c 'source /etc/profile; PATH=$PATH:/usr/local/bin; develsh -c n9-button-monitor' #exec sh -c 'source /etc/profile; PATH=$PATH:/usr/local/bin; develsh -c n9-button-monitor' #exec /usr/bin/aegis-exec -s -u user sh -c 'DISPLAY=:0 n9-button-monitor' How can I debug it? Now I can't start it at all from terminal. Can't get necessary permissions from develsh. How is this possible? Is aegis having fun giving permissions one day and blocking them the next?
exec /usr/bin/aegis-exec -s -u user sh -c 'source /etc/profile; PATH=$PATH:/usr/local/bin; develsh -c n9-button-monitor' #exec sh -c 'source /etc/profile; PATH=$PATH:/usr/local/bin; develsh -c n9-button-monitor' #exec /usr/bin/aegis-exec -s -u user sh -c 'DISPLAY=:0 n9-button-monitor'
<aegis> <request> <credential name="UID::user" /> <credential name="GID::users" /> <credential name="GRP::users" /> <for path="/opt/n9-button-monitor/start.sh" /> <for path="/opt/n9-button-monitor/stop.sh" /> <for path="/opt/n9-button-monitor/n9-button-monitor.py" /> </request> </aegis>
exec /usr/bin/aegis-exec -s -l -u user /opt/n9-button-monitor/start.sh