我刚刚在 Ubuntu 13.04 上安装了 VirtualBox4.2。当我打开 VirtualBox 时,一切似乎都很好,直到我尝试创建一个新的 VM,此时 lightdm 崩溃,我被迫(最终)返回登录屏幕。
有人在 Ubuntu 13.04 上运行 VirtaulBox 并遇到同样的问题吗?有人知道如何修复吗?
以下是看似相关的dmesg
信息
[ 19.575962] vboxdrv: Found 2 processor cores.
[ 19.578171] vboxdrv: fAsync=1 offMin=0x13c76d offMax=0x13c76d
[ 19.580595] vboxdrv: TSC mode is 'asynchronous', kernel timer mode is 'normal'.
[ 19.580603] vboxdrv: Successfully loaded version 4.2.12 (interface 0x001a0004).
[ 19.957340] vboxpci: IOMMU not found (not registered)
[ 22.450277] init: plymouth-upstart-bridge main process (1020) killed by TERM signal
[ 22.864046] de2104x 0000:01:06.0 eth0: link up, media 10baseT-HD
[ 22.864074] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 25.435531] audit_printk_skb: 78 callbacks suppresse
[ 25.435543] type=1400 audit(1367507475.203:38): apparmor="DENIED" operation="open" parent=1366 profile="/sbin/dhclient" name="/var/lib/NetworkManager/dhclient6-eth0.conf" pid=1824 comm="dhclient" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[ 261.756237] warning: `VirtualBox' uses 32-bit capabilities (legacy support in use)
答案1
打开以下文件
sudo vim /etc/apparmor.d/sbin.dhclient
在该文件中查找以下条目
/var/lib/NetworkManager/dhclient-*.conf lrw,
用这一行替换它
/var/lib/NetworkManager/dhclient*.conf lrw,
然后重新启动
reboot