LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-07-2004, 12:06 PM   #1
anthjaz
Member
 
Registered: Sep 2003
Distribution: RH9
Posts: 37

Rep: Reputation: 15
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!
 
Old 05-07-2004, 12:24 PM   #2
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
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.

Last edited by superbondbond; 05-07-2004 at 12:54 PM.
 
Old 05-07-2004, 12:51 PM   #3
anthjaz
Member
 
Registered: Sep 2003
Distribution: RH9
Posts: 37

Original Poster
Rep: Reputation: 15
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!
 
Old 05-07-2004, 01:21 PM   #4
anthjaz
Member
 
Registered: Sep 2003
Distribution: RH9
Posts: 37

Original Poster
Rep: Reputation: 15
Is there an Autostart for Gnome. I'll have to install KDE if not?
 
Old 05-07-2004, 02:23 PM   #5
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
Yeah, just click
Applications -> Desktop Preferences -> Advanced -> Sessions.

There's a tab called "Startup Programs"

et voila!
 
Old 05-07-2004, 03:18 PM   #6
anthjaz
Member
 
Registered: Sep 2003
Distribution: RH9
Posts: 37

Original Poster
Rep: Reputation: 15
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!
 
Old 05-09-2004, 08:20 PM   #7
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
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.

Last edited by Kristijan; 05-09-2004 at 08:24 PM.
 
Old 05-12-2004, 01:40 PM   #8
shmude
Member
 
Registered: Aug 2003
Distribution: Fedora, DSL, LAS, Knoppix
Posts: 83

Rep: Reputation: 15
yes it is pusihing out the table
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rc.local not running? sbirnie Slackware 6 04-13-2005 01:18 AM
Running X as local user Ephracis Linux - Software 1 11-05-2004 04:07 PM
boot hangs after running /etc/init.d/boot.local eddieb Linux - Newbie 2 07-18-2004 06:57 AM
rc.local not running on boot??? Evilone Linux - Software 1 09-08-2003 01:01 PM
running program in local directory bob10a Linux - General 6 11-04-2002 06:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration