You are not logged in.

#1 2009-01-25 19:39:05

kaola_linux
Member
From: Bacolod City/Philippines
Registered: 2008-09-23
Posts: 513

Slim fails to start manually and automatically

Hi, reinstalled slim twice but I can't seem to start it still...

I've already done:

#/etc/rc.d/slim start

but it only fails


I also added "@slim" on my rc.conf

Any ideas?:(

Thanks in advance

Last edited by kaola_linux (2009-01-26 06:26:45)


Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"

Offline

#2 2009-01-25 20:48:38

sessy
Member
Registered: 2006-01-20
Posts: 104

Re: Slim fails to start manually and automatically

Try to remove it with pacman -Rsn slim, than install again - and post the error message.

Offline

#3 2009-01-25 20:55:54

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,545

Re: Slim fails to start manually and automatically

Did you try the inittab method?

Read the Wiki.

Last edited by Ranguvar (2009-01-25 21:05:48)

Offline

#4 2009-01-26 06:21:45

kaola_linux
Member
From: Bacolod City/Philippines
Registered: 2008-09-23
Posts: 513

Re: Slim fails to start manually and automatically

Here is my 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 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 can't start it still...:(

Last edited by kaola_linux (2009-01-26 06:31:21)


Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"

Offline

#5 2009-01-26 06:45:21

sirocco
Member
Registered: 2008-03-10
Posts: 149

Re: Slim fails to start manually and automatically

Offline

#6 2009-01-26 07:39:36

kaola_linux
Member
From: Bacolod City/Philippines
Registered: 2008-09-23
Posts: 513

Re: Slim fails to start manually and automatically

I'm using the inittab method now...

Here is my new 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 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 get this error

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

The second method didn't worked for me as well...Is there something wrong? I've already reinstalled slim..:(


Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"

Offline

#7 2009-01-26 07:41:42

ras0ir
Member
From: Ankara/Turkey
Registered: 2008-06-20
Posts: 65
Website

Re: Slim fails to start manually and automatically

#id:5:initdefault:

uncomment this line and comment id:3:initdefault: line

or
comment this line:
x:5:respawn:/usr/bin/slim >& /dev/null

and add "slim" to the DAEMONS line in rc.conf.
you can either use inittab method OR daemon method

Offline

#8 2009-01-26 08:41:18

kaola_linux
Member
From: Bacolod City/Philippines
Registered: 2008-09-23
Posts: 513

Re: Slim fails to start manually and automatically

ras0ir wrote:

comment this line:
x:5:respawn:/usr/bin/slim >& /dev/null

and add "slim" to the DAEMONS line in rc.conf.
you can either use inittab method OR daemon method

Did what you've said, it still fails...:(


Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"

Offline

#9 2009-01-26 10:29:01

ras0ir
Member
From: Ankara/Turkey
Registered: 2008-06-20
Posts: 65
Website

Re: Slim fails to start manually and automatically

Well, could you paste your slim.log ? (/var/log/slim.log)

Offline

#10 2009-01-26 11:22:49

kaola_linux
Member
From: Bacolod City/Philippines
Registered: 2008-09-23
Posts: 513

Re: Slim fails to start manually and automatically

These are the logs I have: sad

[koala@archer-host ~]$ sudo ls /var/log
Password:
ConsoleKit  auth.log    errors.log    kernel.log    syslog.log
Xorg.0.log  daemon.log    everything.log    lastlog       user.log
acpid.log   dmesg.log    faillog        messages.log


Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"

Offline

#11 2009-01-26 11:35:08

ras0ir
Member
From: Ankara/Turkey
Registered: 2008-06-20
Posts: 65
Website

Re: Slim fails to start manually and automatically

# Log file
logfile             /var/log/slim.log

I have these lines in /etc/slim.conf so check for the logfile directive in conf.

By the way, try starting slim with

slim -d

I hope it'll give output.

Offline

#12 2009-01-26 11:39:46

sirocco
Member
Registered: 2008-03-10
Posts: 149

Re: Slim fails to start manually and automatically

kaola_linux wrote:

I get this error

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

This appears when X can't start.
Can you start X manually?

For example grub/menu.lst allow booting with or without X

# (0) Arch Linux X11
title  Arch Linux X11 (graphical regime)
root   (hd0,2)
kernel /boot/vmlinuz26 root=/dev/sda3 ro 5
initrd /boot/kernel26.img

# (1) Arch Linux console
title  Arch Linux (text regime)
root   (hd0,2)
kernel /boot/vmlinuz26 root=/dev/sda3 ro 3
initrd /boot/kernel26.img

Last edited by sirocco (2009-01-26 11:43:50)

Offline

#13 2009-01-27 06:35:57

kaola_linux
Member
From: Bacolod City/Philippines
Registered: 2008-09-23
Posts: 513

Re: Slim fails to start manually and automatically

ras0ir wrote:
# Log file
logfile             /var/log/slim.log

I have these lines in /etc/slim.conf so check for the logfile directive in conf.
I hope it'll give output.

I have this as well...But it doesn't produce one...

Where will I start slim -d? or how? Do I need to do /etc/rc.d/slim ?:|


Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"

Offline

#14 2009-01-27 18:56:27

Trindol
Member
Registered: 2008-12-17
Posts: 37

Re: Slim fails to start manually and automatically

You've uncommented lines in your inittab that should be commented. The first part under "Runlevels" is there for information only. Only the "id:5:initdefault:" line should be uncommented.

Offline

#15 2009-01-28 00:32:39

kaola_linux
Member
From: Bacolod City/Philippines
Registered: 2008-09-23
Posts: 513

Re: Slim fails to start manually and automatically

I've uncommented it already, my first post shows it...I still just boot into console...Is this slim related or my system itself?:(
BTW: When I issue startx at the console my xfce4 desktop starts, is that right?:/

Last edited by kaola_linux (2009-01-28 00:42:49)


Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"

Offline

#16 2009-01-28 00:44:25

Trindol
Member
Registered: 2008-12-17
Posts: 37

Re: Slim fails to start manually and automatically

This part:

#
# /etc/inittab
#

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

"

Should be ALL commentted.  Don't take out the comment sign in front of the 5 or the 3.

Offline

#17 2009-01-28 04:32:08

kaola_linux
Member
From: Bacolod City/Philippines
Registered: 2008-09-23
Posts: 513

Re: Slim fails to start manually and automatically

I've modified my inittab and here is it now:

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

Netbook (Acer Aspire One 110 || 160gb SATA HD || 1.5gb ram): archlinux i686 / KDEmod 4.3
Registered Linux User # 481212 / Machine Registration # 390468
"In a world without walls and fences, who needs windows and gates?"

Offline

#18 2009-02-17 06:03:52

kesara10
Member
Registered: 2008-06-11
Posts: 13

Re: Slim fails to start manually and automatically

I had this sometime ago too. It turned out to be something to do with evdev config in /etc/X11/xorg.conf (can't remember exactly now)
See whether you have any errors in /var/log/Xorg.0.log

Offline

#19 2009-03-11 22:26:00

EVRAMP
Member
From: Czech Republic
Registered: 2008-10-03
Posts: 173
Website

Re: Slim fails to start manually and automatically

You must create /var/lock directory by mkdir /var/lock. Slim works fine then.
Bug reported: http://bugs.archlinux.org/task/13758

Offline

Board footer

Powered by FluxBB