Page 1 of 1

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

Posted: 25. Dec 2010, 10:51
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.

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

Posted: 25. Dec 2010, 12:18
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.

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

Posted: 25. Dec 2010, 15:01
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?

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

Posted: 5. Jan 2011, 21:15
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

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

Posted: 10. Jan 2011, 12:09
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.

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

Posted: 10. Jan 2011, 17:07
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.

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

Posted: 14. Feb 2011, 14:55
by rorx
Configure RBAC, or simpler install sudo from http://www.sunfreeware.com