You are not logged in.

#1 2007-05-01 01:56:24

KomodoDave
Member
From: Oxford, UK
Registered: 2007-04-22
Posts: 162
Website

init: Id "x" respawning too fast: disabled for 5 minutes

Any idea what's causing this entry in my messages.log, and how I can fix the problem? The message appears every 5 minutes in messages.log .

I have id:5 set in /etc/inittab to boot straight into ratpoison via Slim.

init: Id "x" respawning too fast: disabled for 5 minutes

Cheers.

- KD

Last edited by KomodoDave (2007-05-01 01:57:24)

Offline

#2 2007-05-01 09:24:57

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: init: Id "x" respawning too fast: disabled for 5 minutes

I got the same errors when I entered an non-existing command to respawn.

Offline

#3 2007-12-23 08:18:50

Micha
Member
Registered: 2007-11-16
Posts: 20

Re: init: Id "x" respawning too fast: disabled for 5 minutes

Hi,

I get it too.

Id "x" respawning too fast: disabled for 5 minutes

X resets and throws me to the login screen. :( Is there a fix already? I just followed the wiki to get up running X (meaning I set "id:5:initdefault:" and "x:5:respawn:/opt/kde/bin/kdm -nodaemon" and left the other code alone).
I have seen that some others in the forum have or had a similar problem. But since those mostly were about installing Arch, there might be not of great use for this problem here...
Have a good weekend y'all!
Micha

Offline

#4 2007-12-23 08:39:34

travkin
Member
Registered: 2007-12-21
Posts: 21

Re: init: Id "x" respawning too fast: disabled for 5 minutes

Seems you also added DAEMON in rc.conf. Try to remove x:5:respawn:/opt/kde/bin/kdm -nodaemon from inittab.

Offline

#5 2007-12-23 08:44:31

Micha
Member
Registered: 2007-11-16
Posts: 20

Re: init: Id "x" respawning too fast: disabled for 5 minutes

Thanks for the fast response travkin. I commented the line within inittab. I actually thought I needed it for kde to be started when I am booting Linux. I can't tell you whether it's working or not because the error came randomly and kicked me out of kde.
But when I am not coming back to this thread it will likely have worked out fine :D

Offline

#6 2008-12-17 10:54:47

MindTooth
Member
From: Norway
Registered: 2008-11-11
Posts: 331

Re: init: Id "x" respawning too fast: disabled for 5 minutes

#
# /etc/inittab
#

#  Runlevels:
#    0    Halt
#    1(S)       Single-user
#    2    Not used
#    3    Multi-user
#    4    Not used
#    5    X11
#    6    Reboot

## Only one of the following two lines can be uncommented!
# Boot to console
#id:3:initdefault:
# Boot to X11
id:5:initdefault:

rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p

# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 38400 vc/1 linux
c2:2345:respawn:/sbin/agetty -8 38400 vc/2 linux
c3:2345:respawn:/sbin/agetty -8 38400 vc/3 linux
c4:2345:respawn:/sbin/agetty -8 38400 vc/4 linux
c5:2345:respawn:/sbin/agetty -8 38400 vc/5 linux
c6:2345:respawn:/sbin/agetty -8 38400 vc/6 linux

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/opt/kde/bin/kdm -nodaemon
x:5:respawn:/usr/bin/slim >& /dev/null

# End of file

I experience the same problem. Now I am using SLiM.

Birger smile

Last edited by MindTooth (2008-12-17 10:55:01)

Offline

#7 2008-12-17 12:35:12

deej
Member
Registered: 2008-02-08
Posts: 395

Re: init: Id "x" respawning too fast: disabled for 5 minutes

Change the path to kdm from:

/opt/kde/bin/kdm

to

/usr/bin/kdm

then all will be OK.

deej

Offline

#8 2010-02-05 16:51:09

bagheera
Member
Registered: 2009-06-13
Posts: 84

Re: init: Id "x" respawning too fast: disabled for 5 minutes

Hi, i have another problem.
I bought used pc for dedicated xbmc media center. I did as i was said on http://xbmc.org/wiki/?title=HOW-TO_inst … Step_Guide

The problem is, xbmc is NOT autostarting, i have following information:

INIT:Id "x" respawning too fast: disabled for 5 minutes

inittab:

#
# /etc/inittab
#

#  Runlevels:
#    0    Halt
#    1(S)       Single-user
#    2    Not used
#    3    Multi-user
#    4    Not used
#    5    X11
#    6    Reboot

## Only one of the following two lines can be uncommented!
# Boot to console
#id:3:initdefault:
# Boot to X11
id:5:initdefault:

rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p

# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 38400 tty1 linux
c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux
c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux
c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux
c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux
c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >& /dev/null
x:5:respawn:/bin/su xbmc -l -c "/bin/bash --login -c startx >/dev/null 2>&1"
# End of file

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="pl_PL.UTF-8"                                                        
HARDWARECLOCK="UTC"                                                         
TIMEZONE="Europe/Warsaw"                                                    
KEYMAP="pl"                                                                 
CONSOLEFONT="lat2-16.psfu.gz"                                               
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=(autofs4)                                                               

# 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="mediacenter"

# 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 !network !netfs crond wicd autofs alsa sshd)

/home/xbmc/.xinitrc

exec /usr/bin/ck-launch-session /usr/bin/dbus-launch --exit-with-session /usr/bin/xbmc --standalone -fs

it's HP D530 DESKTOP machine.

If i rename .xinitrc to sth other, X session is launching fine.
If i try to run in manually like that: sh .xinitrc.bck, nothing happens

If i reedit .xinitrc to that:

exec /usr/bin/xbmc --standalone -fs

It launches, but it that case I can't turn off pc in xbmc, it keeps relaunching itself all the time :s

Is there any solution/workaround?
Is that anything to do with running daemons?
It seems hal is launching dbus automatically, is "/usr/bin/dbus-launch" doing the same?
what does "/usr/bin/ck-launch-session"? And what does xbmc parameters?

Thank for any help/clarification



Btw, does anyone know any full-screen launcher application? I would like to have one running, so i could choose to launch xbmc, moovida, stepmania, nes/snes emulator, or turnoff bash script.


arch linux user

Offline

#9 2010-02-22 00:03:46

jason32835
Member
Registered: 2010-02-02
Posts: 11

Re: init: Id "x" respawning too fast: disabled for 5 minutes

@bagheera

Make sure that you don't have any line breaks in your .xinitrc

I.e

exec /usr/bin/ck-launch-session /usr/bin/dbus-launch --exit-with-session /usr/bin/xbmc --standalone -fs

and not

exec /usr/bin/ck-launch-session /usr/bin/dbus-launch --exit-with-session 
/usr/bin/xbmc --standalone -fs

Offline

#10 2010-02-27 14:18:30

bagheera
Member
Registered: 2009-06-13
Posts: 84

Re: init: Id "x" respawning too fast: disabled for 5 minutes

The reason was absence of /usr/bin/dbus-launch file.
I had to install dbus package from extra repo.


arch linux user

Offline

Board footer

Powered by FluxBB