Afternoon!
I'm running Mint14 (MATE) on a HP N40L, headless for the most part, but with GUI or VNC when its called for. My linux knowledge is fairly basic, but I can setup, access remotely, install stuff, navigate around, have created samba shares and dlna server etc so not completely ignorant
I want to execute a few commands on boot/login but despite much googling and trying a few things (inc GUI autostart stuff and various scripts/locations) I cannot get it to work.
The last thing I tried before resorting to asking for help:
created script: /etc/init.d/mybootscript
script contents:
"#!/bin/sh
<list of terminal commands>
minidlna
vncserver -geometry ...blahblah
...
...
<end list of terminal commands>"
then tried:
sudo chmod +x /etc/init.d/mybootscript
sudo update-rc.d mybootscript defaults 80
But no joy.
Any suggestions on how to do it properly?
Every link I get from Google says something different, I guess due to different distro's and revisions etc.
Open to suggestions of other means too (custom services?).
TIA
I'm running Mint14 (MATE) on a HP N40L, headless for the most part, but with GUI or VNC when its called for. My linux knowledge is fairly basic, but I can setup, access remotely, install stuff, navigate around, have created samba shares and dlna server etc so not completely ignorant
I want to execute a few commands on boot/login but despite much googling and trying a few things (inc GUI autostart stuff and various scripts/locations) I cannot get it to work.
The last thing I tried before resorting to asking for help:
created script: /etc/init.d/mybootscript
script contents:
"#!/bin/sh
<list of terminal commands>
minidlna
vncserver -geometry ...blahblah
...
...
<end list of terminal commands>"
then tried:
sudo chmod +x /etc/init.d/mybootscript
sudo update-rc.d mybootscript defaults 80
But no joy.
Any suggestions on how to do it properly?
Every link I get from Google says something different, I guess due to different distro's and revisions etc.
Open to suggestions of other means too (custom services?).
TIA