You are not logged in.

#1 2013-04-21 11:44:17

Grant
Member
From: Italy
Registered: 2012-12-15
Posts: 216

[SOLVED] Login available only from tty

Hi everyone.

After I changed the passwords for root and my user, I cannot access with SLiM. I must use a tty, and with it I can access successfully.
I have already tried reinstalling it, without any effect. Which could be the problem?

Regards,
Grant.

Last edited by Grant (2013-08-30 11:33:10)


I am not a native speaker. If you see a mistake, please report it to me via private message. Thank you.

Offline

#2 2013-04-22 17:27:20

Grant
Member
From: Italy
Registered: 2012-12-15
Posts: 216

Re: [SOLVED] Login available only from tty

Anyone?


I am not a native speaker. If you see a mistake, please report it to me via private message. Thank you.

Offline

#3 2013-04-22 18:26:15

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 12,280

Re: [SOLVED] Login available only from tty

Please don't bump threads.  That no one answered is a clear indication either we do not know, or that there is not enough information on which to proceed.

What have you learned since the first post? What have you tried? What have you searched?
Does your user have an .xinitrc ? Does it execute from a command line without errors? 
Is the user's home directory accessible?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Like you, I have no idea what you are doing, but I am pretty sure it is wrong...Jasonwryan
----
How to Ask Questions the Smart Way

Offline

#4 2013-04-22 19:08:00

cookies
Member
Registered: 2013-01-17
Posts: 253

Re: [SOLVED] Login available only from tty

Offline

#5 2013-04-23 20:31:09

Grant
Member
From: Italy
Registered: 2012-12-15
Posts: 216

Re: [SOLVED] Login available only from tty

ewaller wrote:

Please don't bump threads.  That no one answered is a clear indication either we do not know, or that there is not enough information on which to proceed.

What have you learned since the first post? What have you tried? What have you searched?
Does your user have an .xinitrc ? Does it execute from a command line without errors? 
Is the user's home directory accessible?

I'm sorry, but I don't know what I can add.
Anyway it's a strange problem, because it appeared when I changed the root's and  user's passwords. How I have already said, I have to access from one tty and start Xorg (yes, I have a .xinitrc file to start KDE).
I've just controlled /etc/passwd and I use /bin/bash for each account.

I'm pretty sure it's a SLiM problem, because with root's account is the same thing.


I am not a native speaker. If you see a mistake, please report it to me via private message. Thank you.

Offline

#6 2013-04-23 20:45:20

Debug Mode
Member
Registered: 2013-04-11
Posts: 10

Re: [SOLVED] Login available only from tty

Do you use SLiM's autologin? Maybe it tries to access your user with it's old password.

Offline

#7 2013-04-24 14:15:16

Grant
Member
From: Italy
Registered: 2012-12-15
Posts: 216

Re: [SOLVED] Login available only from tty

No, I don't use it.
Things I thought that could be:
-Cache problem? Maybe it saved my passwords to be faster in the login; but it would be insecure.
-I read that when an account is blocked, the password is changed; but I can access from a tty.
-Some wrong setting in the config files.

Last edited by Grant (2013-04-24 14:16:03)


I am not a native speaker. If you see a mistake, please report it to me via private message. Thank you.

Offline

#8 2013-04-24 14:17:28

Grant
Member
From: Italy
Registered: 2012-12-15
Posts: 216

Re: [SOLVED] Login available only from tty

ewaller wrote:

Does it execute from a command line without errors?

How can I try it?


I am not a native speaker. If you see a mistake, please report it to me via private message. Thank you.

Offline

#9 2013-04-24 14:48:20

cookies
Member
Registered: 2013-01-17
Posts: 253

Re: [SOLVED] Login available only from tty

Grant wrote:
ewaller wrote:

Does it execute from a command line without errors?

How can I try it?

.xinitrc is a simple shell script so you execute it just like any other shell script that's not in your $PATH (you might have to make it executable first or bash will complaint about permissions).

Offline

#10 2013-04-24 15:29:37

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 12,280

Re: [SOLVED] Login available only from tty

in other words, from a tty, ~/.xinitrc


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Like you, I have no idea what you are doing, but I am pretty sure it is wrong...Jasonwryan
----
How to Ask Questions the Smart Way

Offline

#11 2013-04-24 17:38:05

Grant
Member
From: Italy
Registered: 2012-12-15
Posts: 216

Re: [SOLVED] Login available only from tty

It's not executable (also tried with sudo). Anyway, are .xinitrc and slim related?I don't think.
I'm going to try to read slim's log file, and report it to you.


I am not a native speaker. If you see a mistake, please report it to me via private message. Thank you.

Offline

#12 2013-04-24 17:42:10

cookies
Member
Registered: 2013-01-17
Posts: 253

Re: [SOLVED] Login available only from tty

Grant wrote:

It's not executable

man chmod

Offline

#13 2013-04-24 17:45:53

Grant
Member
From: Italy
Registered: 2012-12-15
Posts: 216

Re: [SOLVED] Login available only from tty

Done, but it says

$DISPLAY is not set or cannot connect to the X server.

I am not a native speaker. If you see a mistake, please report it to me via private message. Thank you.

Offline

#14 2013-04-24 17:51:13

Grant
Member
From: Italy
Registered: 2012-12-15
Posts: 216

Re: [SOLVED] Login available only from tty

This is slim's log when I try to login:

slim: waiting for X server to begin accepting connections.
slim: pam_authentication(): Authentication failure

I am not a native speaker. If you see a mistake, please report it to me via private message. Thank you.

Offline

#15 2013-04-24 17:55:52

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 12,280

Re: [SOLVED] Login available only from tty

Grant wrote:

Anyway, are .xinitrc and slim related?I don't think.

Intimately


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Like you, I have no idea what you are doing, but I am pretty sure it is wrong...Jasonwryan
----
How to Ask Questions the Smart Way

Offline

#16 2013-04-25 09:52:06

Grant
Member
From: Italy
Registered: 2012-12-15
Posts: 216

Re: [SOLVED] Login available only from tty

I wanted to say that either starting .xinitrc or using startkde directly the output should be the same.


I am not a native speaker. If you see a mistake, please report it to me via private message. Thank you.

Offline

#17 2013-04-25 10:06:58

Grant
Member
From: Italy
Registered: 2012-12-15
Posts: 216

Re: [SOLVED] Login available only from tty

I've partially solved!
Being Italian, I don't use your layout for my keyboard. https://bbs.archlinux.org/viewtopic.php?id=86891
But I didn't understand what I have to do to fix. May someone tell me?


I am not a native speaker. If you see a mistake, please report it to me via private message. Thank you.

Offline

#18 2013-04-29 16:33:26

cookies
Member
Registered: 2013-01-17
Posts: 253

Re: [SOLVED] Login available only from tty

Offline

#19 2013-08-25 02:22:04

rh995
Member
Registered: 2012-03-09
Posts: 72

Re: [SOLVED] Login available only from tty

If you are using a keymap other than the default (I forget what this is) then your tty should pick up on it, but slim might not. Try to see if slim is using your correct keymap, and if it isn't, get it to.
https://wiki.archlinux.org/index.php/KEYMAP

Offline

#20 2013-08-25 02:48:23

rufus
Banned
From: san francisco
Registered: 2013-04-20
Posts: 153

Re: [SOLVED] Login available only from tty

you dont need a login manager with KDE I dont know why people use SLiM unless theyre actually using Archbang...


end ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     'the machine is not the end to the means., we are. In history, in board rooms and politic the greatest  decision and effort
        evolves from passion, lust for life, and a common sense of humanity. Never forget what you are and why'.         -me

Offline

#21 2013-08-25 22:33:00

cookies
Member
Registered: 2013-01-17
Posts: 253

Re: [SOLVED] Login available only from tty

rufus wrote:

I dont know why people use SLiM

Because SLiM is simple, that's why.

Offline

Board footer

Powered by FluxBB