SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-09-29 18:07:45

chameleon
#! Junkie
From: luxembourg (uk guy)
Registered: 2009-01-13
Posts: 372
Website

Console login password problem.

Hi,
So, I would like to login from the console with startx.
I have created ~/.xinitrc;

#!/bin/sh

#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#

exec openbox-session

I have used rcconf to disable slim.
Reboot and I am asked for username and password at the console login but...the password is not recognised!

Do I need to completely remove slim?
Is there a setting in /etc/inittab I need to change?

Last edited by chameleon (2012-09-29 18:12:05)

Offline

Be excellent to each other!

#2 2012-09-29 18:32:19

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,280

Re: Console login password problem.

Is Caps Lock on?
Do you have the right keyboard loaded? - at the 'login prompt', type your password in stead of your user name, just to verify that your keyboard is correct.

Offline

#3 2012-09-29 18:47:06

chameleon
#! Junkie
From: luxembourg (uk guy)
Registered: 2009-01-13
Posts: 372
Website

Re: Console login password problem.

@xaos52
Just tried that idea and the keyboard is correct - ie no CAPS lock and kb map is correct.
I am beginning to think about uninstalling slim - seems a bit drastic though roll

Last edited by chameleon (2012-09-29 18:47:41)

Offline

#4 2012-09-29 19:23:47

chameleon
#! Junkie
From: luxembourg (uk guy)
Registered: 2009-01-13
Posts: 372
Website

Re: Console login password problem.

I can get into x using the recovery console with;

 dpkg-reconfigure x11-common

and allowing all users access to x (good or bad??)

followed by;

su - neil
startx

however, I then get an error that pulseadio is unable to start roll

I must be close to a solution...

Each time if I re-enable slim in rcconf I can get back into x...

but I just wanted the simple 'startx' in the console roll

Getting close to purging slim methinks...

Last edited by chameleon (2012-09-29 19:26:14)

Offline

#5 2012-09-29 20:06:09

jst_joe
#! Member
From: The FOSS timezone!
Registered: 2012-07-03
Posts: 57

Re: Console login password problem.

chameleon wrote:

I can get into x using the recovery console with;

 dpkg-reconfigure x11-common

and allowing all users access to x (good or bad??)

followed by;

su - neil
startx

however, I then get an error that pulseadio is unable to start roll

I must be close to a solution...

Each time if I re-enable slim in rcconf I can get back into x...

but I just wanted the simple 'startx' in the console roll

Getting close to purging slim methinks...

I use

#!/bin/sh
eval `dbus-launch --sh-syntax --exit-with-session`
exec ck-launch-session dbus-launch openbox-session

for my .xinitrc and everything seems to work fine.
See this post http://crunchbanglinux.org/forums/post/191649/#p191649

Joe

EDIT: I had to add dbus-launch to the last line also to get everything to work right

Last edited by jst_joe (2012-09-29 20:15:02)


The two keys to success in whatever you do:
1. Never tell anyone everything.
2.

Offline

#6 2012-09-29 21:11:27

chameleon
#! Junkie
From: luxembourg (uk guy)
Registered: 2009-01-13
Posts: 372
Website

Re: Console login password problem.

@jst_joe

I now have a ~/.xinitrc

#!/bin/sh
eval `dbus-launch --sh-syntax --exit-with-session`
exec ck-launch-session dbus-launch openbox-session

Thanks for the input but it's a no go sad
I still have a problem with the password not recognized on console login.
I tried removing slim - same problem.
Re-installed slim and of course no problem - slim is in control big_smile

Maybe a permissions issue somewhere??

Ahh...... Slim has taken over roll roll

Why can I log in from the recovery console, su to neil, and get to the desktop but from the normal boot to console I am stuck with this password issue?

PS Currently testing 20120927 32bit

Last edited by chameleon (2012-09-29 21:31:12)

Offline

#7 2012-09-29 22:36:35

jst_joe
#! Member
From: The FOSS timezone!
Registered: 2012-07-03
Posts: 57

Re: Console login password problem.

chameleon wrote:

@jst_joe

I now have a ~/.xinitrc

#!/bin/sh
eval `dbus-launch --sh-syntax --exit-with-session`
exec ck-launch-session dbus-launch openbox-session

Thanks for the input but it's a no go sad
I still have a problem with the password not recognized on console login.
I tried removing slim - same problem.
Re-installed slim and of course no problem - slim is in control big_smile

Maybe a permissions issue somewhere??

Ahh...... Slim has taken over roll roll

Why can I log in from the recovery console, su to neil, and get to the desktop but from the normal boot to console I am stuck with this password issue?

PS Currently testing 20120927 32bit

@chameleon
Run

sudo rcconf

and uncheck slim that should work I'm running 20120927 64bit, but that shouldn't matter.

Joe

Last edited by jst_joe (2012-09-29 22:50:41)


The two keys to success in whatever you do:
1. Never tell anyone everything.
2.

Offline

#8 2012-09-29 22:54:26

jst_joe
#! Member
From: The FOSS timezone!
Registered: 2012-07-03
Posts: 57

Re: Console login password problem.

^^ just reread your post.
You're getting to a console login?


The two keys to success in whatever you do:
1. Never tell anyone everything.
2.

Offline

#9 2012-09-30 01:08:07

chameleon
#! Junkie
From: luxembourg (uk guy)
Registered: 2009-01-13
Posts: 372
Website

Re: Console login password problem.

@ jst_joe
Yeh I can get to a console login if i disable slim but it doesn't take my password.

More work tomorrow.

Peace from Luxembourg.

Offline

#10 2012-09-30 11:13:27

chameleon
#! Junkie
From: luxembourg (uk guy)
Registered: 2009-01-13
Posts: 372
Website

Re: Console login password problem.

I will mark this solved when I can find the answer to this;

tty terminal management fgetty

In my quest for low RAM usage I had replaced getty with fgetty.
Reverting back to getty I can log in from the console - password is accepted.

So, my conclusion is that the password 'not accepted' problem is directly related to fgetty.
Can anyone enlighten me?

Offline

#11 2012-09-30 13:11:53

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,644

Re: Console login password problem.

Every time "small, efficient" programs are used, you're a step away from disaster, as in this case.

Offline

#12 2012-09-30 13:16:35

jst_joe
#! Member
From: The FOSS timezone!
Registered: 2012-07-03
Posts: 57

Re: Console login password problem.

@chameleon: Glad you got things sorted out kind of.
I tried lastnight to recreate your problem...
/etc/slim.conf auto-login set to no then to yes nothing broke my terminal login.

I found this http://www.debianhelp.co.uk/fgetty.htm but it's not really an answer.

Joe

EDIT: For typo

Last edited by jst_joe (2012-09-30 15:20:26)


The two keys to success in whatever you do:
1. Never tell anyone everything.
2.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo