x.org conf - enabling virtual terminals

Alma J Wetzker almaw
Tue Jan 3 22:11:15 PST 2006


A few months back, I "upgraded" to x.org from xfree.  I was able to get 
the system working, for the most part, by using bits from the 
XF86Config-4 file.  I lost the ability to do my ctl-alt-f[1-6] to a VT.

The man page on the config file leads me to believe that if I put 
"VTSysRequest" "on" in the ServerFlags section, it should work

Section "ServerFlags"
	Option	"AllowMouseOpenFail"
	Option	"standby time"	"20"
	Option	"suspend time"	"30"
	Option	"off time"	"35"
	Option	"VTSysReq"	"on"
EndSection

it doesn't work.

Can some kind soul enlighten me about what else needs to be in the 
xorg.conf file to let me use the virtual terminals?

I am running a gentoo system, xorg.conf as follows:

Section "Files"
     	RgbPath "/usr/X11R6/lib/X11/rgb"
	FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
     	FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
     	FontPath "/usr/X11R6/lib/X11/fonts/TrueType"
     	FontPath "/usr/X11R6/lib/X11/fonts/Type1"
     	FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
     	FontPath "/usr/X11R6/lib/X11/fonts/ghostscript"
     ## For XFS, uncomment this and comment the others
     ## FontPath	"unix/:-1"
     #FontPath	"/usr/share/fonts/local/"
     #FontPath	"/usr/share/fonts/misc/"
     #FontPath	"/usr/share/fonts/75dpi/:unscaled"
     #FontPath	"/usr/share/fonts/100dpi/:unscaled"
     #FontPath	"/usr/share/fonts/Type1/"
     #FontPath    "/usr/share/fonts/TTF/"
     #FontPath	"/usr/share/fonts/CID/"
     #FontPath	"/usr/share/fonts/Speedo/"
     #FontPath	"/usr/share/fonts/75dpi/"
     #FontPath	"/usr/share/fonts/100dpi/"
EndSection

Section "Module"
	Load  "dbe"
	Load  "dri"
	Load  "extmod"
	Load  "glx"
	Load  "record"
	Load  "xie"

	Load  "freetype"
         Load  "type1"
	Load "v4l"
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     "NoAccel"            	# [<bool>]
         #Option     "SWcursor"           	# [<bool>]
         #Option     "Dac6Bit"            	# [<bool>]
         #Option     "Dac8Bit"            	# [<bool>]
         #Option     "ForcePCIMode"       	# [<bool>]
         #Option     "CPPIOMode"          	# [<bool>]
         #Option     "CPusecTimeout"      	# <i>
         #Option     "AGPMode"            	# <i>
         #Option     "AGPSize"            	# <i>
         #Option     "RingSize"           	# <i>
         #Option     "BufferSize"         	# <i>
         #Option     "EnableDepthMoves"   	# [<bool>]
         #Option     "UseFBDev"           	# [<bool>]
	Identifier  "Generic VGA"
	Driver      "vesa"
	VideoRam    256

	#Option "X-KXCONFIG-VideoRam" "65536"
	#Option "X-KXCONFIG-MaxClock" "350"
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     "NoAccel"            	# [<bool>]
         #Option     "SWcursor"           	# [<bool>]
         #Option     "Dac6Bit"            	# [<bool>]
         #Option     "Dac8Bit"            	# [<bool>]
         #Option     "ForcePCIMode"       	# [<bool>]
         #Option     "CPPIOMode"          	# [<bool>]
         #Option     "CPusecTimeout"      	# <i>
         #Option     "AGPMode"            	# <i>
         #Option     "AGPSize"            	# <i>
         #Option     "RingSize"           	# <i>
         #Option     "BufferSize"         	# <i>
         #Option     "EnableDepthMoves"   	# [<bool>]
         #Option     "UseFBDev"           	# [<bool>]
	Identifier  "eVga"
	Driver      "nvidia"
	VendorName  "nVidia"
	BoardName   "FX 5500"
	BusID       "PCI:1:0:0"

         #Option "X-KXCONFIG-VideoRam" "65536"
         Option "X-KXCONFIG-MaxClock" "350"
EndSection


Section "DRI"
	Mode 0666
EndSection



Section "ServerFlags"
	Option	"AllowMouseOpenFail"
	Option	"standby time"	"20"
	Option	"suspend time"	"30"
	Option	"off time"	"35"
	Option	"VTSysReq"	"on"
EndSection


Section "InputDevice"
	Driver 		"keyboard"
	Identifier 	"keyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"microsoft"
	#Option		"XkbModel" 	"pc104"
	Option		"XkbLayout" 	"us_group3"
EndSection


Section "InputDevice"
	Driver 		"mouse"
	Identifier 	"mouse"

	Option		"Protocol"	"ImPS/2"
	Option		"Device"	"/dev/mouse"
	
	Option "ZAxisMapping" "4 5"
EndSection


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


Section "ServerLayout"
	Identifier	"Default layout"
	Screen		0 "Screen0" 0 0
	InputDevice	"mouse" "CorePointer"
	InputDevice	"usbmice" "SendCoreEvents"
	InputDevice	"keyboard" "CoreKeyboard"
EndSection


Section "Monitor"
     	Identifier "Generic Monitor"
     	VendorName "NEC"
     	ModelName "MultiSync XP21"
     	HorizSync 31-89
     	VertRefresh 55-160
     	ModeLine "1280x1024/76Hz" 135    1280 1312 1416 1664  1024 1027 
1030 1064
     	ModeLine "640x480" 25.175 640 664 760 800 480 491 493 525
     	ModeLine "1600x1200/70Hz" 189 1600 1664 1856 2160 1200 1201 1204 
1250  -HSync -VSync
     	ModeLine "800x600/100Hz" 69.65 800 864 928 1088 600 604 610 640 
-HSync -VSync
	#Mode "1280x1024/76Hz"
	#	DotClock	135
	#	HTimings	1280 1312 1416 1664
	#	VTimings	1024 1027 1030 1064
	#EndMode
	#Mode "640x480/76Hz"
	#	DotClock	25.175
	#	HTimings	640 664 760 800
	#	VTimings	480 491 493 525
	#EndMode
	#Mode "800x600/100Hz"
	#	DotClock	69.65
	#	HTimings	800 864 928 1088
	#	VTimings	600 604 610 640
	#	Flags		"-HSync -VSync"
	#EndMode
	#Mode "1600x1200/70Hz"
	#	DotClock	189
	#	HTimings	1600 1664 1856 2160
	#	VTimings	1200 1201 1204 1250
	#	Flags		"-HSync -VSync"
	#EndMode
EndSection


Section "Screen"
     Identifier  "Screen0"
     Device	"eVga"
     Monitor	"Generic Monitor"
     DefaultDepth 24
     Subsection "Display"
	Depth	    32
	Modes "1280x1024/76Hz" "1024x768" "800x600"
       	Virtual 0 0
     EndSubsection
     Subsection "Display"
         Depth	    24
         Modes "1280x1024/76Hz" "1024x768" "800x600"
         Virtual 0 0
     EndSubsection
     Subsection "Display"
         Depth	    16
         Modes "1280x1024/76Hz" "1024x768" "800x600"
         Virtual 0 0
     EndSubsection
     Subsection "Display"
         Depth	    8
         Modes "1280x1024/76Hz" "1024x768" "800x600"
	Virtual 0 0
     EndSubsection
EndSection


More information about the Linux-users mailing list