You are not logged in.

#1 2006-04-27 23:01:07

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 567

ctrl alt F1 problem in X

Has anything changed recently that would prevent switching to virtual consoles with ctrl alt F1?

It has suddenly stopped working for me.  The xorg.conf file (below) hasn't been changed in over a month.  Have kept up to date with pacman -Syu.  Only other possible cause was a hard reboot.

Any suggestions?

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/75dpi"
        FontPath     "/usr/share/fonts/100dpi"
        FontPath     "/usr/share/fonts/TTF"
        FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"

#       Load  "glcore"
        Load  "glx"
        Load  "extmod"
        Load  "xtrap"
        Load  "record"
        Load  "dbe"
#       Load  "dri"
        Load  "freetype"
        Load  "type1"
EndSection

Section "InputDevice"

Option      "XkbRules" "xorg"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "gb"
#Option "XkbVariant" "nodeadkeys"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"

#       VendorName   "Monitor Vendor"
#       ModelName    "Monitor Model"
        Identifier   "Monitor0"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "DigitalVibrance"           # <i>
        #Option     "NoFlip"                    # [<bool>]
        #Option     "Dac8Bit"                   # [<bool>]
        #Option     "NoLogo"                    # [<bool>]
        #Option     "UBB"                       # [<bool>]
        #Option     "Stereo"                    # <i>
        #Option     "SWcursor"                  # [<bool>]
        #Option     "HWcursor"                  # [<bool>]
        #Option     "VideoKey"                  # <i>
        #Option     "NvAGP"                     # <i>
        #Option     "IgnoreEDID"                # [<bool>]
        #Option     "NoDDC"                     # [<bool>]
        #Option     "ConnectedMonitor"          # <str>
        #Option     "ConnectedMonitors"         # <str>
        #Option     "TVStandard"                # <str>
        #Option     "TVOutFormat"               # <str>
        #Option     "RenderAccel"               # [<bool>]
        #Option     "CursorShadow"              # [<bool>]
        #Option     "CursorShadowAlpha"         # <i>
        #Option     "CursorShadowXOffset"       # <i>
        #Option     "CursorShadowYOffset"       # <i>
        #Option     "UseEdidFreqs"              # [<bool>]
        #Option     "FlatPanelProperties"       # <str>
        #Option     "TwinView"                  # [<bool>]
        #Option     "TwinViewOrientation"       # <str>
        #Option     "SecondMonitorHorizSync"    # <str>
        #Option     "SecondMonitorVertRefresh"  # <str>
        #Option     "MetaModes"                 # <str>
        #Option     "UseInt10Module"            # [<bool>]
        #Option     "NoTwinViewXineramaInfo"    # [<bool>]
        #Option     "NoRenderExtension"         # [<bool>]
        #Option     "Overlay"                   # [<bool>]
        #Option     "CIOverlay"                 # [<bool>]
        #Option     "ForceEmulatedOverlay"      # [<bool>]
        #Option     "TransparentIndex"          # <i>
        #Option     "OverlayDefaultVisual"      # [<bool>]
        #Option     "NvEmulate"                 # <i>
        #Option     "NoBandWidthTest"           # [<bool>]
        #Option     "CustomEDID-CRT-0"          # <str>
        #Option     "CustomEDID-CRT-1"          # <str>
        #Option     "CustomEDID-DFP-0"          # <str>
        #Option     "CustomEDID-DFP-1"          # <str>
        #Option     "CustomEDID-TV-0"           # <str>
        #Option     "CustomEDID-TV-1"           # <str>
        #Option     "TVOverScan"                # <f>
        #Option     "IgnoreDisplayDevices"      # <str>
        #Option     "MultisampleCompatibility"  # [<bool>]
        #Option     "RegistryDwords"            # <str>
        #Option     "RegistryBinary"            # <str>
        #Option     "NoPowerConnectorCheck"     # [<bool>]
        #Option     "AllowDFPStereo"            # [<bool>]
        #Option     "XvMCUsesTextures"          # [<bool>]
        #Option     "HorizSync"                 # <str>
        #Option     "VertRefresh"               # <str>
#        Option     "AllowGLXWithComposite" "true"      # [<bool>]
        #Option     "RandRRotation"             # [<bool>]
        #Option     "ExactModeTimingsDVI"       # [<bool>]
#       Driver      "vesa"
#       VendorName  "nVidia Corporation"
#       BoardName   "NV15DDR [GeForce2 Ti]"
#       BusID       "PCI:1:0:0"
        Identifier  "Card0"
        Driver      "nvidia"
        Card        "nv GeForce2 Ti"
EndSection

Section "Screen"

#       SubSection "Display"
#               Viewport   0 0
#               Depth     1
#       EndSubSection
#       SubSection "Display"
#               Viewport   0 0
#               Depth     4
#       EndSubSection
#       SubSection "Display"
#               Viewport   0 0
#               Depth     8
#       EndSubSection
#       SubSection "Display"
#               Viewport   0 0
#               Depth     15
#       EndSubSection
#       SubSection "Display"
#               Viewport   0 0
#               Depth     16
#       EndSubSection
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Offline

#2 2006-04-28 00:29:49

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: ctrl alt F1 problem in X

normally its one of these:

 Option "XkbLayout" "gb"
#Option "XkbVariant" "nodeadkeys" 

but nodeadkeys is commented out like it should. XkbLayout should represent your locale(?). I assume gb stands for Great Britain, mine is us. Maybe try fiddling with that.

Offline

#3 2006-04-29 07:15:46

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 567

Re: ctrl alt F1 problem in X

/var/log/Xorg.0.log contains a clue:

"Couldn't load XKB keymap, falling back to pre-XKB keymap"

Yet the problem only occurs for users, not root, so presumably, its permissions related?

Offline

#4 2006-04-29 12:25:56

kth5
Member
Registered: 2004-04-29
Posts: 657
Website

Re: ctrl alt F1 problem in X

how about this?

Section "ServerFlags"
    Option "DontZap" "false"
EndSection

I recognize that while theory and practice are, in theory, the same, they are, in practice, different. -Mark Mitchell

Offline

#5 2006-04-29 12:58:17

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 567

Re: ctrl alt F1 problem in X

Another clue was "unable to write to /var/tmp/server-0.xkm"

Solved that by changing the permissions on /var/tmp to 777 (although not sure if thats legit). 
The "Couldn't load XKB keymap, falling back to pre-XKB keymap" error has gone as well.

Can now CTRL ALT F1 successfully.

Offline

#6 2006-04-29 18:28:54

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: ctrl alt F1 problem in X

Here's the permission I have on /var/tmp:

drwxrwxrwt   6 root root  4.0K Apr 28 19:31 tmp/

I don't know what the

t

means or how to get it with chmod. :?

Offline

#7 2006-04-29 20:17:14

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: ctrl alt F1 problem in X

t is the sticky bit. It'll be the first digit in chmod  (left blank defaults to zero) 

chmod 1777 /var/tmp

The sticky bit allows only the user or root to manipulate the files they created in the directory, even though the directory is world writable (777).

Offline

#8 2006-04-30 02:56:53

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: ctrl alt F1 problem in X

Penguin wrote:

t is the sticky bit. It'll be the first digit in chmod  (left blank defaults to zero) 

chmod 1777 /var/tmp

The sticky bit allows only the user or root to manipulate the files they created in the directory, even though the directory is world writable (777).

Thanks for the explanation. smile

Offline

Board footer

Powered by FluxBB