You are not logged in.

#1 2010-02-16 13:35:22

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Daemons auto Backgroud?

So, when I boot up and it get to the daemons, they all go instantly. I don't even get to read their names.

I do auto log myself in, and most of the time hal and network aren't done yet (I can't move my mouse and pidgin can't connect).

Here is my /etc/rc..conf

[phil@fml ~]$ cat /etc/rc.conf
#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime", any other value will result
#   in the hardware clock being left untouched (useful for virtualization)
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.UTF-8"
HARDWARECLOCK="UTC"
TIMEZONE="America/Toronto"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(!net-pf-10 !snd_hda_intel !pcspkr !snd-pcsp)

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="fml"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
#
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#

#Static IP example
#eth0="dhcp"
eth0="dhcp"
INTERFACES=(eth0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
 
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng hal netowrk )
[phil@fml ~]$

Offline

#2 2010-02-16 13:46:49

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: Daemons auto Backgroud?

network typo smile

Press scroll lock to pause the screen.


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#3 2010-02-16 14:28:11

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: Daemons auto Backgroud?

dammit my dyslexia is bad. That shouldn't effect hal though would it?

Offline

#4 2010-02-16 14:32:12

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: Daemons auto Backgroud?

No it shouldn't. Is hal failing? What does this say:

 # /etc/rc.d/hal restart

Last edited by sHyLoCk (2010-02-16 14:32:31)


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#5 2010-02-16 22:16:31

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: Daemons auto Backgroud?

sHyLoCk wrote:

No it shouldn't. Is hal failing? What does this say:

 # /etc/rc.d/hal restart

No errors. It also starts in like 1 second.

Offline

#6 2010-02-16 22:29:44

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: Daemons auto Backgroud?

So you are complaining that your box boots too quickly wink

You could always put a delay into /etc/rc.local or some such so that X only comes up once hal is done...


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#7 2010-02-17 04:48:59

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: Daemons auto Backgroud?

I'm just complaining that hal doesn't finish when it says its finished

Offline

#8 2010-02-17 22:13:48

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: Daemons auto Backgroud?

even fixing the typo in the network didn't help. Although now it starts, no time is spent starting in the daemons line.

Offline

#9 2010-02-18 09:02:44

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: Daemons auto Backgroud?

Dethredic wrote:

I'm just complaining that hal doesn't finish when it says its finished

How do you know that it doesn't finish? 0.5 seconds is about normal for /etc/rc.d/hal start.


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#10 2010-02-18 13:11:41

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: Daemons auto Backgroud?

grey wrote:
Dethredic wrote:

I'm just complaining that hal doesn't finish when it says its finished

How do you know that it doesn't finish? 0.5 seconds is about normal for /etc/rc.d/hal start.

Although it does take only that much time when I do /etc/rc.d/hal restart, what other explanation could there be for not being able to use my mouse / keyboard for several seconds after openbox starts.

My other reason is the the network still doesn't start, it auto backgrounds even after spelling its name right.

Offline

#11 2010-02-18 13:47:27

elliott
Member
Registered: 2006-03-07
Posts: 296

Re: Daemons auto Backgroud?

Dethredic wrote:

Although it does take only that much time when I do /etc/rc.d/hal restart, what other explanation could there be for not being able to use my mouse / keyboard for several seconds after openbox starts.

If hal wasn't starting, X would just hang and you would be forced to restart. You would get a black screen with a cursor in the middle and nothing else. At least that is what happened to me the last time I did an install and had a brainfart.

Last edited by elliott (2010-02-18 13:48:19)

Offline

#12 2010-02-18 16:07:13

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: Daemons auto Backgroud?

Dethredic wrote:

... what other explanation could there be ... ?

Lot's, probably. Just because I can only think of one doesn't mean that is the one it has to be.


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#13 2010-02-18 16:41:48

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: Daemons auto Backgroud?

grey wrote:
Dethredic wrote:

... what other explanation could there be ... ?

Lot's, probably. Just because I can only think of one doesn't mean that is the one it has to be.

I just remember during my first install I didn't start hal before starting X, and I couldn't use my mouse / keyboard.

Offline

#14 2010-02-18 18:01:33

ArchSoarer
Member
From: Cho-fu-sa
Registered: 2009-11-02
Posts: 23

Re: Daemons auto Backgroud?

Check your /etc/inittab, if you have one line uncommented and with the "respawn" option... maybe is that you're starting daemons simultaneously. If that's the case, you should change "respawn" for "once".

Offline

#15 2010-02-18 18:25:23

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: Daemons auto Backgroud?

ArchSoarer wrote:

Check your /etc/inittab, if you have one line uncommented and with the "respawn" option... maybe is that you're starting daemons simultaneously. If that's the case, you should change "respawn" for "once".

I have this:

id:5:initdefault:

x:5:once:/bin/su phil -l -c "/bin/bash --login -c /usr/bin/startx >/dev/null 2>&1"

Offline

#16 2010-02-18 21:32:01

ArchSoarer
Member
From: Cho-fu-sa
Registered: 2009-11-02
Posts: 23

Re: Daemons auto Backgroud?

Try using this instead:

id:5:initdefault:

x:5:respawn:/bin/su phil -l -c "/bin/bash --login -c /usr/bin/startx >/dev/null 2>&1"

Pretty sure that'll work...

Last edited by ArchSoarer (2010-02-18 22:03:35)

Offline

#17 2010-02-19 12:20:51

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: Daemons auto Backgroud?

ArchSoarer wrote:

Try using this instead:

id:5:initdefault:

x:5:respawn:/bin/su phil -l -c "/bin/bash --login -c /usr/bin/startx >/dev/null 2>&1"

Pretty sure that'll work...

didn't work.

Offline

#18 2010-02-19 17:01:26

ArchSoarer
Member
From: Cho-fu-sa
Registered: 2009-11-02
Posts: 23

Re: Daemons auto Backgroud?

Dethredic wrote:

didn't work.

Damn. Have you tried to boot to GDM first?

Offline

#19 2010-02-19 17:47:06

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: Daemons auto Backgroud?

ArchSoarer wrote:
Dethredic wrote:

didn't work.

Damn. Have you tried to boot to GDM first?

I haven't installed GDM. I guess I could install SLIM to test.

Offline

#20 2010-02-22 12:32:39

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: Daemons auto Backgroud?

Sorry for the late response, but no luck.

Offline

#21 2010-02-22 14:03:22

kapz
Member
Registered: 2009-03-26
Posts: 88
Website

Re: Daemons auto Backgroud?

Well dunno if I can relate this with your network problem but network halted(and KDE due to it) on my system, the issue was resolved by correcting the /etc/hosts config file. You may want to check that you mentioned the localhost name in that file(as shown in archwiki).


I wonder how it would be like to use the rest 99% of my brain..:P

Registered Linux User: 487155

Offline

#22 2010-02-23 12:26:41

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: Daemons auto Backgroud?

kapz wrote:

Well dunno if I can relate this with your network problem but network halted(and KDE due to it) on my system, the issue was resolved by correcting the /etc/hosts config file. You may want to check that you mentioned the localhost name in that file(as shown in archwiki).

everything looks good there.

Offline

#23 2010-02-23 12:47:12

algorythm
Member
From: /usr/share/zoneinfo/Europe/FIN
Registered: 2009-07-17
Posts: 181

Re: Daemons auto Backgroud?

Are you really sure this is hal related? When you do /etc/rc.d/hal stop, you can't use your keyboard and mouse?


“Talent you can bloom. Instinct you can polish.”  — Haikyuu!! (adapted)
“If everybody thought alike, no one would be thinking very much.”  — Walter Lippmann (adapted)
“The important thing is to be able, at any moment, to sacrifice what we are for what we could become.”  — Charles Dubois

Offline

#24 2010-02-24 03:12:38

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: Daemons auto Backgroud?

algorythm wrote:

Are you really sure this is hal related? When you do /etc/rc.d/hal stop, you can't use your keyboard and mouse?

ur right, I can move my mouse / use my keyboard. I really have no idea at this point.

Offline

#25 2010-02-24 10:17:06

kapz
Member
Registered: 2009-03-26
Posts: 88
Website

Re: Daemons auto Backgroud?

Have you installed evdev pkg? You can give this a go:

http://wiki.archlinux.org/index.php/Evdev


I wonder how it would be like to use the rest 99% of my brain..:P

Registered Linux User: 487155

Offline

Board footer

Powered by FluxBB