You are not logged in.

#1 2010-07-25 02:23:17

bob876
Member
Registered: 2010-07-25
Posts: 8

SLiM issues

Hello!

When I try booting into Arch Linux, the booting process stops at
"Starting Simple Login Manager"        [DONE]

The terminal freezes and after a short pause, I get INIT errors

INIT: Id "c5" respawning too fast: disabled for 5 minutes
(this repeats with different number ids)
INIT: no more processes left in this runlevel

Currently, slim is in the list of DAEMONS in /etc/rc.conf
and my ~/.xinitrc file has the line (though according to the lxde wiki, I won't need this?)

exec ck-launch-session startlxde

Some extra info:
I was planning to use SLiM as the login manager for the lxde desktop
Earlier, I tried the /etc/inittab setups for slim but I got a similar error with something like x respawning too fast
I can still access terminal via single kernal boot
This is a very clean install of Arch Linux, so I don't know if there are other packages I might need

Offline

#2 2010-07-25 02:45:20

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Re: SLiM issues

Show us your /etc/inittab file, I suspect it is the problem.


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#3 2010-07-25 03:04:24

bob876
Member
Registered: 2010-07-25
Posts: 8

Re: SLiM issues

I typed this leaving out comment labels

I also tried removing SLiM from the DAEMON and it is giving me the same errors

id:3:initdefault:
#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

c1:2345:respawn;/sbin/agetty -8 38400 vc/1 linux
c1:2345:respawn;/sbin/agetty -8 38400 vc/2 linux
c1:2345:respawn;/sbin/agetty -8 38400 vc/3 linux
c1:2345:respawn;/sbin/agetty -8 38400 vc/4 linux
c1:2345:respawn;/sbin/agetty -8 38400 vc/5 linux
c1:2345:respawn;/sbin/agetty -8 38400 vc/6 linux

#h0:2345:respawn:/sbin/agetty -8 38400 huc0 linux

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

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 2>&1

Offline

#4 2010-07-25 03:09:50

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: SLiM issues

You have the wrong line uncommented for run-level 5

http://wiki.archlinux.org/index.php/Dis … ay_manager


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2010-07-25 03:20:30

bob876
Member
Registered: 2010-07-25
Posts: 8

Re: SLiM issues

I set up SLiM the DAEMON way to avoid having to use id 5 and the init file because of these errors that appear

INIT: cannot execute "/usr/bin/xdm"
(repeats a dozen times)

The errors in my first post appear again...

INIT: cannot execute "/usr/bin/xdm"
(appears again a while later then a new error shows up too...)
INIT: Id "x" respawning too fast: disabled for 5 minutes

Offline

#6 2010-07-25 03:57:11

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: SLiM issues

You had installed xorg-xdm?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2010-07-25 04:06:30

bob876
Member
Registered: 2010-07-25
Posts: 8

Re: SLiM issues

Nope, the file was like that by default unless I changed something around.

Offline

#8 2010-07-25 04:16:56

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: SLiM issues

Do you have any errors in your slim or Xorg logs?

Some other users have had luck with deleting the slim lock from /var/lock...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2010-07-25 04:18:05

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: SLiM issues

Can you log in if you take SLim out of your daemon's array?
Can you start LXDE with startx?

Offline

#10 2010-07-25 05:47:10

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Re: SLiM issues

I use slim and this is what my /etc/inittab file looks like:

# /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

# Hypervisor Virtual Console for Xen and KVM
#h0:2345:respawn:/sbin/agetty -8 38400 hvc0 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 2>&1

# End of file

Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#11 2010-07-25 06:22:08

bob876
Member
Registered: 2010-07-25
Posts: 8

Re: SLiM issues

I really appreciate the help all of you are giving.
I will reply to your questions in a few hours because of personal reasons.

This post is really just here to say I haven't abandoned this thread. smile

Last edited by bob876 (2010-07-25 06:22:51)

Offline

#12 2010-07-25 10:40:03

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: SLiM issues

bob876 wrote:

I set up SLiM the DAEMON way to avoid having to use id 5 and the init file because of these errors that appear

INIT: cannot execute "/usr/bin/xdm"
(repeats a dozen times)

The errors in my first post appear again...

INIT: cannot execute "/usr/bin/xdm"
(appears again a while later then a new error shows up too...)
INIT: Id "x" respawning too fast: disabled for 5 minutes

this is caused by this:

jasonwryan wrote:

You have the wrong line uncommented for run-level 5

http://wiki.archlinux.org/index.php/Dis … ay_manager

Remove slim from daemons in rc.conf, comment out the xdm line in inittab, remove the comment on the slim line. Like in lagagnon's last post.

On to other matters, do x start correctly if you run startx?


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#13 2010-07-25 13:32:27

bob876
Member
Registered: 2010-07-25
Posts: 8

Re: SLiM issues

All right, I take back my last message, I'm going to leave this thread.
I didn't have as much as time as I thought to work on this.
I still do thing there are packages that I am missing that I do nee to install too.

I've removed slim completely from the daemons and innitlab but get the same errors as my first post.
When I ever have the time, I'll try to follow the documentaries to the core and if there are problems on the way, I will ask on the forums early instead of avoiding the Arch community's help.

Offline

#14 2010-08-03 05:54:50

mawest217
Member
Registered: 2010-08-03
Posts: 1

Re: SLiM issues

I also was having this problem, but now it's solved. Make sure /var/lock/ exists. It did not exist, so SLiM could not create its lock file. Just posting the solution I found for anyone else out there.

Offline

Board footer

Powered by FluxBB