Page 1 of 1

[SOLVED] virtualbox com object??

PostPosted: May 3rd, '14, 23:12
by ftriscari
Hi
I'm new to Mageia. I'm trying to install virtualbox but I'm unable to start the application.

I have installed the program from the control center and I added my user to vbox users group. I'm running 3.12.13-desktop-2.mga4.

when I try to start the program from console it doesn't work and I get the following message

Code: Select all
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile


however the application starts if I log in as super user with the same error as above.

any idea?

thanks for your help
FT

Re: virtualbox com object??

PostPosted: May 4th, '14, 02:52
by linuxero

Re: virtualbox com object??

PostPosted: May 4th, '14, 16:09
by doktor5000
Well, those are only warnings and don't prevent virtualbox from starting.

This is what I've installed:
Code: Select all
[doktor5000@Mageia4 ~]$ rpm -qa | grep -i -e virtualbox -e png | sort
lib64png-devel-1.6.8-1.1.mga4
lib64png12_0-1.2.50-4.1.mga4
lib64png15_15-1.5.13-2.mga3
lib64png16_16-1.6.8-1.1.mga4
libpng-debuginfo-1.6.8-1.1.mga4
libpng12_0-1.2.50-4.1.mga4
libpng16_16-1.6.8-1.1.mga4
virtualbox-4.3.10-1.1.mga4
virtualbox-kernel-3.12.13-desktop-2.mga4-4.3.10-1.mga4
virtualbox-kernel-3.12.8-desktop-2.mga4-4.3.6-8.mga4
virtualbox-kernel-3.12.9-desktop-1.mga4-4.3.6-9.mga4

virtualbox-kernel-desktop-latest-4.3.10-1.mga4

Re: virtualbox com object??

PostPosted: May 4th, '14, 16:44
by ftriscari
no luck yet...
virtualbox starts from terminal if I log in as superuser...not from my normal account.
FT

Re: virtualbox com object??

PostPosted: May 5th, '14, 12:46
by ftriscari
It appears that I can only run Virtualbox as Superuser.
This is not a major problem for me but I would like to know if this is a cause of concern in terms of security. In other words, is it safe?
Thanks
FT

Re: virtualbox com object??

PostPosted: May 5th, '14, 18:42
by doktor5000
Question is why. Virtualbox runs fine here as normal user. Please run the following command in a terminal as normal user and post the output here:

Code: Select all
VirtualBox

Re: virtualbox com object??

PostPosted: May 5th, '14, 19:30
by ftriscari
the output is...

Code: Select all
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile


FT

Re: virtualbox com object??

PostPosted: May 5th, '14, 19:50
by doktor5000
And virtualbox doesn't start?

Please also post the output of
Code: Select all
id
as normal user

Re: virtualbox com object??

PostPosted: May 5th, '14, 20:50
by ftriscari
no, it doesn't start

the output from id is

Code: Select all
uid=500(francesco) gid=100(users) groups=100(users),43(usb),477(vboxusers),478(vboxsf),490(usbmux),500(francesco),65534(nogroup)


Re: virtualbox com object??

PostPosted: May 5th, '14, 21:11
by doktor5000
Why did you add yourself to nogroup ? Also vboxsf group is only required in a virtualbox guest, not on the host.

Re: virtualbox com object??

PostPosted: May 5th, '14, 21:48
by ftriscari
not sure...I removed my account from those groups but no change.

Re: virtualbox com object??

PostPosted: May 5th, '14, 22:33
by Ken-Bergen
I don't know if it would help but try changing your gid to =500(francesco).

Re: virtualbox com object??

PostPosted: May 5th, '14, 22:38
by ftriscari
could you tell me how to do that?

Re: virtualbox com object??

PostPosted: May 6th, '14, 17:13
by doktor5000
As root

Code: Select all
usermod -g francesco francesco

Re: virtualbox com object??

PostPosted: May 6th, '14, 21:10
by ftriscari
doktor5000 wrote:As root

Code: Select all
usermod -g francesco francesco



Hi Doktor5000
I tried what you said but no change...still unable to start VirtualBox as normal user... :(
FT

Re: virtualbox com object??

PostPosted: May 7th, '14, 05:04
by doktor5000
After the group changes, did you logout and login again or did a reboot?

Re: virtualbox com object??

PostPosted: May 7th, '14, 20:23
by ftriscari
I rebooted, still the same. Only Superuser can start VirtualBox.

Re: virtualbox com object??

PostPosted: May 9th, '14, 13:28
by claire
It's possible that when using su or sudo when starting virtualbox you have inadvertently set some root file ownership in your home directory.
Use chown -R francesco:francesco /home/francesco/.VirtualBox and again for /home/francesco/VirtualBox\ VMs as root to set ownership back to your regular user if that is the case.

Re: virtualbox com object??

PostPosted: May 9th, '14, 15:17
by ftriscari
It works!
thank you for your help!
FT

Re: [SOLVED] virtualbox com object??

PostPosted: May 9th, '14, 18:38
by claire
It's not generally advised to use GUI applications as root, it can cause issues such as this.
When you do su to root though remember to do "su -" rather than just "su".