Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot switch to TTY, CTR+ALT+F1 unresponsive
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
HeadHolio
Guru
Guru


Joined: 10 Aug 2002
Posts: 445

PostPosted: Sat Nov 20, 2004 8:29 am    Post subject: Cannot switch to TTY, CTR+ALT+F1 unresponsive Reply with quote

I could have sworn that I read a post about this somewhere, but I couldn't find it after an hour of searching. Anyways, weird thing is that I can't switch to a TTY, not only that, but I can't switch metamodes either. However if I don't load up X, i can switch from one TTY to another no problem. I'm guessing that X is messing with my keyboard mapping or something.

Additional Info:

Xorg-6.8.0-r3
nVidia drivers 1.0.6629
Kernel 2.6.9-gentoo-r4
KDM with KDE-3.3.1
Back to top
View user's profile Send private message
HeadHolio
Guru
Guru


Joined: 10 Aug 2002
Posts: 445

PostPosted: Sat Nov 20, 2004 9:47 pm    Post subject: hrmm Reply with quote

Okay, now I've got the problem on two different Gentoo systems. Anyone have any suggestions?
Back to top
View user's profile Send private message
akela
n00b
n00b


Joined: 23 Jul 2004
Posts: 33

PostPosted: Sat Nov 20, 2004 10:21 pm    Post subject: Reply with quote

I saw an option in my xorg.conf file to disable TTY switching:
Code:
# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#    Option "DontVTSwitch"


It's in the serverflags section, if that helps any. :) This may or may not be the problem, especially considering by default it is commented out.
Back to top
View user's profile Send private message
HeadHolio
Guru
Guru


Joined: 10 Aug 2002
Posts: 445

PostPosted: Sun Nov 21, 2004 7:31 am    Post subject: Nope Reply with quote

No, it was commented out in my xorg.conf. Odly enough, CTRL+ALT+Backspace seems to work, it kills X and drops me to a console.

Last edited by HeadHolio on Sun Nov 21, 2004 7:35 am; edited 1 time in total
Back to top
View user's profile Send private message
Anime_Fan
Guru
Guru


Joined: 01 Jul 2003
Posts: 366
Location: Linköping, Sweden

PostPosted: Sun Nov 21, 2004 7:34 am    Post subject: Re: Nope Reply with quote

HeadHolio wrote:
No, it was commented out in my xorg.conf. Odly enough, CTRL+ALT+Backspace seems to work and kills X for me.


That's because Ctrl+Alt+Backspace is the DontZap option:
Code:
#    Option "DontZap"
Back to top
View user's profile Send private message
HeadHolio
Guru
Guru


Joined: 10 Aug 2002
Posts: 445

PostPosted: Sun Nov 21, 2004 7:40 am    Post subject: Ok then.... Reply with quote

Ok, well here's my xorg.conf. If you can spot the reason this is happening, then please let me know. Another weird thing that happens, is when I load up a console, and press CTRL+ALT+F1, it inputs "OP" into the console. CTRL+ALT+F2 inputs "OQ".

Code:
# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

    Load        "dbe"   # Double buffer extension
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

    Load        "type1"
#    Load        "speedo"
    Load        "freetype"
#    Load        "xtt"
    Load       "glx"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"


    RgbPath "/usr/X11R6/lib/X11/rgb"

    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/CID/"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/local/"
    FontPath   "/usr/share/fonts/Speedo/"
#    FontPath   "/usr/share/fonts/TrueType/"
#    FontPath   "/usr/share/fonts/freefont/"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

#    Option "NoTrapSignals"
#    Option "DontVTSwitch"
#    Option "DontZap"
#    Option "Dont Zoom"
#    Option "DisableVidModeExtension"
#    Option "AllowNonLocalXvidtune"
#    Option "DisableModInDev"
#    Option "AllowNonLocalModInDev"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier "Keyboard1"
    Driver "kbd"
#    Option     "Protocol"      "Xqueue"
    Option "AutoRepeat" "500 30"
#    Option "XkbDisable"
#    Option "XkbRules" "xorg"
    Option "XkbModel" "pc104"
    Option "XkbLayout" "us"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol"    "ExplorerPS/2"
    Option "Device"      "/dev/input/mice"
    Option "Buttons" "7"
    Option "ZAxisMapping" "6 7"
    Option "HWCursor" "false"
    Option "Resolution" "800"
#    Option "Protocol" "Xqueue"
#    Option "BaudRate" "9600"
#    Option "SampleRate" "150"
#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"
#    Option "ChordMiddle"

EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

Section "Monitor"

    Identifier  "Generic CRT"
    HorizSync   31-48
    VertRefresh 56-85

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

Section "Device"
    Identifier  "Ti4200"
    Driver      "nvidia"
#    Option  "NvAGP"  "1"
    Option "NoLogo" "True"
    Option "TwinView"
    Option      "SecondMonitorHorizSync"  "30-50"
    Option      "SecondMonitorVertRefresh"        "60"
    Option      "MetaModes"  "1024x768,;1024x768,1024x768"
    Option      "TwinViewOrientation"     "Clone"
    Option      "TVStandard"      "NTSC-M"
    Option      "TVOutFormat"     "SVIDEO"
    Screen 0
    #VideoRam    65536
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

Section "Screen"
    Identifier  "Screen 0"
    Device      "Ti4200"
    Option "NvAGP" "1"
    Monitor     "Generic CRT"
    DefaultDepth 24

    Subsection "Display"
        Depth       24
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"

    Identifier  "Simple Layout"
    Screen "Screen 0"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection

Section "DRI"
   Mode 0666
EndSection
Back to top
View user's profile Send private message
HeadHolio
Guru
Guru


Joined: 10 Aug 2002
Posts: 445

PostPosted: Sun Nov 21, 2004 11:47 am    Post subject: Found it Reply with quote

I remember running into this problem before. Apparently there are two versions of xkbcomp, one in

/usr/X11R6/bin

and the other in:
/usr/X11R6/lib/X11/xkb

The latter one is zero length.-- copying the first to the second made it work again.
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