질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

리눅스에서 LCD DVI단자 사용어떻게 하나요?

작성자 정보

  • 임근식 작성
  • 작성일

컨텐츠 정보

본문

 

 

리눅스에서 듀얼 모니터를 사용하려고 하시는 것 같은데, 페도라를 사용하시는 경우

라면 system-config-display 명령을 Xwindows상에서 사용하실수 있습니다. 그러나 좀더

입맛에 맞게 세세하게 설정을 하고자 하신다면  제 경험기로 작성한 아래의

레드헷 9.0에서의  듀얼(dual)모니터 사용가이드를 참고해서 이해하신후 설정을 하시면

리눅스에서 미러링 또는 듀얼 모니터 또는 다중 모니터를 이용하실수 있습니다.


1. Test 환경
 OS: Redhat Linux 9.0
 Kernel: 2.4.28
 VGA Card: ATI Radeon 7000(Zendor Support)
 Window Manager: Gnome
 Ref: DualMode로 사용하기 위해 셋팅후 xmms 실행후 오른쪽마우스를 누르면 Xwinodws
       가 죽는 현상이 발생하고 xine으로 동영상실행시 중간에 stack overflow가 종종발생함.
 Xwindow 의 GUI 명령어: XFree86 (redhat-config-xfree86),Xorg(system-config-display )


2. 사용가능한 키(방향)

"RightOf "
"LeftOf  "
"Above   "
"Below   "

3. xorg.conf or X86Config  파일 수정방법

가. 2대의 모니터를 각각 다른 바탕화면으로 설정하여 이용방법
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" LeftOf "Screen1"
Screen 1 "Screen1" 0 0

나. 2대의 모니터를 마치 커다란 하나의 모니터로 사용방법
Section "ServerLayout"
Identifier "XFree86 Configured"
Option "Xinerama" "on"
# Xinerama를 ON하면 프로그램창을 1모니터에서 2모니터로 이동이 가능함.
Screen 0 "Screen0" LeftOf "Screen1"
Screen 1 "Screen1" RightOf "Screen0"

다. 섹션별 편집 맵(Map)

 [Serverlayout ] .--------> [Screen   ]       .---------> [Device ] 
  ( screen ) ----'              ( Device ) ------|                 (BusID "PCI:1:0:0" ) <-- Dual On
                                       (Monitor) ------'

4. Redhat 9.0, ATI Radeon 7000(Zendor), Samsung Sync19"+ Samsung15" 셋팅예


# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"
 Identifier     "XFree86 Configured"
 Screen         "Screen0" LeftOf "Screen1"
 Screen         "Screen1" RightOf "Screen0"
 InputDevice    "Mouse0" "CorePointer"
 InputDevice    "Keyboard0" "CoreKeyboard"
 Option     "Xinerama" "on"
EndSection

Section "Files"

# RgbPath is the location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
                    # local font server
                    # local font server
        # if the local font server has problems, we can fall back on these
 RgbPath      "/usr/X11R6/lib/X11/rgb"
 FontPath     "unix/:7110"
 FontPath     "unix/:7100"
 FontPath     "/usr/share/ghostscript/Resource/CIDFont"
 FontPath     "/usr/share/fonts/ko/TrueType"
EndSection

Section "Module"
 Load  "GLcore"
 Load  "bitmap"
 Load  "dbe"
 Load  "ddc"
 Load  "dri"
 Load  "extmod"
 Load  "freetype"
 Load  "glx"
 Load  "int10"
 Load  "record"
 Load  "speedo"
 Load  "type1"
 Load  "vbe"
#       Load    "xtt"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds"  "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
 Identifier  "Keyboard0"
 Driver      "keyboard"
 Option     "XkbRules" "xfree86"
 Option     "XkbModel" "pc105"
 Option     "XkbLayout" "us"
EndSection

Section "InputDevice"
 Identifier  "Mouse0"
 Driver      "mouse"
 Option     "Protocol" "IMPS/2"
 Option     "Device" "/dev/psaux"
 Option     "ZAxisMapping" "4 5"
 Option     "Emulate3Buttons" "no"
EndSection

Section "InputDevice"

# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
 Identifier  "DevInputMice"
 Driver      "mouse"
 Option     "Protocol" "IMPS/2"
 Option     "Device" "/dev/input/mice"
 Option     "ZAxisMapping" "4 5"
 Option     "Emulate3Buttons" "no"
EndSection

Section "Monitor"
 Identifier   "Monitor0"
 VendorName   "Monitor Vendor"
 ModelName    "SyncMaster"
 HorizSync    30.0 - 110.0
 VertRefresh  50.0 - 160.0
 Option     "dpms"
EndSection

Section "Monitor"
 Identifier   "Monitor1"
 VendorName   "Monitor Vendor"
 ModelName    "SyncMaster"
EndSection

Section "Device"

        #BusID       "AGP:1:0:0"
 Identifier  "Videocard0"
 Driver      "radeon"
 VendorName  "Videocard vendor"
 BoardName   "ATI Radeon 7000"
 VideoRam    32768
EndSection

Section "Device"

 # fglrx
 Identifier  "Videocard1"
 Driver      "radeon"
 VendorName  "Videocard vendor"
 BoardName   "ATI Radeon 7000"
 VideoRam    32768
 Option     "VideoOverlay" "on"
 Option     "OpenGLOverlay" "off"
 BusID       "1:0:0"
 Screen      1
EndSection

Section "Screen"
 Identifier "Screen0"
 Device     "Videocard0"
 Monitor    "Monitor0"
 DefaultDepth     16
 SubSection "Display"
  Depth     16
  Modes    "1280x1024"
 EndSubSection
 SubSection "Display"
  Depth     24
  Modes    "1280x1024"
 EndSubSection
EndSection

Section "Screen"
 Identifier "Screen1"
 Device     "Videocard1"
 Monitor    "Monitor1"
 DefaultDepth     16
 SubSection "Display"
  Depth     16
  Modes    "1024x768" "800x600"
 EndSubSection
 SubSection "Display"
  Depth     24
  Modes    "1024x768" "800x600"
 EndSubSection
EndSection

Section "DRI"
 Group        0
 Mode         0666
EndSection

 

 

이상.

 

from: invain ( http://intomail.net )

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,074 명
  • 현재 강좌수 :  35,995 개
  • 현재 접속자 :  383 명