이 방법은 CentOS를 그래픽 모드로 설치를 하고, 부팅을 하는데 X윈도우에 들어가는 순간부터 마우스 포인터만 보이고 진행이 안 되는 현상에서 사용하는 방법이다.
Text 모드의 경우에는 커널모드로 사용 할 수 있지만, 로컬에서 X윈도우를 사용 할 때 위와 같은 증상으로 사용 할 수 없다면 아래와 같은 방법을 통하여 사용 하도록 한다.
X윈도 해상도 설정
X윈도의 해상도 설정 파일은 /etc/X11/xorg.conf 에 위치한다.
centos# vi /etc/X11/xorg.conf
# Xorg configuration created by pyxf86config
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "vesa"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Screen 섹션을 보면 mode라는 명령어가 없는데 아래와 같이 추가 하면 된가.
# Xorg configuration created by pyxf86config
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "vesa"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768" "800x600"
EndSubSection
EndSection
X윈도 주파수 설정
CRT 모니터의 경우에는 주파수 문제가 자주 나오지 않지만, LCD 모니터의 경우에는 모니터에서 주파수를 지원하지 못하여 나오지 않을 수 있다.
LCD 모니터의 주파수를 허용하는 범위를 검색하여 맞추는 것이 좋으며, 아래 값과 같이 기본적으로 65에 맞추면 나오게 된다.
centos# vi /etc/X11/xorg.conf
# Xorg configuration created by pyxf86config
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "vesa"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 30-65
VertRefresh 50-65
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
'LINUX > Linux TIP' 카테고리의 다른 글
특정 IP만 서버에 접근 가능하게 하는 방법 #2 (0) | 2010.12.17 |
---|---|
특정 IP만 서버에 접근 가능하게 하는 방법 #1 (0) | 2010.12.17 |
텍스트 모드로 설치 하였을 때 부팅시 X윈도로 하게 하는 방법 (0) | 2010.07.13 |
ssh를 이용하여 root 접속을 못하게 하는 보안 팁 (0) | 2010.04.06 |
SSH 한글깨짐 (0) | 2009.02.10 |