Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Need help in setting up Virtual Box in gentoo
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Thu Feb 12, 2015 6:16 am    Post subject: Need help in setting up Virtual Box in gentoo Reply with quote

Hi Experts,

I am trying to setup a Virtual box in Gentoo Server, but facing some issues with it. I have followed the below link :-

http://wiki.gentoo.org/wiki/VirtualBox

Quote:
emerge --ask app-emulation/virtualbox
gpasswd -a arun vboxusers

modprobe vboxdrv
modprobe vboxnetadp
modprobe vboxnetflt

eselect profile list
[1] default/linux/amd64/13.0 *

su - arun
Virtualbox
-su: Virtualbox: command not found


I am not sure what I am missing here. Appreciate all your help in advance.
Back to top
View user's profile Send private message
dnial
n00b
n00b


Joined: 14 Mar 2007
Posts: 23
Location: Cincinnati OH

PostPosted: Thu Feb 12, 2015 9:44 am    Post subject: Reply with quote

VirtualBox

Case sensitive.
Back to top
View user's profile Send private message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Thu Feb 12, 2015 9:47 am    Post subject: Reply with quote

Thanks dnial. Still no go.

Code:
su - arun
~ $ VirtualBox
-su: VirtualBox: command not found
Back to top
View user's profile Send private message
dnial
n00b
n00b


Joined: 14 Mar 2007
Posts: 23
Location: Cincinnati OH

PostPosted: Thu Feb 12, 2015 10:00 am    Post subject: Reply with quote

root #gpasswd -a <user> vboxguest
Changes will not take effect until the user signs out and then signs in again (re-logins).
Back to top
View user's profile Send private message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Thu Feb 12, 2015 10:07 am    Post subject: Reply with quote

Appreciate that. I exitted out from the user, logged in as root, and then made the below changes :-


Code:
# gpasswd -a arun vboxguest
Adding user arun to group vboxguest
# su - arun
~ $ VirtualBox
-su: VirtualBox: command not found
Back to top
View user's profile Send private message
dnial
n00b
n00b


Joined: 14 Mar 2007
Posts: 23
Location: Cincinnati OH

PostPosted: Thu Feb 12, 2015 10:11 am    Post subject: Reply with quote

I think you also have to create virtualbox users group.
I missed that part on my last round with virtualbox.
Back to top
View user's profile Send private message
SirRobin2318
Apprentice
Apprentice


Joined: 24 Apr 2004
Posts: 241
Location: Strasbourg, france.

PostPosted: Thu Feb 12, 2015 10:46 am    Post subject: Reply with quote

You also have to be part of the vboxusers group.
Back to top
View user's profile Send private message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Thu Feb 12, 2015 10:50 am    Post subject: Reply with quote

User 'arun' is already a part of that group.

Code:
gpasswd -a arun vboxusers
Back to top
View user's profile Send private message
dnial
n00b
n00b


Joined: 14 Mar 2007
Posts: 23
Location: Cincinnati OH

PostPosted: Thu Feb 12, 2015 11:04 am    Post subject: Reply with quote

Post output of 'groups'.

Mine looks like this:
wheel audio video games users vboxusers dnial vboxguest
Back to top
View user's profile Send private message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Thu Feb 12, 2015 11:07 am    Post subject: Reply with quote

Thanks for pointing this out. Mine looks like

Code:
 groups
root bin daemon sys adm disk wheel floppy tape video
Back to top
View user's profile Send private message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Thu Feb 12, 2015 11:11 am    Post subject: Reply with quote

However when I try to add the groups, it says that they exists.

Quote:
# groupadd vboxusers
groupadd: group 'vboxusers' already exists
# groupadd vboxguest
groupadd: group 'vboxguest' already exists
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum