[SOLVED] virtualbox com object??

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] virtualbox com object??

Postby ftriscari » May 3rd, '14, 23:12

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
Last edited by ftriscari on May 9th, '14, 15:18, edited 1 time in total.
ftriscari
 
Posts: 14
Joined: May 3rd, '14, 23:00

Re: virtualbox com object??

Postby linuxero » May 4th, '14, 02:52

linuxero
 
Posts: 345
Joined: Oct 7th, '11, 15:50

Re: virtualbox com object??

Postby doktor5000 » May 4th, '14, 16:09

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: virtualbox com object??

Postby ftriscari » May 4th, '14, 16:44

no luck yet...
virtualbox starts from terminal if I log in as superuser...not from my normal account.
FT
ftriscari
 
Posts: 14
Joined: May 3rd, '14, 23:00

Re: virtualbox com object??

Postby ftriscari » May 5th, '14, 12:46

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
ftriscari
 
Posts: 14
Joined: May 3rd, '14, 23:00

Re: virtualbox com object??

Postby doktor5000 » May 5th, '14, 18:42

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: virtualbox com object??

Postby ftriscari » May 5th, '14, 19:30

the output is...

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


FT
ftriscari
 
Posts: 14
Joined: May 3rd, '14, 23:00

Re: virtualbox com object??

Postby doktor5000 » May 5th, '14, 19:50

And virtualbox doesn't start?

Please also post the output of
Code: Select all
id
as normal user
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: virtualbox com object??

Postby ftriscari » May 5th, '14, 20:50

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)

ftriscari
 
Posts: 14
Joined: May 3rd, '14, 23:00

Re: virtualbox com object??

Postby doktor5000 » May 5th, '14, 21:11

Why did you add yourself to nogroup ? Also vboxsf group is only required in a virtualbox guest, not on the host.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: virtualbox com object??

Postby ftriscari » May 5th, '14, 21:48

not sure...I removed my account from those groups but no change.
ftriscari
 
Posts: 14
Joined: May 3rd, '14, 23:00

Re: virtualbox com object??

Postby Ken-Bergen » May 5th, '14, 22:33

I don't know if it would help but try changing your gid to =500(francesco).
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: virtualbox com object??

Postby ftriscari » May 5th, '14, 22:38

could you tell me how to do that?
ftriscari
 
Posts: 14
Joined: May 3rd, '14, 23:00

Re: virtualbox com object??

Postby doktor5000 » May 6th, '14, 17:13

As root

Code: Select all
usermod -g francesco francesco
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: virtualbox com object??

Postby ftriscari » May 6th, '14, 21:10

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
ftriscari
 
Posts: 14
Joined: May 3rd, '14, 23:00

Re: virtualbox com object??

Postby doktor5000 » May 7th, '14, 05:04

After the group changes, did you logout and login again or did a reboot?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: virtualbox com object??

Postby ftriscari » May 7th, '14, 20:23

I rebooted, still the same. Only Superuser can start VirtualBox.
ftriscari
 
Posts: 14
Joined: May 3rd, '14, 23:00

Re: virtualbox com object??

Postby claire » May 9th, '14, 13:28

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.
Help to make Mageia! Get involved.. Please come and join us
claire
 
Posts: 161
Joined: May 28th, '11, 19:17
Location: UK

Re: virtualbox com object??

Postby ftriscari » May 9th, '14, 15:17

It works!
thank you for your help!
FT
ftriscari
 
Posts: 14
Joined: May 3rd, '14, 23:00

Re: [SOLVED] virtualbox com object??

Postby claire » May 9th, '14, 18:38

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".
Help to make Mageia! Get involved.. Please come and join us
claire
 
Posts: 161
Joined: May 28th, '11, 19:17
Location: UK


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest