Can i start the virtual box as the nornal user not the root?

Discussions related to using VirtualBox on Solaris hosts.
Post Reply
syoueiki
Posts: 2
Joined: 25. Dec 2010, 10:39
Primary OS: Solaris
VBox Version: OSE other
Guest OSses: Window

Can i start the virtual box as the nornal user not the root?

Post by syoueiki »

How I Can start the virtual box as the "normal user" but not the root user on the solaris patform as host and window as the Guest?
I just serch in goole but can not found any idea. :(
I wouder there is a way to do this.
kebabbert
Volunteer
Posts: 321
Joined: 31. May 2008, 10:00
Primary OS: OpenSolaris 11
VBox Version: OSE other
Guest OSses: WinXP, RedHat, Ubuntu

Re: Can i start the virtual box as the nornal user not the root?

Post by kebabbert »

I dont understand your question. Can you try to explain again?

When you login to Solaris, you never login as root. You login as an ordinary user. Then you startup VB. So, VB is not started as root.
syoueiki
Posts: 2
Joined: 25. Dec 2010, 10:39
Primary OS: Solaris
VBox Version: OSE other
Guest OSses: Window

Re: Can i start the virtual box as the nornal user not the root?

Post by syoueiki »

I means that.
At frist I login as ordinary user. login name:syoueiki,pwd:XXXX.
Then I inter the solaris system sucessfully.
Then I start the term.
I enter the command :VirtualBox,but I get the error message.
But if I start the VirtualBox as root : su, root pwd,I can start the VirtualBox sucessfully.

My question is is there a method that even I do not login as root,I can start the VirtualBox too?
kebabbert
Volunteer
Posts: 321
Joined: 31. May 2008, 10:00
Primary OS: OpenSolaris 11
VBox Version: OSE other
Guest OSses: WinXP, RedHat, Ubuntu

Re: Can i start the virtual box as the nornal user not the root?

Post by kebabbert »

What solaris version are you using? I just click on VB from the meny with all applications.

Check the directory where VB is installed and see which programs you can type?

$ which VirtualBox
mattconnolly
Posts: 6
Joined: 22. Aug 2009, 12:22
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: OpenSolaris

Re: Can i start the virtual box as the nornal user not the root?

Post by mattconnolly »

I can just log in as my regular user and launch VirtualBox either in a gnome-session by launching the app, or by `ssh -X VirtualBox` or `ssh VBoxHeadless ...` No pfexec or sudo required.
guyverdh
Posts: 25
Joined: 7. Jan 2011, 23:02
Primary OS: Solaris
VBox Version: PUEL
Guest OSses: Windows XP 32Bit

Re: Can i start the virtual box as the nornal user not the root?

Post by guyverdh »

However, if you have started it as root (and that was the first time) check the owner and perms of the .VirtualBox directory in your home dir.
Change that (and subsequent files) to your userid and try again - or just remove the directory and start over as yourself.
Make sure you own the directory and files where your VM is stored.
rorx
Posts: 4
Joined: 13. Feb 2011, 18:59
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows 7, Solaris 10

Re: Can i start the virtual box as the nornal user not the root?

Post by rorx »

Configure RBAC, or simpler install sudo from http://www.sunfreeware.com
Post Reply