หน้าเว็บ

วันจันทร์ที่ 17 พฤศจิกายน พ.ศ. 2551

Screen Resolution ไม่ auto-resize (VirtualBox & Intrepid)

อาการต่อเนื่องจากโพสก่อน http://ping2p.blogspot.com/2008/11/ubutu-8.html

แต่อันนี้คือ Screen Resolution ไม่ปรับขนาดตามหน้าจอของ host os และถ้าเลือกเปลี่ยนเองที่ System->Preferences->Screen Resolution ก็มีให้เลือกแค่ 800x600 กับ 640x480

วิธีแก้คือ
1) ตรวจสอบว่ามี vboxvideo_drv.so อยู่ที่ /usr/lib/xorg/modules/drivers
2) เป็น root แล้วแก้ไข /etc/X11/xorg.conf
2.1) เพิ่มใน section Device
Section "Device"
Identifier "Configured Video Device"
Driver "vboxvideo"
EndSection

2.2) เพิ่มใน section Screen
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
SubSection "Display"
Modes "1280x800" "1280x768" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

โดยความละเอียดนั้นขึ้นอยู่กับความละเอียดที่รองรับของแต่ละเครื่อง
3) restart Ubuntu Guest

ระบบที่ทดสอบ
Host: Windows Vista SP1 Business
Guest: Ubuntu 8.10 Intrepid Ibex
VirtualBox: 2.0.4

ที่มา
http://ubuntuforums.org/showthread.php?t=886354

ไม่มีความคิดเห็น: