zoukankan      html  css  js  c++  java
  • virtualbox 下运行Ubuntu 8.10的分辨率和guest additions的问题。

     使用virtualBox 2.2.0安装Ubuntu 8.10虚拟机会遇到ubuntu虚机的屏幕只能达到800x600的问题。以下为解决办法:

    (在笔记本,英文XP sp2,virtualbox 2.2.0,ubuntu 8.10环境下测试没问题)

    Though I only use Debian on all my machines, I like playing with new Ubuntu releases, just in case I have to set it up on someone else’s machine. I use VirtualBox for testing.

    When trying the upcoming new Ubuntu 8.10 release, and after installing the VirtualBox clients on the guest, I had the following issues:

    First, the video driver refused to give me more than a 800×600 resolution. This can be worked around by adding the following lines in the xorg.conf file:

    Section "Device"
            Identifier      "Configured Video Device"
            Driver          "vboxvideo"
    EndSection
     
    Section "Monitor"
            Identifier      "Configured Monitor"
    EndSection
     
    Section "Screen"
            Identifier      "Default Screen"
            Monitor         "Configured Monitor"
            Device          "Configured Video Device"
    EndSection

    A second issue was the mouse grabbing which did not work at all. Adding the following lines in the xorg.conf file has fixed the issue:

    Section "InputDevice"
       Identifier   "Configured Mouse"
       Driver       "vboxmouse"
       Option       "CorePointer"
    EndSection

    You need to restart Xorg after amending the file so that the changes are taken into account.

    "Changing screen resolutions in Ubuntu 8.04 is done with RandR, which is not supported by VirtualBox. So you’ll also need to set a resolution manually. Find the screen section, which should look like this:

    Section "Screen"
     Identifier   "Default Screen"
    Monitor  "Configured Monitor"
    Device  "Configured Video Device"
    EndSection

    And replace it with this, but change 1024×768 to your preferred resolution:

    Section "Screen"
     Identifier  "Default Screen"
     Device  "VirtualBox graphics card"
     Monitor  "Generic Monitor"
     DefaultDepth  24
     SubSection "Display"
     Depth  24
     Modes  "1024x768"
     EndSubSection
    EndSection

    Save, exit the editor, and log out. You should now have a large virtual machine window, as well as mouse pointer integration.

  • 相关阅读:
    gitlab介绍
    git-代码分支管理
    git-基础命令使用
    theano 实现gpu和矩阵运算 基础上开发了pylearn2 .更模块化了,深度学习分成了3步。1,创建数据库,存pkl。2 训练。3 看一下学习模型。 yaml文件里存神经网络结构。
    c# 对象赋值踩坑
    c# 保存文件名重复,追加(1)(2)......
    C# 获取文件的后缀,文件名和路径
    Linux下,java格式化日期
    java中运用subList的做简单分页操作
    js生成二维码,支持打印显示
  • 原文地址:https://www.cnblogs.com/jjkv3/p/1437033.html
Copyright © 2011-2022 走看看