LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   rc.local not running at boot (https://www.linuxquestions.org/questions/fedora-35/rc-local-not-running-at-boot-178990/)

anthjaz 05-07-2004 12:06 PM

rc.local not running at boot
 
All I am trying to do is get mozilla to open up automatically after the computer has booted. Like putting a shotcut to a program in the startup folder in M$? That didn't sound too difficult until I tried doing it.

Right now I am booting to run level "init 5". The stations will not have keyboards or mice to open mozilla. I also need it to autologin to but I want to start with mozilla open after boot.

I am running Fedora Core 1.

I tried adding commands to the rc.local file but the rc.local file doesn't run at boot? If I just open command line and type mozilla the browser comes up, so I tried adding mozilla and I tried adding /usr/bin/mozilla too. Neither worked!

superbondbond 05-07-2004 12:24 PM

could be that your rc.local isn't executable.

chmod +x rc.local

Also FYI, KDE has an autostart folder for this purpose. you would simply have to place a link to Mozilla in /home/user/.kde/Autostart.

anthjaz 05-07-2004 12:51 PM

My rc.local in /etc/rc.d/rc.local is 755. It is executable. It just isn't running at boot.

I didn't know about:

/home/user/.kde/Autostart

I will try that out. Thanks!

anthjaz 05-07-2004 01:21 PM

Is there an Autostart for Gnome. I'll have to install KDE if not?

superbondbond 05-07-2004 02:23 PM

Yeah, just click
Applications -> Desktop Preferences -> Advanced -> Sessions.

There's a tab called "Startup Programs"

et voila!

anthjaz 05-07-2004 03:18 PM

Ok, that did it and I got autologin working.

Now I just have to figure out this Netgear MA311. It keeps coming up in Kudzu when I reboot. I posted in the WL.

Thanks again!

Kristijan 05-09-2004 08:20 PM

Just an opinion, rc.local is ran on boot. (ie: Before X has had a chance to load.) This could be why Mozilla won't load for you.

Go for the auto-start option in your window manager, good luck :)

Kristijan

EDIT: Under my details, is my location (/Australia/Victroia/Melbourne) kicking out the formatting of the table? At home it seems fine, but here at school it looks out of whack.

shmude 05-12-2004 01:40 PM

yes it is pusihing out the table


All times are GMT -5. The time now is 08:54 AM.