Thank you, I fixed the spelling errors in my original post, I'm used to Windows so user is a more common term. Your advice worked, although I had to look up where the rc.local file was. Below is the commands I used, may be helpful to someone new like me.
Code:
cd /etc/init.d
sudo gedit rc.local
Here's what my rc.local file looks like.
Code:
#! /bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
[ -f /etc/default/rcS ] && . /etc/default/rcS
. /lib/lsb/init-functions
do_start() {
if [ -x /etc/rc.local ]; then
log_begin_msg "Running local boot scripts (/etc/rc.local)"
/etc/rc.local
log_end_msg $?
fi
}
/usr/local/bulldog/upsd
case "$1" in
start)
do_start
;;
restart|reload|force-reload)
echo "Error: argument '$1' not supported" >&2
exit 3
;;
stop)
;;
*)
echo "Usage: $0 start|stop" >&2
exit 3
;;
esac
I'm surprised that this worked so easily, although I'm disappointed that the sessions manager couldn't properly work. Most of my searches using google to resolve the problem said to use the session manager, which of course wasn't working for me. I've mostly used kde as a desktop(and that was years ago) rather than gnome so I'm not sure if this is an issue with gnome or not.I have a few more issues that I'm trying to resolve but for now I'm okay with ubuntu. Thank you prozac for your quick reply.