You are not logged in.

#1 2010-11-05 18:47:05

mondayrobot
Member
Registered: 2010-11-05
Posts: 6

[Solved] switch to console from slim

Hi all,

New arch user here,

I have a problem with Slim that's already been documented and [Solved] on the forums : I can't log in, as normal user or as root; the problem is now I don't have acces to the console so I can work on the problem. I searched the forum and the wiki, but I didn't found a solution.

*The error I get when I try to login is "Can't execute login command"
*Typing "console" in the log case doesn't work (nothing happens)
* At Ctrl Alt F... the screen goes dark


How can I acces the console in order to edit Slim's config ?

Thank you for your help

Last edited by mondayrobot (2010-11-05 21:22:02)

Offline

#2 2010-11-05 20:33:35

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

Re: [Solved] switch to console from slim

Ctrl-Alt-F2

You could use F1, but Slim has some issues sharing the first console.  A stock Arch should allow you to use 1 through 6.  7 through 9 are usually X


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

Offline

#3 2010-11-05 20:39:49

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

Re: [Solved] switch to console from slim

ewaller wrote:

Ctrl-Alt-F2

You could use F1, but Slim has some issues sharing the first console.  A stock Arch should allow you to use 1 through 6.  7 through 9 are usually X


Okay, now that I reread your post, I missed the point.

How do you start Slim?  Is it in your rc.conf file, or do you use run levels in /etc/inittab??


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

Offline

#4 2010-11-05 20:45:18

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [Solved] switch to console from slim

Why not use a LiveCD to edit Slim's config file?

Offline

#5 2010-11-05 20:52:27

madeye
Member
From: Denmark
Registered: 2006-07-19
Posts: 331
Website

Re: [Solved] switch to console from slim

wouldn't it be possible to append "3" to the kernel boot line? (without the quotes)
Then you should boot into runlevel 3 = console.


MadEye | Registered Linux user #167944 since 2000-02-28 | Homepage

Offline

#6 2010-11-05 21:21:36

mondayrobot
Member
Registered: 2010-11-05
Posts: 6

Re: [Solved] switch to console from slim

Thank you all for your answers !

adding 3 to the kernel boot line did the trick.

Thanks again

Offline

#7 2010-11-05 21:36:53

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

Re: [Solved] switch to console from slim

madeye wrote:

wouldn't it be possible to append "3" to the kernel boot line? (without the quotes)
Then you should boot into runlevel 3 = console.

For the record, that only works if you start slim with inittab.  If you use the daemons array in rc.conf, it is a different matter.  That was where I was heading with my query

Last edited by ewaller (2010-11-05 21:37:13)


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

Offline

#8 2010-11-06 08:45:04

harryNID
Member
From: P3X-1971
Registered: 2009-06-12
Posts: 117

Re: [Solved] switch to console from slim

You could try this as it's similar to what "madeye" said but append a plain "s" to the kernel line. Puts you in "single-user mode" my password seems to work then. Actually I think what you guys are discussing is the same thing affecting me at the moment. I need to investigate this more. Hope this helps!!

Update: This was not my issue after all. My issue was that I switched to using sha512 passwords via the Wiki page. I was also using fgetty which doesn't support sha512 passwords. Fixed now!

Last edited by harryNID (2010-11-06 09:44:13)


In solving a problem of this sort, the grand thing is to be able to reason backward. That is a very useful accomplishment, and a very easy one, but people do not practice it much. In the everyday affairs of life it is more useful to reason forward, and so the other comes to be neglected. There are fifty who can reason synthetically for one who can reason analytically.  --Sherlock Holmes

Offline

Board footer

Powered by FluxBB