Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 13th July 2008, 07:56 PM
netphilic Offline
Registered User
 
Join Date: May 2008
Posts: 18
How can I start freevo (or any Media Center) at boot time

Right now I am starting this application by putting following command at /etc/rc.local.

----
touch /var/lock/subsys/local
#chmod 0666 /dev/dsp
su -l netphilic -c "/usr/bin/freevo -fs
----

The freevo application starts however there are few issues

1). Lots of other daemon starts as well, need to remove unwanted daemon so that system comes ups faster. My run level is.
id:3:initdefault:

# System initialization.
si::sysinit:/etc/rc.d/rc.sysinit

l0:0:wait:/etc/rc.d/rc 0
l1:1:wait:/etc/rc.d/rc 1
l2:2:wait:/etc/rc.d/rc 2
l3:3:wait:/etc/rc.d/rc 3
l4:4:wait:/etc/rc.d/rc 4
l5:5:wait:/etc/rc.d/rc 5
l6:6:wait:/etc/rc.d/rc 6

Please suggest me, what I can remove.

[-mce .freevo]$ ls /etc/rc.d/rc3.d/
K01NetworkManager K87multipathd S26rsyslog
K01smartd K88nasd S26udev-post
K02NetworkManagerDispatcher K89dund S27auditd
K05saslauthd K89netplugd S27messagebus
K10dc_server K89pand S27setroubleshoot
K10psacct K89rdisc S28autofs
K12dc_client K91capi S44acpid
K15httpd kernel-2.6.24.5-85.fc8.src.rpm S50bluetooth
K20hddtemp S05kudzu S55sshd
K20nfs S06cpuspeed S58ntpd
K24irda S08ip6tables S80sendmail
K25squid S08iptables S85gpm
K35nmb S08nvidia S90ConsoleKit
K35smb S09isdn S90crond
K35vncserver S10network S90lirc
K50netconsole S12restorecond S90smolt
K50snmpd S13irqbalance S95atd
K50snmptrapd S13rpcbind S96avahi-daemon
K69rpcsvcgssd S14nfslock S97yum-updatesd
K71lirc S15mdmonitor S98cups
K72wpa_supplicant S18rpcidmapd S98haldaemon
K73winbind S19rpcgssd S99anacron
K73ypbind S25fuse S99firstboot
K74nscd S25netfs S99local
K84btseed S25pcscd S99local.sav
K84bttrack S26lm_sensors
[-mce .freevo]$

What is the best way to use fedora as appliance like the one I am doing with very less overhead and faster bootup ? I use that PC just for playing movie, music, photo etc using freevo.
The Grub doesn't stop longer, I set the timer to 0. So the most of the time is spend in loading kernel and starting all these daemons.

---/etc/grub.conf---

#boot=/dev/sda
default=0
#timeout=5
timeout=0
...
----

2).
I can't shutdown the system from the freevo. (freevo is running as netphilic, not as root).
So I added netphilic in sudoer list

----/etc/sudoers---
## power
Cmnd_Alias POWER = /usr/bin/poweroff, /sbin/shutdown, /sbin/halt
netphilic ALL=(ALL) NOPASSWD: POWER
----

Now when freevo tries to shut the system using poweroff. It get following error.

------
sudo: sorry, you must have a tty to run sudo
------

Thanks
Reply With Quote
  #2  
Old 29th August 2008, 03:50 PM
Silpheed2K's Avatar
Silpheed2K Offline
Registered User
 
Join Date: Aug 2008
Posts: 581
To my knowledge to start an application at at login you go to

System > Preferences > Personal > Sessions

and manually add the program there.

Know the answer may be a little late but try that.

If that doesn't work then I'm at a loss.
Reply With Quote
  #3  
Old 30th August 2008, 03:07 AM
mjmwired's Avatar
mjmwired Offline
Registered User
 
Join Date: Feb 2005
Posts: 204
You should go through and carefully determine which services you don't need.
http://www.mjmwired.net/resources/mjm-services-f9.html
Reply With Quote
Reply

Tags
boot, center, freevo, media, start, time

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora as Media Center arun_maurya Using Fedora 4 12th May 2008 05:38 AM
dual boot problem XP Media Center + F8 X86_64 marko Installation and Live Media 8 27th March 2008 10:29 PM
software to run a media center Adam_Heltemes Using Fedora 2 23rd November 2005 04:23 AM
Windows media center ? RedHat123 Using Fedora 7 24th August 2005 09:20 AM


Current GMT-time: 13:56 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat