VirtualBox 安装10.04,xorg.conf

Kvm、VMware、Virtualbox、Xen、Qemu 等
回复
头像
木泥黑
帖子: 1339
注册时间: 2008-10-18 12:41

VirtualBox 安装10.04,xorg.conf

#1

帖子 木泥黑 » 2010-03-23 14:13

安装增强功能后,发现分辨率还是改不了

最后用这个xorg.conf搞定

sudo gedit /etc/X11/xorg.conf

代码: 全选

    Section "Device"
    Identifier "VESA Framebuffer"
    Driver "vesa"
    #VideoRam 4096
    # Insert Clocks lines here if appropriate
    EndSection

    Section "Monitor"
    Identifier "My Monitor"
    HorizSync 31.5 - 150.0
    VertRefresh 75-85
    EndSection

    Section "Screen"
    Identifier "Screen 1"
    Device "VESA Framebuffer"
    Monitor "My Monitor"

    # If your card can handle it, a higher default color depth (like 24 or 32)
    # is highly recommended.

    # DefaultDepth 8
    # DefaultDepth 16
    DefaultDepth 24
    # DefaultDepth 32

    # "1024x768" is also a conservative usable default resolution. If you
    # have a better monitor, feel free to try resolutions such as
    # "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
    # card/monitor can produce)

    Subsection "Display"
    Depth 8
    Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
    Depth 16
    Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
    Depth 24
    Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
    Depth 32
    Modes "1024x768" "800x600" "640x480"
    EndSubsection

    EndSection

    Section "ServerLayout"

    # The Identifier line must be present
    Identifier "Simple Layout"

    # Each Screen line specifies a Screen section name, and optionally
    # the relative position of other screens. The four names after
    # primary screen name are the screens to the top, bottom, left and right
    # of the primary screen. In this example, screen 2 is located to the
    # right of screen 1.

    Screen "Screen 1"

    EndSection
头像
nsynet
帖子: 241
注册时间: 2008-09-20 22:51
来自: 湖北武汉武昌区
联系:

Re: VirtualBox 安装10.04,xorg.conf

#2

帖子 nsynet » 2010-04-02 1:21

这个配置在我的电脑上好用,多谢!!
头像
jioyo源
帖子: 3476
注册时间: 2008-10-08 13:48

Re: VirtualBox 安装10.04,xorg.conf

#3

帖子 jioyo源 » 2010-04-02 10:55

留名,收藏,以备用,10.04中一直没什么问题……
--------------------------------------
论坛精华贴全集:http://forum.ubuntu.org.cn/viewtopic.php?f=48&t=199845
book:http://forum.ubuntu.org.cn/viewtopic.php?f=21&t=198286
头像
wangdu2002
帖子: 13284
注册时间: 2008-12-13 19:39
来自: 物华天宝人杰地灵

Re: VirtualBox 安装10.04,xorg.conf

#4

帖子 wangdu2002 » 2010-04-02 12:58

好东西,复制下来以后备用。 :em11
行到水穷处,坐看云起时。
海内生明月,天涯共此夕。
--------------------吾本独!
Agui
帖子: 1
注册时间: 2008-09-02 19:08

Re: VirtualBox 安装10.04,xorg.conf

#5

帖子 Agui » 2010-05-07 18:04

:em05 谢啦!搞定。
yungdeguo
帖子: 195
注册时间: 2008-03-06 22:03

Re: VirtualBox 安装10.04,xorg.conf

#6

帖子 yungdeguo » 2010-05-10 16:08

非常感谢!

用此方法可以解决两个问题

1.
在windows xp 下安装的VirtualBox-3.1.6-59338-Win,安装ubuntu 10.04,安装了增强功能。可是无法进入GNOME,只能进入安全模式GNOME。


2.
同样是windows xp 安装virtual pc里,可解决分辨率过小的问题。
zjchuyp
帖子: 5
注册时间: 2007-07-25 8:03

Re: VirtualBox 安装10.04,xorg.conf

#7

帖子 zjchuyp » 2010-08-25 17:29

谢谢,解决了我10.10的问题。
我前几天装的10.10分辩率可变的,今天升级后,结果不行了。
guxinqin
帖子: 3
注册时间: 2007-09-17 22:12

Re: VirtualBox 安装10.04,xorg.conf

#8

帖子 guxinqin » 2010-09-11 20:02

谢谢,真有这个问题,试试先 :em01
回复