debain(wheezy) 安装增强功能提示无权限解决方法

本文详细介绍了如何在虚拟机内安装Debian系统,并通过增强功能成功安装并配置GNOME3桌面环境。解决安装过程中遇到的权限问题,并提供了安装后调整虚拟机设置以优化用户体验的建议。
在虚拟机里面安装debian来gnome3,默认要按照增强公司才能使用gnome3,按照增强功能提示一下错误.
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"


评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值