Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am new to Ubuntu (12.10 with Unity desktop) and Linux for that part too, so I might not be asking the right question. But here goes.

I go to TTY1 by pressing keys CTRL + ALT + F1, where I am asked to enter username and password, which I do, but I get the message "Login incorrect". In my log file /var/log/auth.log this entry has been made:

Oct 23 13:17:45 SomeName login[3361]: FAILED LOGIN (1) on 'dev/tty1' FOR 'aUser', Authentication failure

I do not have the wrong username or password. It is the same username/password I use to log in when Unity starts.

So how came I can't log in to TTY1?

share|improve this question
    
Have you tried typing out the password once at the TTY (as the username, just to see what is displayed) and once when logged in (use the dash or somthing) just to see if this isn't a keyboard layout issue? –  Mark Paskal Oct 23 '12 at 11:35
    
Yeah it was a keyboard issue =) Numlock wasn't on! –  Martin Andersson Oct 23 '12 at 11:53
add comment

2 Answers 2

up vote 4 down vote accepted

Perhaps your keymap configuration is wrong fo the tty (which is a different setting than Xorg / Unity) and your password is wrong because of this. Try entering your password when you're prompted for your username and see if the characters turn out right; don't press enter, but delete your input (since login tries get logged and your password would be in that logfile). If something is wrong, you must set the keymap. In unity, open the terminal application and enter

sudo dpkg-reconfigure console-setup

and choose the right layout there. You might have to reboot.

share|improve this answer
    
lol, funny thing. Numlock wasn't on and my password has some numbers in it =) Man do i feel dumb or what. Thing is I googled this issue of course and got all kinds of answers out there so I couldn't imagine that the solution was this simple =) –  Martin Andersson Oct 23 '12 at 11:52
    
I should also say why I want to log into another TTY. I am testing the echo command and now I know it works like a charm. For a newly weed like I am, login to a TTY of your choice, say TTY1, go back to the Unity terminal window and enter: echo test message > /dev/tty1. –  Martin Andersson Oct 23 '12 at 11:59
add comment

Maybe the layout is different.Also to login in console you have to enter username wich can be different from your name in profile installation option.For example there is user profile name wich is Andrew but the user pc name can differ.See it here enter image description here I have my profile name on russian and when i login to console i use english login name. If the problem not in this try it http://www.noobslab.com/2012/02/reset-your-forgotten-password-quickly.html

share|improve this answer
    
Nice screenshot. I'll write a note to myself! Thanx. –  Martin Andersson Oct 23 '12 at 11:54
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.