Originally Posted by josephw47
I would prefer a script that would run at startup that would start the GUI from runlevel 3 and and log in as the root user.... and bash is not my forte'
No, what you need is a script that starts your program as root when the normal user is logged in automatically (via the normal display manager functions). This is much safer and won't get you flamed.
At first you have to enable your normal user to start the application as root without giving a password. this can easily be done with sudo. Assuming that your normal user's name is josephw47 and the application is named /usr/sbin/rootapp the entry in /etc/sudoers (configurable with visudo) for that should look like this:
josephw47 ALL=NOPASSWD: /usr/sbin/rootapp
If that entry is added you can test your application with
if you use KDE or
if you use Gnome or XFCE. If you can start the app successfully this way just add an entry with that command to your GUIs autostart-feature.
Remember, there is never a need to start a whole GUI as root just for one program.