TTY does not load and <F2> goes to tty1

Discussion in general that pertains to Sabayon Linux - Must Pertain to Sabayon Linux

Moderator: Moderators

Re: TTY does not load and <F2> goes to tty1

Postby deusr » Thu Oct 04, 2012 19:05

I forgot, but some distributions starts with 0 and not 1. But the problem is that if I try to access some, they do not carry so I can enter the username and password. And when I press F2 to rename a file, I played for a tty.

http://www.linuxquestions.org/questions ... ce-401455/
deusr
Simple Hen
 
Posts: 83
Joined: Mon Feb 23, 2009 7:23

Re: TTY does not load and <F2> goes to tty1

Postby deusr » Wed Oct 17, 2012 23:14

Someone else could help me with a solution?
deusr
Simple Hen
 
Posts: 83
Joined: Mon Feb 23, 2009 7:23

Re: TTY does not load and <F2> goes to tty1

Postby Fitzcarraldo » Thu Oct 18, 2012 0:30

Google Translate is not doing you any favours, deuser, and probably confusing most readers. Knowing that you speak Portuguese, I know that the translation of what you wrote in Portuguese is:

I forgot, but some distributions starts with 0 and not 1. But the problem is that if I try to access some, they do not load so I can enter the username and password. And when I press F2 to rename a file, I was thrown to a tty.


Paste the output of the following commands issued as root user:

Code: Select all
cat /etc/conf.d/keymaps
locale
cat /etc/locale.gen
cat /etc/conf.d/consolefont
rc-update -v show | grep consolefont
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: TTY does not load and <F2> goes to tty1

Postby deusr » Thu Oct 18, 2012 0:54

deusr
Simple Hen
 
Posts: 83
Joined: Mon Feb 23, 2009 7:23

Re: TTY does not load and <F2> goes to tty1

Postby Fitzcarraldo » Thu Oct 18, 2012 10:07

That output looks OK to me. Try commenting out all the locales in the file /etc/locale.gen except the following two:

Code: Select all
pt_BR.UTF-8 UTF-8
pt_BR ISO-8859-1

and then run the following commands (as root user):

Code: Select all
locale-gen
env-update && source /etc/profile

and reboot.

Also have a look in /boot/grub/grub.cfg and see if the kernel boot line has a "keymap=" entry. If it does, delete the "keymap=<xx>".

It is strange you are having problems, as the following Brazilian blogger also installed SL on an Acer Ultrabook S3 and did not mention any problem with the keyboard mapping:

http://www.talesam.org/blog/ultrabook-a ... m-sabayon/
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: TTY does not load and <F2> goes to tty1

Postby deusr » Thu Oct 18, 2012 21:23

Hello, I did what you said and still the same thing. The Blog is my respect, I am Tales and I have written the article Sabayon. Everything was OK, it happened after a system update.
deusr
Simple Hen
 
Posts: 83
Joined: Mon Feb 23, 2009 7:23

Re: TTY does not load and <F2> goes to tty1

Postby Fitzcarraldo » Thu Oct 18, 2012 22:10

Nossa Senhora. Problema teimoso, heim?

I'm wondering whether the problem is due to the keymap. Looking on the laptop I'm using at the moment, I see the following Brazilian keyboard maps:

Code: Select all
$ ls /usr/share/keymaps/i386/qwerty/br*
/usr/share/keymaps/i386/qwerty/br-abnt2.map.gz  /usr/share/keymaps/i386/qwerty/br-latin1-abnt2.map.gz
/usr/share/keymaps/i386/qwerty/br-abnt.map.gz   /usr/share/keymaps/i386/qwerty/br-latin1-us.map.gz

I suggest you try changing the entry in the file /etc/conf.d/keymaps to:

Code: Select all
keymap=br-latin1-abnt2

and reboot. If that doesn't work, try the other two keymaps (br-abnt and br-latin1-us). I know the ABNT2 keyboard is not the same as the ABNT keyboard or the US keyboard, but try them anyway to see what effect it has on the behaviour of the function keys.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: TTY does not load and <F2> goes to tty1

Postby deusr » Thu Oct 18, 2012 22:47

Yes, but what has to do with keymaps I can not login or access the terminal in text mode (CTRL + ALT + F1, F2 .... F6)?
deusr
Simple Hen
 
Posts: 83
Joined: Mon Feb 23, 2009 7:23

Re: TTY does not load and <F2> goes to tty1

Postby Fitzcarraldo » Thu Oct 18, 2012 23:08

If the console keys are not mapped correctly then if you press, let's say F2 for the sake of argument, it could translate wrongly to Ctrl-F2 or whatever. This is what happened to the guy using the Apple keyboard I mentioned earlier (see VTs and QT blocks [Solved]). A similar thing can happen in X Windows too (see e.g. Re: keyboard remapping and virtual keyboards and FN keys...).

It is even possible to remap some console keys yourself. See e.g. Changing the Console Keymap.

If you are experiencing the problem in the console before X Windows starts, then the problem is with the console keymap. If you are experiencing the problem after X Windows starts (e.g. in the DE), then the problem can be solved by remapping as explained in Re: keyboard remapping and virtual keyboards and FN keys....
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7335
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: TTY does not load and <F2> goes to tty1

Postby deusr » Fri Oct 19, 2012 1:53

Vou responder em português mesmo, pois o meu inglês é horrível e sei que você me entende :)

São dois problemas distintos, um é quando eu teclo <F2> e vai para o <CTRL+ALT+F2>.

Independente disso, quando eu acesso qualquer dos 6 terminais texto, <CTRL+ALT+F1 ao F6> não termina de carregar, ou seja, não tem como eu logar. Isso pode ser visto nas imagens que eu postei no link aqui: http://imgur.com/a/29sjf

É isso.
deusr
Simple Hen
 
Posts: 83
Joined: Mon Feb 23, 2009 7:23

PreviousNext

Return to Sabayon Linux General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests