You are not logged in.

#1 2011-02-22 02:58:50

Blue Steel
Member
Registered: 2011-02-22
Posts: 8

How to stop daemon from loading Slim

I installed Slim and I added it to the daemon section in rc.conf and after rebooting it brings me to a login screen. But when I try to login it say "failed to execute login command" and it closes, bringing me back to the regular command line login but after half a second it reloads and once again asks me for my login.

How do I boot up without having Slim load?

Offline

#2 2011-02-22 03:04:50

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

Re: How to stop daemon from loading Slim

You can boot into run level 3 by appending a 3 to your kernel line, or you could switch to a console with Ctrl-Alt-{F1-F6}

https://wiki.archlinux.org/index.php/Di … run-levels


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2011-02-22 03:10:09

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,740

Re: How to stop daemon from loading Slim

Or, you can hit ctrl-alt-f2 (or f3 through f6) to get a terminal window you can log into in order to fix your ~/.xinitrc file.
Avoid ctrl-alt-f1 because Slim fights with it and steals keystrokes.  FYI, the Slim login is running in an X session running (probably) on tty7.  You can get back to it with a ctrl-alt-f7.  It could be on tty8 depending on the state of a few things.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Online

#4 2011-02-22 03:13:42

Blue Steel
Member
Registered: 2011-02-22
Posts: 8

Re: How to stop daemon from loading Slim

Run level 3 doesn't stop it and this is in a VM so ctrl-alt-f1 brought down my real system

Offline

#5 2011-02-22 03:28:03

tjwoosta
Member
Registered: 2008-12-18
Posts: 453

Re: How to stop daemon from loading Slim

You could try a different runlevel like maybe 1 for instance. I think thats maintenance mode right?

Or you could always just ... boot live cd in the vm , mount virtual hd, navigate into mountpoint modify files there, unmount, reboot without livecd

Last edited by tjwoosta (2011-02-22 03:30:07)

Offline

#6 2011-02-22 03:39:32

Blue Steel
Member
Registered: 2011-02-22
Posts: 8

Re: How to stop daemon from loading Slim

level 1 did it. I forgot all about the possibility of using the cd lol. Thanks!

Offline

#7 2011-02-22 03:54:29

tjwoosta
Member
Registered: 2008-12-18
Posts: 453

Re: How to stop daemon from loading Slim

Glad to help smile

I think runlevel 3 is multiuser without X11, but it still loads the daemons and networking. Runlevel 1 is single user maintenance mode and doesnt load any daemons or networking.

Offline

#8 2011-03-08 20:59:11

sriracha
Member
Registered: 2011-03-08
Posts: 3

Re: How to stop daemon from loading Slim

I know this seems to be solved, but to prevent it from happening again, i would recommend you use the inittab for starting slim, because then you can tell it not to start slim by appending init 3 to the kernel line in grub

Offline

#9 2011-03-09 00:38:02

Blue Steel
Member
Registered: 2011-02-22
Posts: 8

Re: How to stop daemon from loading Slim

Thanks smile

Offline

Board footer

Powered by FluxBB