
我剛剛將運行在 Win7-64 VirtualBox 3.2.10 上的 Linux 用戶端從 Ubuntu 10.04 升級到 10.10。我按照常規步驟重新應用來賓添加,包括在運行來賓添加安裝程序之前安裝 build-essential 和 linux-headers-...。安裝程式中沒有出現任何錯誤或警告,它輸出的訊息表明它正在使用所有 X11 內容,然後我重新啟動了來賓。我還檢查了 3D 加速是否已開啟。
儘管一切看起來都很順利,但我無法再在 中打開額外效果System|Preferences|Appearance|Visual Effects
。它在 10.04 上運行得很好。當我單擊該按鈕時,它會花費大約15 秒的時間搜索可用的驅動程序,閃爍所有內容,使對話框變灰大約五秒鐘左右,然後最後彈出一個對話框,顯示“無法啟用桌面效果」。當我單擊“正常”或“自訂”時,也會發生相同的情況(除了驅動程式搜尋僅在我第一次單擊這些選項中的任何一個時發生)。
更新:如果我以 root 身分執行安裝腳本,我會得到相同的輸出和相同的結果。
為什麼升級到 Ubuntu 10.10 後無法開啟 Extra Visual Effects?
隨機機器規格:
marcelo@ubuntu:~$ uname -a
Linux ubuntu 2.6.35-22-server #35-Ubuntu SMP Sat Oct 16 22:02:33 UTC 2010 x86_64 GNU/Linux
marcelo@ubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.10
Release: 10.10
Codename: maverick
marcelo@ubuntu:~$ ls /media/
VBOXADDITIONS_3.2.10_66523
marcelo@ubuntu:~$
這是來賓添加安裝的重新運行:
Verifying archive integrity... All good.
Uncompressing VirtualBox 3.2.10 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 3.2.10 of VirtualBox Guest Additions...
Uninstalling old VirtualBox DKMS kernel modules ...done.
Building the VirtualBox Guest Additions kernel modules
Building the main Guest Additions module ...done.
Building the shared folder 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.9 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.
Press Return to close this window...
答案1
dkms
也嘗試安裝:
sudo apt-get install dkms
build-essential
很可能也需要,但你說你已經安裝了。
答案2
我遇到了這個問題。
確保您已將所有 128MB 分配給圖形,並確保 VT-X、ACPI 等均已打開,我必須重新安裝附加功能幾次才能正常工作。
答案3
@gencha天哪,我剛剛遇到了與OP同樣的問題。起初我以為我做錯了什麼,因為這是我第一次嘗試 VirtualBox。我的設定和他的幾乎一樣,主機是Win7 64位,guest是Ubuntu10.10 64位。我已按照網上找到的說明進行操作,但無法使其正常工作。
我嘗試了 gencha 的建議並繼續下載 dkms。重新安裝了來賓添加,然後重新啟動!有用!在這裡,我花了幾個小時咒罵這個愚蠢的東西,想知道為什麼它不起作用。
我會投票給你 gencha 但這有點困難,因為我在這個網站上還沒有 15 名代表:(