在虚拟机里面安装debian来gnome3,默认要按照增强公司才能使用gnome3,按照增强功能提示一下错误.
root@debian:/media/cdrom0# ./VBoxLinuxAdditions.run
bash: ./VBoxLinuxAdditions.run: Permission denied
解决
搞定安装完毕,若安装过程中提示错误请先执行:apt-get install build-essential linux-headers-`uname -r`
NOTE:关闭虚拟机,设置打开此虚拟机的3d加速功能,重新运行虚拟机后,登陆的时候选择gnome登陆,非系"system default"或者"gnome classic"

root@debian:/media/cdrom0# ./VBoxLinuxAdditions.run
bash: ./VBoxLinuxAdditions.run: Permission denied
解决
root@debian:/media/cdrom0# mkdir /media/vboxguest
root@debian:/media/cdrom0# mount -r /dev/cdrom /media/vboxguest/
root@debian:/media/cdrom0# ls /usr/src/|grep ker
root@debian:/media/cdrom0# cd /media/vboxguest/
root@debian:/media/vboxguest# ls
32Bit runasroot<strong style="color:black;background-color:#99ff99">.</strong>sh VBoxWindowsAdditions<strong style="color:black;background-color:#99ff99">.</strong>exe
64Bit VBoxLinuxAdditions.run VBoxWindowsAdditions-x86<strong style="color:black;background-color:#99ff99">.</strong>exe
AUTORUN<strong style="color:black;background-color:#99ff99">.</strong>INF VBoxSolarisAdditions<strong style="color:black;background-color:#99ff99">.</strong>pkg
autorun<strong style="color:black;background-color:#99ff99">.</strong>sh VBoxWindowsAdditions-amd64<strong style="color:black;background-color:#99ff99">.</strong>exe
root@debian:/media/vboxguest# <strong style="color:black;background-color:#99ff99">.</strong>/VBoxLinuxAdditions.run
Verifying archive integrity<strong style="color:black;background-color:#99ff99">...</strong> All good<strong style="color:black;background-color:#99ff99">.</strong>
搞定安装完毕,若安装过程中提示错误请先执行:apt-get install build-essential linux-headers-`uname -r`
NOTE:关闭虚拟机,设置打开此虚拟机的3d加速功能,重新运行虚拟机后,登陆的时候选择gnome登陆,非系"system default"或者"gnome classic"

本文详细介绍了如何在虚拟机内安装Debian系统,并通过增强功能成功安装并配置GNOME3桌面环境。解决安装过程中遇到的权限问题,并提供了安装后调整虚拟机设置以优化用户体验的建议。
1万+

被折叠的 条评论
为什么被折叠?



