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

Discussions related to using VirtualBox on Solaris hosts.

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

Postby syoueiki » 25. Dec 2010, 10:51

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.
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?

Postby kebabbert » 25. Dec 2010, 12:18

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.
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?

Postby syoueiki » 25. Dec 2010, 15:01

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?
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?

Postby kebabbert » 5. Jan 2011, 21:15

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
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?

Postby mattconnolly » 10. Jan 2011, 12:09

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.
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?

Postby guyverdh » 10. Jan 2011, 17:07

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.
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?

Postby rorx » 14. Feb 2011, 14:55

Configure RBAC, or simpler install sudo from http://www.sunfreeware.com
rorx
 
Posts: 4
Joined: 13. Feb 2011, 18:59
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows 7, Solaris 10


Return to VirtualBox on Solaris Hosts

Who is online

Users browsing this forum: No registered users and 2 guests