From: Dr. S. B. <dr...@eP...> - 2006-07-28 21:07:53
|
Dear friends: I created multiheads with the slackware today. At the time when I came to know from my friend Zoli's post that it does not need faketty with xorg7 (kudos to xorg consortium), I came to know that the latest slack distribution 6.9 also has the same features. In the meantime, Mr. Mikhail Kshevetskiy's configuration files enlightened me a lot. And thanks to Tiago Vignatti of c3sl for his offer to help, but I created one on my own though very much confused with the Sys V init scripts. However, there are a few things to be solved. When I used differnt drivers for differnt cards, the second display did not work, even if the drivers are correct (ati and s3). Therfore I changed both to the ati based cards and it worked flawlessly. Second, the display resolution in the second terminal is much lower than the first one though both of them has the same configurations!? Third, I could not switch to the Swedish keyboard even after I specified se as the xkblayout. setxkblayout se in command line gives the following error> $ setxkbmap se Couldn't interpret _XKB_RULES_NAMES property Use defaults: rules - 'xorg' model - 'pc101' layout - 'us' Segmentation fault I am attaching my xorg.conf and gdm.conf files below for those who may be intersted and also to help diagnosethe three problems that I am facing right now. Shall be obliged if anyone could throw more light on it. Thanks in advance! May you, your family, your team be successful in your missions, prosperous, healthy, happy, free from suffering and in peace always! Webocratically yours, Dr. Sichendra Bista, Chief Architect and Founding Secretary-General eParliament.org: The Pioneering OPERATIONAL Model of Webocracy Founder and President, Global Initiatives International Secretariat -------------------------------------------------------------------- Peace | Justice | Human Rights | Democracy | Development -------------------------------------------------------------------- ---XORG.CONF--------- #manually configured by Dr. Sichendra Bista drbistaATgmailDOTcom # ********************************************************************** # 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 "freetype" #Load "speedo" 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/X11R6/lib/X11/fonts/local/" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/CID/" FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/" ModulePath "/usr/X11R6/lib/modules" EndSection # ********************************************************************** # Server flags section. # ********************************************************************** Section "ServerFlags" # Option "NoTrapSignals" # Option "DontVTSwitch" # Option "DontZap" # Option "DontZoom" # Option "DisableVidModeExtension" # Option "AllowNonLocalXvidtune" # Option "DisableModInDev" # Option "AllowNonLocalModInDev" # Option "blank time" "10" # 10 minutes # Option "standby time" "20" # Option "suspend time" "30" # Option "off time" "60" # Option "EstimateSizesAggresively" "0" Option "allowmouseopenfail" "yes" EndSection # ********************************************************************** # Core keyboard's InputDevice section # ********************************************************************** Section "InputDevice" Identifier "Keyboard" Driver "kbd" # Option "AutoRepeat" "125 30" Option "XkbRules" "xorg" Option "XkbModel" "pc102" Option "XkbLayout" "se" # Option "XkbVariant" "svorak" Option "XkbOptions" "grp:toggle,grp_led:scroll" EndSection Section "InputDevice" Identifier "Keyboard-ps" Driver "evdev" Option "Device" "/dev/input/event0" # Option "Protocol" "Xqueue" # Option "AutoRepeat" "500 5" # Option "Xleds" "1 2 3" # Option "XkbDisable" Option "Xk2064W+specificationsbRules" "xorg" Option "XkbModel" "evdev" Option "XkbLayout" "se" Option "XkbVariant" "svorak" # Option "XkbOptions" "" EndSection Section "InputDevice" Identifier "Keyboard-usb" Driver "evdev" Option "Device" "/dev/input/event3" # Option "AutoRepeat" "125 30" Option "XkbRules" "xorg" Option "XkbModel" "evdev" Option "XkbLayout" "se" Option "XkbVariant" "svorak" # Option "XkbOptions" "grp:toggle,grp_led:scroll" EndSection # ********************2064W+specifications************************************************** # Core Pointer's InputDevice section # ********************************************************************** Section "InputDevice" # Identifier and driver Identifier "Mouse-ps" Driver "mouse" Option "Protocol" "Auto" Option "Device" "/dev/input/mouse0" # Option "Protocol" "Xqueue" # Option "BaudRate" "9600" # Option "SampleRate" "150" # Option "Emulate3Buttons" # Option "Emulate3Timeout" "50" # Option "ChordMiddle" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "Mouse-usb" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/mouse1" Option "ZAxisMapping" "4 5" Option "SampleRate" "200" Option "Resolution" "400" EndSection # ********************************************************************** # Monitor section # ********************************************************************** Section "Monitor" Identifier "Monitor-ps" VendorName "SGX" ModelName "GDM-5011P" ### Comment all HorizSync and VertSync values to use DDC: HorizSync 30.0 - 107.0 VertRefresh 48.0 - 160.0 Option "DPMS" EndSection Section "Monitor" Identifier "Monitor-usb" VendorName "SGX" ModelName "GDM-5011P" ### Comment all HorizSync and VertSync values to use DDC: HorizSync 30.0 - 107.0 VertRefresh 48.0 - 160.0 Option "DPMS" EndSection # ********************************************************************** # Graphics device section # ********************************************************************** # Any number of graphics device sections may be present Section "Device" Identifier "Videocard-ps" VendorName "ATI" VENDORnAME "S3 Inc." BoardName "Rage XL AGP 2X" Driver "ati" BusID "PCI:1:0:0" EndSection Section "Device" Identifier "Videocard-usb" VendorName "ATI" BoardName "3D RAGE II+ 215GTB" Driver "ati" BusID "PCI:2:10:0" EndSection # ********************************************************************** # Screen sections # ********************************************************************** Section "Screen" Identifier "Screen-ps" Device "Videocard-ps" Monitor "Monitor-ps" DefaultDepth 24 Subsection "Display" Depth 8 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubsection Subsection "Display" Depth 16 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubsection Subsection "Display" Depth 24 #manually configured by Dr. Sichendra Bista drbistaATgmailDOTcom # ********************************************************************** # 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 "freetype" #Load "speedo" 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/X11R6/lib/X11/fonts/local/" FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/CID/" FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/" ModulePath "/usr/X11R6/lib/modules" EndSection # ********************************************************************** # Server flags section. # ********************************************************************** Section "ServerFlags" # Option "NoTrapSignals" # Option "DontVTSwitch" # Option "DontZap" # Option "DontZoom" # Option "DisableVidModeExtension" # Option "AllowNonLocalXvidtune" # Option "DisableModInDev" # Option "AllowNonLocalModInDev" # Option "blank time" "10" # 10 minutes # Option "standby time" "20" # Option "suspend time" "30" # Option "off time" "60" # Option "EstimateSizesAggresively" "0" Option "allowmouseopenfail" "yes" EndSection # ********************************************************************** # Core keyboard's InputDevice section # ********************************************************************** Section "InputDevice" Identifier "Keyboard" Driver "kbd" # Option "AutoRepeat" "125 30" Option "XkbRules" "xorg" Option "XkbModel" "pc102" Option "XkbLayout" "se" # Option "XkbVariant" "svorak" Option "XkbOptions" "grp:toggle,grp_led:scroll" EndSection Section "InputDevice" Identifier "Keyboard-ps" Driver "evdev" Option "Device" "/dev/input/event0" # Option "Protocol" "Xqueue" # Option "AutoRepeat" "500 5" # Option "Xleds" "1 2 3" # Option "XkbDisable" Option "Xk2064W+specificationsbRules" "xorg" Option "XkbModel" "evdev" Option "XkbLayout" "se" Option "XkbVariant" "svorak" # Option "XkbOptions" "" EndSection Section "InputDevice" Identifier "Keyboard-usb" Driver "evdev" Option "Device" "/dev/input/event3" # Option "AutoRepeat" "125 30" Option "XkbRules" "xorg" Option "XkbModel" "evdev" Option "XkbLayout" "se" Option "XkbVariant" "svorak" # Option "XkbOptions" "grp:toggle,grp_led:scroll" EndSection # ********************2064W+specifications************************************************** # Core Pointer's InputDevice section # ********************************************************************** Section "InputDevice" # Identifier and driver Identifier "Mouse-ps" Driver "mouse" Option "Protocol" "Auto" Option "Device" "/dev/input/mouse0" # Option "Protocol" "Xqueue" # Option "BaudRate" "9600" # Option "SampleRate" "150" # Option "Emulate3Buttons" # Option "Emulate3Timeout" "50" # Option "ChordMiddle" Option "ZAxisMapping" "4 5" EndSection Section "InputDevice" Identifier "Mouse-usb" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/mouse1" Option "ZAxisMapping" "4 5" Option "SampleRate" "200" Option "Resolution" "400" EndSection # ********************************************************************** # Monitor section # ********************************************************************** Section "Monitor" Identifier "Monitor-ps" VendorName "SGX" ModelName "GDM-5011P" ### Comment all HorizSync and VertSync values to use DDC: HorizSync 30.0 - 107.0 VertRefresh 48.0 - 160.0 Option "DPMS" EndSection Section "Monitor" Identifier "Monitor-usb" VendorName "SGX" ModelName "GDM-5011P" ### Comment all HorizSync and VertSync values to use DDC: HorizSync 30.0 - 107.0 VertRefresh 48.0 - 160.0 Option "DPMS" EndSection # ********************************************************************** # Graphics device section # ********************************************************************** # Any number of graphics device sections may be present Section "Device" Identifier "Videocard-ps" VendorName "ATI" VENDORnAME "S3 Inc." BoardName "Rage XL AGP 2X" Driver "ati" BusID "PCI:1:0:0" EndSection Section "Device" Identifier "Videocard-usb" VendorName "ATI" BoardName "3D RAGE II+ 215GTB" Driver "ati" BusID "PCI:2:10:0" EndSection # ********************************************************************** # Screen sections # ********************************************************************** Section "Screen" Identifier "Screen-ps" Device "Videocard-ps" Monitor "Monitor-ps" DefaultDepth 24 Subsection "Display" Depth 8 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubsection Subsection "Display" Depth 16 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubsection Subsection "Display" Depth 24 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubsection Subsection "Display" Depth 32 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubsection EndSection Section "Screen" Identifier "Screen-usb" Device "Videocard-usb" Monitor "Monitor-usb" DefaultDepth 24 Subsection "Display" Depth 8 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubsection Subsection "Display" Depth 16 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubsection Subsection "Display" Depth 24 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubsection Subsection "Display" Depth 32 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubsection EndSection # ********************************************************************** # ServerLayout sections. # ********************************************************************** Section "ServerLayout" Identifier "Seat0" Screen 0 "Screen-ps" 0 0 Screen 1 "Screen-usb" LeftOf "Screen-ps" InputDevice "Keyboard" "CoreKeyboard" InputDevice "Mouse-ps" "CorePointer" # InputDevice "Keyboard-usb" "SendCoreEvents" "true" InputDevice "Mouse-usb" "SendCoreEvents" "true" EndSection Section "ServerLayout" Identifier "Seat1" Screen 0 "Screen-ps" 0 0 InputDevice "Keyboard-ps" "CoreKeyboard" InputDevice "Mouse-ps" "CorePointer" Option "IsolateDevice" "PCI:1:0:0" EndSection Section "ServerLayout" Identifier "Seat2" Screen 0 "Screen-usb" 0 0 InputDevice "Keyboard-usb" "CoreKeyboard" InputDevice "Mouse-usb" "CorePointer" Option "IsolateDevice" "PCI:2:10:0" EndSection Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubsection Subsection "Display" Depth 32 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubsection EndSection Section "Screen" Identifier "Screen-usb" Device "Videocard-usb" Monitor "Monitor-usb" DefaultDepth 24 Subsection "Display" Depth 8 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubsection Subsection "Display" Depth 16 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubsection Subsection "Display" Depth 24 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubsection Subsection "Display" Depth 32 Modes "1280x1024" "1024x768" "800x600" "640x480" EndSubsection EndSection # ********************************************************************** # ServerLayout sections. # ********************************************************************** Section "ServerLayout" Identifier "Seat0" Screen 0 "Screen-ps" 0 0 Screen 1 "Screen-usb" LeftOf "Screen-ps" InputDevice "Keyboard" "CoreKeyboard" InputDevice "Mouse-ps" "CorePointer" # InputDevice "Keyboard-usb" "SendCoreEvents" "true" InputDevice "Mouse-usb" "SendCoreEvents" "true" EndSection Section "ServerLayout" Identifier "Seat1" Screen 0 "Screen-ps" 0 0 InputDevice "Keyboard-ps" "CoreKeyboard" InputDevice "Mouse-ps" "CorePointer" Option "IsolateDevice" "PCI:1:0:0" EndSection Section "ServerLayout" Identifier "Seat2" Screen 0 "Screen-usb" 0 0 InputDevice "Keyboard-usb" "CoreKeyboard" InputDevice "Mouse-usb" "CorePointer" Option "IsolateDevice" "PCI:2:10:0" EndSection ------GDM.CONF------------ #manually configured by Dr. Sichendra Bista drbistaATgmailDOTcom # GDM Configuration Customization file. # # This file is the appropriate place for specifying your customizations to the # GDM configuration. If you run gdmsetup, it will automatically edit this # file for you and will cause the daemon and any running GDM GUI programs to # automatically update with the new configuration. Not all configuration # options are supported by gdmsetup, so to modify some values it may be # necessary to modify this file directly by hand. # # To hand-edit this file, simply add or modify the key=value combination in # the appropriate section in the template below. Refer to the comments in the # gdm.conf file for information about each option. Also refer to the reference # documentation. # # If you hand edit a GDM configuration file, you should run the following # command to get the GDM daemon to notice the change. Any running GDM GUI # programs will also be notified to update with the new configuration. # # gdmflexiserver --command="UPDATE_CONFIG <configuration key>" # # For example, the "Enable" key in the "[debug]" section would be specified by # "debug/Enable". # # You can also run gdm-restart or gdm-safe-restart to cause GDM to restart and # re-read the new configuration settings. You can also restart GDM by sending # a HUP or USR1 signal to the daemon. HUP behaves like gdm-restart and causes # any user session started by GDM to exit immediately while USR1 behaves like # gdm-safe-restart and will wait until all users log out before restarting GDM. # # For full reference documentation see the gnome help browser under # GNOME|System category. You can also find the docs in HTML form on # http://www.gnome.org/projects/gdm/ # # NOTE: Lines that begin with "#" are considered comments. # # Have fun! [daemon] [security] [xdmcp] [gui] [greeter] [chooser] [debug] # Note that to disable servers defined in the defaults.conf file (such as # 0=Standard, you must put a line in this file that says 0=inactive, as # described in the Configuration section of the GDM documentation. # [servers] # Also note, that if you redefine a [server-foo] section, then GDM will # use the definition in this file, not the defaults.conf file. It is # currently not possible to disable a [server-foo] section defined # in the defaults.conf file. # 0=Seat1 1=Seat2 [server-Seat1] name=Standard server command=/usr/X11R6/bin/X0 :0 -novtswitch -layout Seat1 flexible=true [server-Seat2] name=Standard server command=/usr/X11R6/bin/X1 :1 -novtswitch -layout Seat2 -sharevts flexible=true |