[PC-BSD Testing] Virtual Box on PC-BSD 8.0-BETA 64Bit

Johann Hugo jhugo at meraka.csir.co.za
Tue Jan 12 22:44:22 PST 2010


On Tuesday 12 January 2010, Kris Moore wrote:
> On 01/12/2010 10:34, Mike Bybee wrote:
> > On Tue, Jan 12, 2010 at 8:25 AM, Kris Moore<kris at pcbsd.com>  wrote:
> >> On 01/12/2010 03:10, Johann Hugo wrote:
> >>> On Tuesday 12 January 2010, Alexander Yerenkow wrote:
> >>>> 12.01.2010 9:50, Johann Hugo пишет:
> >>>>> Hi
> >>>>>
> >>>>> I see that Virtual Box can only run as root on my PC. One of the
> >>
> >> problems
> >>
> >>>>> is that /root runs out of disk space when Virtual Box creates the
> >>
> >> virtual
> >>
> >>>>> disks there. Another problem is that I cannot do X forwarding over an
> >>
> >> ssh
> >>
> >>>>> connection.
> >>>>>
> >>>>> I've added my normal user to vboxusers in the /etc/group file, but I
> >>>>> still cannot run it as a normal user.
> >>>>>
> >>>>> Does anyone know how I can get Virtual Box to run under a normal user
> >>
> >> and
> >>
> >>>>> not as root ?
> >>>>
> >>>> you better move /root/.visrtbox to somewhere where's a lot of space,
> >>>> and make a link :)
> >>>
> >>> I'll do that. Is there a reason why PCBSD runs Virtual Box as root and
> >>
> >> not as
> >>
> >>> a normal user ?
> >>
> >> The answer is that even when running VirtualBox as your regular user,
> >> it's still using root permissions, since the binary would be set mod
> >> 4511. I'll experiment with doing that again here, but when virtualbox
> >> first hit ports, it had issues with running in that mode in a
> >> non-standard directory, I.E. /usr/local
> >>
> >>
> >>
> >> --
> >>
> >> Kris Moore
> >> PC-BSD Software
> >> http://www.pcbsd.com
> >> _______________________________________________
> >> Testing mailing list
> >> Testing at lists.pcbsd.org
> >> http://lists.pcbsd.org/mailman/listinfo/testing
> >
> > It has similar behavior on all platforms - I think the easiest workaround
> > is to either browse for the path you want to create the disks in, or just
> > link it.
>
> Heads up, just did some testing of the new VB port here, looks like I
> can modify our PBI to run now as a "regular" user, which lets it create
> the .VirtualBox folder in your homedir :)
>
> I'll be adding this to the PBI shortly.

Thanks, I'll test it for you.

Johann



More information about the Testing mailing list