I was trying to run a bash script at at startup in oracle virtualbox ubuntu 16.04, so I added the bash file in /etc/init.d as well as in ~./config/upstart. When I rebooted my system, it is starting but then just a blank screen comes with no desktop, nothing. Anyone got an idea how to correct it? The bash file starts with #!bin/bash and then normal commands
rw
like this:mount -o remount,rw /
before doing anything~
will refer toroot
; if you want to remove or edit a script in you user's home you will need to specify that explicitly i.e./home/username/.config/upstart