virtualBox虚拟自启动问题-不能单独自启动具体某台虚拟机
Tofloor
poster avatar
panda.B
deepin
2018-07-24 02:14
Author
最新的deepin系统,安装好虚拟机suse10.32,,我向自启动suse10.32这个虚拟机,使用的 网上介绍的几种方式都不能自启动suse10.32这个虚拟机。但是我使用命令可以启动这个虚拟机。VBoxManage startvm suse10.32
应该是怎么操作才能自启动suse10.32这个虚拟机。
使用的方法
1、此时请在/etc目录下以管理员权限创建一个名为rc.local的纯文本文件,并写入如下内容:
#!/bin/bash
# rc.local config file created by use
VBoxManage startvm suse10.32
exit 0
保存后,赋予该文件可执行权限:sudo chmod +x /etc/rc.local。下次重启时,systemd就会自动执行rc.local里面的命令了
==不能正常启动。不知道哪里错了,使用用户开机不要输入密码,

2、在~/.config/autostart目录下添加自启动命令
在 ~/.config/autostart 目录下添加 suse10.32.desktop 文件,其内容如下:
[Desktop Entry]
Type=Application
Exec= VBoxManage startvm suse10.32
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_IN]=suse10.32
Name=suse10.32
Comment[en_IN]=suse10.32
Comment=suse10.32


启动时报错:

Reply Favorite View the author
All Replies
avatar
panda.B
deepin
2018-07-25 16:08
#1
怎么没有人回复呢?
Reply View the author
avatar
billy123456
deepin
2018-07-26 00:03
#2
https://bbs.deepin.org/post/166480
怎么没有人回复呢?

你按提示modprobe vboxdrv发截图
Reply View the author