如何在 VirtualBox 內的 Ubuntu 上執行 Unity 8?

如何在 VirtualBox 內的 Ubuntu 上執行 Unity 8?

就像標題建議的那樣,到底有嗎?

我嘗試在安裝了 Guest Additions 的 VirtualBox 中的 Ubuntu 16.04 上執行 Unity 8。當我從 LightDM 登入 Unity 8 會話時,它只是加載黑屏,然後將我註銷或凍結。我還透過以下命令安裝 Unity 8:

sudo apt install unity8-desktop-session-mir
sudo add-apt-repository ppa:ci-train-ppa-service/stable-phone-overlay
sudo apt update && sudo apt upgrade

也許我錯過了要安裝的東西,但是當我嘗試在 Unity 7 之上的終端中運行 Unity 8 時,我得到了相同的結果。但是,我得到這個輸出:

mathcubes@Ubuntu-VM:~$ unity8
Mode argument was not provided or was set to an illegal value. Using default value of --mode= "full-greeter"
file:///usr/share/unity8//OrientedShell.qml:21:1: plugin cannot be loaded for module "Unity.Screens": Cannot load library /usr/lib/x86_64-linux-gnu/qt5/qml/Unity/Screens/libunityscreensplugin.so: (libqpa-mirserver.so: cannot open shared object file: No such file or directory) 
     import Unity.Screens 0.1 
 ^

我可以跑 Unity 8 嗎?相容嗎?

答案1

您無法在 virtualbox 上運行 mir 和 wayland。也許將來...另請參閱連結:https://www.reddit.com/r/Ubuntu/comments/3v2tof/unity_8_in_virtualbox/,https://bugs.launchpad.net/ubuntu/+source/mir/+bug/1366805,https://bugs.launchpad.net/mir/+bug/1118903

編輯(2017-13-01):現在您可以在 virtualbox 中執行 wayland。我已經使用 virtualbox 5.1.12 在 KDE Neon Developer Edition Git Unstable 上成功啟動了 Plasma Wayland 會話。我不確定米爾的情況。我必須測試一些 ubuntu 17.04 Alpha 版本才能找到答案。

相關內容