Whole day I'm facing a startup script problem.
What I'm looking for is a way to run a single script at boot/before login that will configure my machine and run proper services. (Single script for all users would be cool - easy maintenance)
simple script "/machineSetup.sh"
#LC_NUMERIC - Specifies the decimal delimiter
export LC_NUMERIC="en_US.UTF-8"
#-------------------------------------------------------------------
#add custom aliases path
export PATH=$PATH:/home/user/aliases
#-------------------------------------------------------------------
#run backburnerServer (tool to control remote computing) run process
/usr/discreet/backburner/backburnerServer &
#-------------------------------------------------------------------
#run x11vnc run process
/usr/bin/x11vnc &
I'm on Ubuntu14.04. I already did tests with /etc/rc.local no luck at all. I tried /etc/profile.d/machineSetup.sh but it works only after login.
Would be cool if you can give me any hints. Is it possible at all to store configuration inside single file Thanks in advance for suggestions!
.profile
route. Second thing, it may run in /etc/rc.local, but it runs as root, without any connection to GUI. So I am doubting it would be altering anyting . I would suggest you use/etc/lightdm/lightdm.conf
to link this with GUI and also avoid spawning multiple instances