[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Como configurar o X?



Sávio Ramos escreveu:
Está sucinta demais... Em algum lugar deve haver as indicações mais
precisas.

Olá,

Aqui vai abaixo um xorg.conf de um multi-terminal, com Debian Testing e Xephyr sobre Xorg, em operação com duas placa nVidia, com duas GPUs cada, resultando em 4 GPUs e portanto serve para 4 usuários, mas atualmente 3 ativos.

       Divirta! :-P


# xorg.conf (Xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
#   md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum
#   dpkg-reconfigure xserver-xorg

Section "Files"
       # FontPath      "unix/:7100"                    # local font server
       # if the local font server has problems, we can fall back on these
       FontPath        "/usr/share/fonts/X11/misc"
       FontPath        "/usr/X11R6/lib/X11/fonts/misc"
       FontPath        "/usr/share/fonts/X11/cyrillic"
       FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
       FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
       FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
       FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
       FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
       FontPath        "/usr/share/fonts/X11/Type1"
       FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
       FontPath        "/usr/share/fonts/X11/100dpi"
       FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
       FontPath        "/usr/share/fonts/X11/75dpi"
       FontPath        "/usr/share/fonts/X11/dosemu"
       FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
       # path to defoma fonts
       FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
       Load    "i2c"
       Load    "bitmap"
       Load    "dbe"
       Load    "ddc"
       Load    "dri"
       Load    "evdev"
       Load    "extmod"
       Load    "freetype"
       Load    "glx"
       Load    "int10"
       Load    "record"
       Load    "type1"
       Load    "v4l"
       Load    "vbe"
EndSection

Section "InputDevice"
       Identifier      "Teclado US"
       Driver          "keyboard"
       Option          "CoreKeyboard"
       Option          "XkbRules"      "xorg"
       Option          "XkbModel"      "pc104"
       Option          "XkbLayout"     "us"
       Option          "XkbVariant"    "intl"
#        Option          "XkbOptions"    "intl"
EndSection

Section "InputDevice"
       Identifier      "Teclado BR"
       Driver          "keyboard"
       Option          "CoreKeyboard"
       Option          "XkbRules"      "xorg"
       Option          "XkbModel"      "abnt2"
       Option          "XkbLayout"     "br"
#        Option          "XkbVariant"    "abnt2"
#        Option          "XkbOptions"    "intl"
EndSection

Section "InputDevice"
       Identifier      "Todos os Ratos"
       Driver          "mouse"
       Option          "CorePointer"
       Option          "Device"                "/dev/input/mice"
       Option          "Protocol"              "ImPS/2"
       Option          "Emulate3Buttons"       "true"
       Option          "ZAxisMapping"          "4 5"
EndSection

Section "InputDevice"
       Identifier      "Rato Serial 1"
       Driver          "mouse"
       Option          "CorePointer"
       Option          "Device"                "/dev/ttyS0"
       Option          "Protocol"              "Microsoft"
       Option          "Emulate3Buttons"       "true"
       Option          "ZAxisMapping"          "4 5"
EndSection

Section "InputDevice"
       Identifier      "Rato Serial 2"
       Driver          "mouse"
       Option          "CorePointer"
       Option          "Device"                "/dev/ttyS1"
       Option          "Protocol"              "Microsoft"
       Option          "Emulate3Buttons"       "true"
       Option          "ZAxisMapping"          "4 5"
EndSection

Section "Device"
       Option          "RenderAccel"           "True"
       Option          "RandRRotation"         "True"
       Option          "AllowDDCCI"            "True"
       Option          "ConnectedMonitor"      "CRT-0, CRT-1"
       Option          "Coolbits"              "1"
       Option          "AddARGBGLXVisuals"
       # TwinView Configuration
       #Option         "TwinView"              "True"
       #Option         "TwinViewOrientation"   "LeftOf"
#Option "MetaModes" "1152x864,1024x768;1024x768,1024x768;1024x768,800x600;800x600,800x600"
       #Option         "NoTwinViewXineramaInfo" "False"
       #Option         "SecondMonitorHorizSync" "30-54"
       #Option         "SecondMonitorVertRefresh" "50-120"

       Identifier      "NVIDIA Corporation NV34 [GeForce FX 5200] GPU1"
       Driver          "nvidia"
       BusID           "PCI:1:0:0"
       Screen          0
EndSection

Section "Device"
       Option          "RenderAccel"           "True"
       Option          "RandRRotation"         "True"
       Option          "AllowDDCCI"            "True"
       Option          "ConnectedMonitor"      "CRT-0, CRT-1"
       Option          "Coolbits"              "1"
       Option          "AddARGBGLXVisuals"

       Identifier      "NVIDIA Corporation NV34 [GeForce FX 5200] GPU2"
       Driver          "nvidia"
       BusID           "PCI:1:0:0"
       Screen          1
EndSection

Section "Device"
       Option          "RenderAccel"           "True"
       Option          "RandRRotation"         "True"
       Option          "AllowDDCCI"            "True"
       Option          "ConnectedMonitor"      "CRT-0, CRT-1"
       Option          "Coolbits"              "1"
       Option          "AddARGBGLXVisuals"

       Identifier      "NVIDIA Corporation NV34 [GeForce FX 5200] GPU3"
       Driver          "nvidia"
       BusID           "PCI:2:0:0"
       Screen          0
EndSection

Section "Device"
       Option          "RenderAccel"           "True"
       Option          "RandRRotation"         "True"
       Option          "AllowDDCCI"            "True"
       Option          "ConnectedMonitor"      "CRT-0, CRT-1"
       Option          "Coolbits"              "1"
       Option          "AddARGBGLXVisuals"

       Identifier      "NVIDIA Corporation NV34 [GeForce FX 5200] GPU4"
       Driver          "nvidia"
       BusID           "PCI:2:0:0"
       Screen          1
EndSection

Section "Monitor"
       Identifier      "Monitor Samsung SyncMaster 750s"
       Option          "DPMS"
       HorizSync       30-70
       VertRefresh     50-160
EndSection

Section "Monitor"
       Identifier      "Monitor AOC Spectrum 4Vn"
       Option          "DPMS"
       HorizSync       30-54
       VertRefresh     50-120
EndSection

Section "Screen"
       Identifier      "Samsung1"
       Device          "NVIDIA Corporation NV34 [GeForce FX 5200] GPU1"
       Monitor         "Monitor Samsung SyncMaster 750s"
       DefaultDepth    24
       SubSection "Display"
               Depth           24
               Modes           "1024x768" "800x600" "640x480"
       EndSubSection
EndSection

Section "Screen"
       Identifier      "Samsung2"
       Device          "NVIDIA Corporation NV34 [GeForce FX 5200] GPU2"
       Monitor         "Monitor Samsung SyncMaster 750s"
       DefaultDepth    24
       SubSection "Display"
               Depth           24
               Modes           "1024x768" "800x600" "640x480"
       EndSubSection
EndSection

Section "Screen"
       Identifier      "Samsung3"
       Device          "NVIDIA Corporation NV34 [GeForce FX 5200] GPU3"
       Monitor         "Monitor Samsung SyncMaster 750s"
       DefaultDepth    24
       SubSection "Display"
               Depth           24
               Modes           "1024x768" "800x600" "640x480"
       EndSubSection
EndSection

Section "Screen"
       Identifier      "Samsung4"
       Device          "NVIDIA Corporation NV34 [GeForce FX 5200] GPU4"
       Monitor         "Monitor Samsung SyncMaster 750s"
       DefaultDepth    24
       SubSection "Display"
               Depth           24
               Modes           "1024x768" "800x600" "640x480"
       EndSubSection
EndSection

Section "ServerFlags"
       Option          "BlankTime"     "0"
       Option          "StandbyTime"   "0"
       Option          "SuspendTime"   "0"
       Option          "OffTime"       "5"
       #Option         "Xinerama"      "True"
EndSection

Section "ServerLayout"
       Identifier      "Total"
       Screen          "Samsung1"
       Screen          "Samsung3" LeftOf "Samsung1"
       Screen          "Samsung4" LeftOf "Samsung3"
       InputDevice     "Teclado BR"
       InputDevice     "Todos os Ratos"
EndSection

Section "DRI"
       Mode    0666
EndSection

#Section "Extensions"
#       Option "Composite" "Enable"
#EndSection


--
Atenciosamente,

          Junior Polegato

          Um peregrino de problemas; Um pergaminho de soluções!
          Página Profissional: http://www.juniorpolegato.com.br


Reply to: