お知らせ

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

#1 2010-04-24 16:05:47

reoreo
新しいメンバ
登録日: 2010-03-20

Virtualbox上のUbuntuの画面解像度を変える方法

こんにちは。
過去の質問や解説しているサイトをいくつか見たのですが、上手くいきません。

親OS-WindowsXP
仮想ソフトVirtualbox3.1.6
仮想内OS-Ubuntu 10.04


「デバイス」-「Guest Additions のインストール」を選択。
Guest AditionsのCDイメージが表示
Ubuntu上で「アプリケーション」-「アクセサリ」-「端末」でターミナルウィンドウを開き、以下の手順を実行

# cd /media/cdrom
# sudo ./VBoxLinuxAdditions-x86.run

すると以下のような結果が出ます。

Verifying archive integrity... All good.
Uncompressing VirtualBox 3.1.6 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version of VirtualBox Guest Additions...
Building the VirtualBox Guest Additions kernel modules
Building the main Guest Additions module ...done.
Building the shared folder support module ...done.
Building the OpenGL support module ...done.
Doing non-kernel setup of the Guest Additions ...done.
You should restart your guest to make sure the new modules are actually used

Installing the Window System drivers
Installing X.Org Server 1.6 modules ...done.
Setting up the Window System to use the Guest Additions ...done.
You may need to restart the hal service and the Window System (or just restart
the guest system) to enable the Guest Additions.

Installing graphics libraries and desktop services components ...done.

成功したと思い再起動するが「画面の解像度」という項目は見当たりません。
どこの操作が間違っているのでしょうか?

よろしくお願い致します。

オフライン

 

#2 2010-04-24 16:23:03

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

Re: Virtualbox上のUbuntuの画面解像度を変える方法

えぇと、現在のバージョンの VirtualBox が 10.04 に正式に対応出来ていないためと思います。
Guest Additions のインストール自体は done となるのですが、再起動してみると解像度が変更出来ません。
当面は新しくなって使い勝手が大幅に向上した VMware Player を使ってみるのはどうでしょうか?
私も VirtualBox の方が好きなのですが、10.04 正式対応まで待ってます。

オフライン

 

#3 2010-04-24 16:35:34

reoreo
新しいメンバ
登録日: 2010-03-20

Re: Virtualbox上のUbuntuの画面解像度を変える方法

>petitbootangさん

そうだったんですか。。
残念ですね。。。

ありがとうございました。

オフライン

 

#4 2010-05-22 17:19:48

gg-chops
メンバ
From: 神奈川県
登録日: 2009-05-09

Re: Virtualbox上のUbuntuの画面解像度を変える方法

VutualBoxは、本家版ではバージョンアップされたようです。
http://dlc.sun.com/virtualbox/vboxdownload.html
9.10に入れてみたのですが、うまくいきませんでした。
ちなみにWindows版のVirtualBox3.2.0では、10.04に対応していることは確認しました。

ご参考まで

オフライン

 

#5 2010-05-23 18:11:38

hmatsue
アドバイザ
登録日: 2009-03-10

Re: Virtualbox上のUbuntuの画面解像度を変える方法

今触れない(平日は触り放題:D)の環境でですが、vbox3.1.6+Ubuntu 10.04の環境で、xrandrでなら解像度設定ができた記憶があります。
https://wiki.ubuntulinux.jp/UbuntuTips/Hardware/HowToChangeMonitorResolution
あたりを参考にしてxrandrを試していただくというのも手です。

オフライン

 

#6 2010-05-24 11:40:08

hmatsue
アドバイザ
登録日: 2009-03-10

Re: Virtualbox上のUbuntuの画面解像度を変える方法

すいません。気が付いたら3.1.8に上げていたようです。が、3.1.6のときでもできていた記憶があります。
3.1.6で試してみて、ダメだったら3.1.8に上げて試してみて下さい。

現在の状況

コード:

$ xrandr
Screen 0: minimum 64 x 64, current 800 x 600, maximum 32000 x 32000
VBOX1 connected 800x600+0+0 0mm x 0mm
   800x600        60.0*+   60.3     60.0* 
   1024x768       60.0  
   640x480        59.9

確か1024x768は自分で追加したはず。。

コード:

$ cvt 1024 768
# 1024x768 59.92 Hz (CVT 0.79M3) hsync: 47.82 kHz; pclk: 63.50 MHz
Modeline "1024x768_60.00"   63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync

でModeLineを生成し、

コード:

$ xrandr --newmode "1024x768"   63.50  1024 1072 1176 1328  768 771 775 798 -hsync +vsync
$ xrandr --addmode VBOX1 "1024x768"
$ xrandr --output VBOX1 --mode "1024x768"

で解像度変更できるようになるかと思います。ModeLineの名前は上記のように重複が無い範囲で簡単な名前に変えていただいても問題ありません。

オフライン

 

#7 2010-05-24 12:54:41

hmatsue
アドバイザ
登録日: 2009-03-10

Re: Virtualbox上のUbuntuの画面解像度を変える方法

しまった。3.2.0に上げれば済む話でしたね。
失礼しました。。

オフライン

 

Board footer

Powered by FluxBB