SuSE Linux: 버전 이래로 6.3
Kernel: 버전 이래로 2.2.0
Resoultion in pixel Color depth | 640x480 800x600 1024x768 1280x1024 -----------------+------------------------------------- 256 (8bit)| 769 771 773 775 32000 (15bit)| 784 787 790 793 65000 (16bit)| 785 788 791 794 16.7 Mill.(24bit)| 786 789 792 795예를 들어, 16비트 색상의 1024x768 해상도를 원하는 경우에는 다음과 같이 LILO 부트 파 라미터를 입력시켜야 합니다.
vga=791자신이 가지고 있는 비디오 카드가 위에 나와 있는 모든 해상도와 색상을 지원하지 않을 수 도 있다는 것을 명심하십시오.
sax -s vga16
mv /etc/XF86Config /etc/XF86Config.backup그런 다음 내용으로 새로운 /etc/XF86Config 파일을 만들어 줍니다.
# Start of file /etc/XF86Config Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" 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/URW" FontPath "/usr/X11R6/lib/X11/fonts/Speedo" FontPath "/usr/X11R6/lib/X11/fonts/misc" FontPath "/usr/X11R6/lib/X11/fonts/75dpi" FontPath "/usr/X11R6/lib/X11/fonts/100dpi" FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled" EndSection Section "ServerFlags" AllowMouseOpenFail EndSection Section "Module" EndSection # This section is no longer supported # See a template below # Section "XInput" # EndSection Section "Keyboard" Protocol "Standard" XkbRules "xfree86" XkbModel "pc104" XkbLayout "us" XkbVariant "nodeadkeys" EndSection Section "Pointer" Protocol "PS/2" Device "/dev/psaux" SampleRate 60 BaudRate 1200 EndSection Section "Monitor" Identifier "Primary-Monitor" EndSection Section "Device" Identifier "fbdev" VendorName "x" BoardName "y" EndSection Section "Screen" Driver "fbdev" Device "fbdev" Monitor "Primary-Monitor" SubSection "Display" Depth 32 Modes "default" EndSubSection SubSection "Display" Depth 24 Modes "default" EndSubSection SubSection "Display" Depth 16 Modes "default" EndSubSection SubSection "Display" Depth 15 Modes "default" EndSubSection SubSection "Display" Depth 8 Modes "default" EndSubSection EndSection # Ende of file /etc/XF86Config위에 나와 있는 환경 설정은 표준 PC 키보드와 PS/2 마우스의 사용을 위해서 준비된 것입 니다. 만약 다른 종류의 마우스를 사용한다면 위 파일의 "Pointer" 섹션을 적절하게 채워야 합니다. 사용 가능한 마우스 종류에 대한 사항은 해당 맨 페이지(man XF86Config)를 참조 하시기 바랍니다.
for i in 0 1 2 3 4 5 6 7; do z=$(expr $i \* 32) ; mknod /dev/fb${i} c 29 ${z} ; done
XF86_FBDev -bpp 16"-bpp 16" 옵션은 16비트 색상을 선택한다는 것을 의미합니다. 이 옵션으로 선택된 색상은 리눅스를 시작할 때 선택된 vga 옵션과 같아야 합니다. 그렇지 않으면 X 서버가 제대로 실행되지 않고 "invalid argument"라는 에러 메시지가 나오게 됩니다.
X 서버를 성공적으로 시작하고 나면 스크린 중앙에 X 표시가 나오면서 전형적인 X 백그라운드가 나타나게 됩니다. 이제 중앙에 있는 X 표시를 이동시켜 보십시오. 모든 것이 정상적으로 작동되면 ALT+CTRL+BACKSPACE 조합키로 X 서버의 실행을 종료시킵니다.
ln -s /usr/X11R6/bin/XF86_FBDev /var/X11R6/bin/X
startx -- -bpp 16"-bpp" 옵션은 원하는 색상을 말합니다.
lilo
를 다시 실행시켜 주시기 바랍니다.