Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
no Ctrl+alt+f1 back to console after X starts
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
njcwotx
Guru
Guru


Joined: 25 Feb 2005
Posts: 587
Location: Texas

PostPosted: Fri Aug 21, 2009 3:41 am    Post subject: no Ctrl+alt+f1 back to console after X starts Reply with quote

I just installed a new system, After setting up X I no longer can get Ctrl+Alt+F1 (or any F#) key to get the console screen. If I use gdm and logout I can never get back to console but can log back into kde, If I use startx and logout I do get back to console and ctrl+alt+f1 works again. Any ideas?
_________________
Drinking from the fountain of knowldege.
Sometimes sipping.
Sometimes gulping.
Always thirsting.
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Fri Aug 21, 2009 3:50 am    Post subject: Reply with quote

When I upgraded to xorg-server-1.5 I lost the ability to ctrl+alt_f1 also. I'm not sure if this will do the trick from you, since you said it was a new install, but try this:
Code:
emerge xf86-input-keyboard xkeyboard-config xkbcomp

Run the command even if the packages are installed. In my case one or more of those packages weren't properly build against xorg-server, which might be the same for you if they were installed before xorg-server was installed.


EDIT:
Also, can you change to the vt, when issuing this command?
Code:
chvt 1
If you can't it means something larger than your keyboard layout it the matter.
Back to top
View user's profile Send private message
njcwotx
Guru
Guru


Joined: 25 Feb 2005
Posts: 587
Location: Texas

PostPosted: Fri Aug 21, 2009 4:02 am    Post subject: Reply with quote

chvt 1 works, but re-emerging the 3 apps did not help. I might try to review my use flags and rebuild xorg. Im on 1.5.3-r6.

Also for what its worth, Ctrl+Alt+F# produces nice and strange charachters in terminal if I try it there, so I guess its jacked up the keyboard input as you suggest.

thx for the tip, I can live with chvt for now.
_________________
Drinking from the fountain of knowldege.
Sometimes sipping.
Sometimes gulping.
Always thirsting.
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Fri Aug 21, 2009 4:06 am    Post subject: Reply with quote

Can you post your xorg.conf? There might be something odd in it that is messing you up.

Also, can you change to other vt's once you are out of X (e.g ctrl+alt+f2 when you are on vt1).
Back to top
View user's profile Send private message
njcwotx
Guru
Guru


Joined: 25 Feb 2005
Posts: 587
Location: Texas

PostPosted: Fri Aug 21, 2009 4:17 am    Post subject: Reply with quote

yes, keys worked once chvt was run, but I had to always use chvt to exit X.

I did however find the offending lines in Xorg, after you suggested I post it I took a peak and found these lines and removed them and it works fine now.
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "XkbRules" "xorg"
# Option "XkbModel" "pc104"
# Option "XkbLayout" "us"
# Option "XkbVariant" "us"

I might play to see which of these I can add back before it breaks again.
_________________
Drinking from the fountain of knowldege.
Sometimes sipping.
Sometimes gulping.
Always thirsting.
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Fri Aug 21, 2009 4:25 am    Post subject: Reply with quote

One thing to note, if you are using >=xorg-server-1.5 (which you are) with USE=hal, you should add evdev to you INPUT_DEVICES var in your make.conf. If you do this, your keyboard and mouse will be autoplugged by hal, and you don't need any Input sections in your xorg.conf. You might want to try removing all those sections. Happy to hear things are working now though! :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum