Virtualbox and Windows 7
beny
Re: Virtualbox and Windows 7
Post#77 by beny » 15 Jan 2017, 19:25
guest@porteus:~$ virtualbox
VirtualBox: Error -10 in SUPR3HardenedMain!
VirtualBox: Effective UID is not root (euid=1000 egid=100 uid=1000 gid=100)
do not work but if i do this:
guest@porteus:~$ su
Password:
root@porteus:/home/guest# virtualbox
Qt WARNING: Qt: Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
but virtualbox start without problems
beny
Re: Virtualbox and Windows 7
Post#78 by beny » 15 Jan 2017, 19:55
chmod 4711 /opt/virtualbox/virtualbox
bogomips there is another user that have this issue can try the same?
beny
-
- Black ninja
- Posts: 56
- Joined: 22 Apr 2016, 07:11
- Distribution: Porteus 3.2.2 xfce
- Location: Germany
Re: Virtualbox and Windows 7
Post#79 by fred08155 » 15 Jan 2017, 19:57
Aaaah, wrong rights assigned? Or what does the chmod do?
If you like you can test extension pack config.
There are two versions. One version with extension pack installed as guest and root, other version only installed as root.
I uploaded relevant modules here
http://filehorst.de/folder.php?key=b3pZvdP0
I guess virtualbox also needs python 2.7 since i had it installed before using vbox builder. You can download python 2.7 through USM.
fred08155
Re: Virtualbox and Windows 7
Post#80 by beny » 15 Jan 2017, 20:07
beny
-
- Black ninja
- Posts: 56
- Joined: 22 Apr 2016, 07:11
- Distribution: Porteus 3.2.2 xfce
- Location: Germany
Re: Virtualbox and Windows 7
Post#81 by fred08155 » 15 Jan 2017, 22:47
Sorry, didn´t work. Now i cannot start virtualbox as guest AND as root. Same error message as before.beny wrote:found the trick to run virtualbox on copy2ram guest account look if work for you:
chmod 4711 /opt/virtualbox/virtualbox
Can you please upload your module somewhere? Maybe yours is working.VirtualBox: Error -10 in SUPR3HardenedMain!
VirtualBox: Effective UID is not root (euid=1000 egid=100 uid=1000 gid=100)
VirtualBox: Tip! It may help to reinstall VirtualBox.
fred08155
Re: Virtualbox and Windows 7
Post#82 by beny » 15 Jan 2017, 23:16
guest@porteus:~$ su
Password:
root@porteus:/home/guest# chmod 4711 /opt/VirtualBox/VirtualBox
guest@porteus:~$ virtualbox
and work,you have to try to fix the permission in hardcoded way, isn't my module good or bad, or brokenman have to tweak the vbox builder for the user right permission
beny
-
- Black ninja
- Posts: 56
- Joined: 22 Apr 2016, 07:11
- Distribution: Porteus 3.2.2 xfce
- Location: Germany
Re: Virtualbox and Windows 7
Post#83 by fred08155 » 16 Jan 2017, 12:44
Still no success. I even had the mod redone after booting the new module. Same error message again.
Found something googling about the issue. But this needs to be done during compiling virtualbox...
I needed to configure with the switch --disable-hardening
fred08155
Re: Virtualbox and Windows 7
Post#84 by beny » 16 Jan 2017, 13:33
# Enable Hardening - Defaulting to yes as requested by upstream
if [ "${HARDENING:-yes}" = "yes" ]; then
harden="--enable-hardening"
else
harden="--disable-hardening"
fi
but we have a brokenman's script for the build,and i think he can answer for the permission issue.
beny
-
- Black ninja
- Posts: 56
- Joined: 22 Apr 2016, 07:11
- Distribution: Porteus 3.2.2 xfce
- Location: Germany
Re: Virtualbox and Windows 7
Post#85 by fred08155 » 16 Jan 2017, 14:09

I rebuild virtualbox with vbox builder. Didn´t change anything on the situation...

After some research i tried this with success.
First
Code: Select all
sudo usermod -a -G vboxusers guest
Code: Select all
chmod 4711 /opt/VirtualBox/VirtualBox

I hope that´s all.
fred08155
-
- Black ninja
- Posts: 56
- Joined: 22 Apr 2016, 07:11
- Distribution: Porteus 3.2.2 xfce
- Location: Germany
Re: Virtualbox and Windows 7
Post#86 by fred08155 » 16 Jan 2017, 15:40
I saved usermod changes successfully to a xzm module. But i cannot save chmod 4711 changes. changes-time script does not detect this change. Manually created module seems to get ignored somehow.
Is there a way to edit this into the virtualbox module? Or merge it in from my selfmade module?
fred08155
- francois
- Contributor
- Posts: 6514
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: Virtualbox and Windows 7
Post#87 by francois » 20 Jan 2017, 19:33
francois