お知らせ

  • 利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。
  • メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。

#1 2010-02-27 12:21:47

Ueda
新しいメンバ
登録日: 2010-02-21

ubuntu 9.10 on VirtualBox 3.1.2 +Virtualbox Additionalの解像度変更

以下環境(centOS4.7)にVirtualBox 3.1.2を入れてあります
uname -a
Linux localhost.localdomain 2.6.9-89.0.18.EL #1 Tue Dec 15 14:01:55 EST 2009 i686 i686 i386 GNU/Linux
上記環境にubuntu 9.10を入れたのですが、デスクトップのパネルから
「システム」「デイスプレイ」を選ぶと
モニタ:不明となり、解像度800x600以上を選べません。以下のページに対処方が記載されれいたので
http://blog.x28.jp/archives/35
以下設定をおこない、マウスの統合等は有効になったものの

cd /media/cdrom0[enter]
# sh ./VBoxLinuxAdditions.run[enter]

デスクトップのパネルから「システム」「デイスプレイ」を
選ぶとモニタ:不明となり、解像度800x600以上を選べません。
/etc/X11/xorg.confを作るしか無いと以下行ないましたが、(仮想)デイスプレイが
真っ黒なままディスプレイが表示されません

$ sudo service gdm stop
sudo Xorg -configure
sudo X -config ./xorg.conf.new

xorg.conf.newの内容をはりつけさせて頂きます
cat ./xorg.conf.new
Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/X11/misc"
    FontPath     "/usr/share/fonts/X11/cyrillic"
    FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath     "/usr/share/fonts/X11/Type1"
    FontPath     "/usr/share/fonts/X11/100dpi"
    FontPath     "/usr/share/fonts/X11/75dpi"
    FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    FontPath     "built-ins"
EndSection

Section "Module"
    Load  "glx"
    Load  "dri"
    Load  "dri2"
    Load  "extmod"
    Load  "record"
    Load  "dbe"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/mice"
    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
    Identifier  "Card0"
    Driver      "vboxvideo"
    VendorName  "InnoTek Systemberatung GmbH"
    BoardName   "VirtualBox Graphics Adapter"
    BusID       "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

オフライン

 

#2 2010-02-27 12:22:52

Ueda
新しいメンバ
登録日: 2010-02-21

Re: ubuntu 9.10 on VirtualBox 3.1.2 +Virtualbox Additionalの解像度変更

アドバイス頂ければ幸です。

オフライン

 

#3 2010-02-27 14:16:19

petitbootang
メンバ
From: 東京都
登録日: 2009-02-12

Re: ubuntu 9.10 on VirtualBox 3.1.2 +Virtualbox Additionalの解像度変更

システム-ディスプレイから設定しても良いのですが、GuestAdditions が正常にインストールされた状態なら、仮想マシンメニューから、ウィンドウサイズに追随するだっけかな、ちょっと名前が違うかもですが、それにチェックをつけておけば仮想マシンのウィンドウをドラッグすれば、自由自在にサイズを変更できるはずです。
と言うか、GuestAdditions をインストールして再起動すると、確かデフォルトでチェックが付いたはずだと思いますが。

オフライン

 

#4 2010-02-27 14:23:58

Tako090929
メンバ
登録日: 2009-09-29

Re: ubuntu 9.10 on VirtualBox 3.1.2 +Virtualbox Additionalの解像度変更

ビデオメモリの割り当てはどのくらいにしていますか。
64Mくらいで1274X768になったような気がします。

オフライン

 

#5 2010-02-27 16:24:45

Ueda
新しいメンバ
登録日: 2010-02-21

Re: ubuntu 9.10 on VirtualBox 3.1.2 +Virtualbox Additionalの解像度変更

情報ありがとうございます。ビデオメモりは12Mだったので64Mにして、起動して仮想マシンメニューから、ウィンドウサイズを調整を選び1016X667となりました。アドバイスに感謝します。

オフライン

 

#6 2010-02-27 22:02:50

petitbootang
メンバ
From: 東京都
登録日: 2009-02-12

Re: ubuntu 9.10 on VirtualBox 3.1.2 +Virtualbox Additionalの解像度変更

済みません、仮想マシンメニューから、ゲストOSの画面を自動リサイズでした。

オフライン

 

Board footer

Powered by FluxBB