Description of problem: Failed to install the Extension Pack in virtualbox Version-Release number of selected component (if applicable): virtualbox-4.0.6-2.mga1.x86_64.rpm Steps to Reproduce: 1.download the extension pack from http://download.virtualbox.org/virtualbox/4.0.6/Oracle_VM_VirtualBox_Extension_Pack-4.0.6-71344.vbox-extpack 2.open virtualbox > file > preference > extensions > new 3.select the extension you have download I get: Failed to install the Extension Pack /home/manu/Oracle_VM_VirtualBox_Extension_Pack-4.0.6-71344.vbox-extpack. The installer failed with exit code 127: Error creating textual authentication agent: Error opening current controlling terminal for the process (`/dev/tty'): No such device or address. Result Code: NS_ERROR_FAILURE (0x80004005) Component: ExtPackManager Interface: IExtPackManager {2451b1ba-ab1c-42fb-b453-c58433bea8c7}
It should invoke a polkit dialogue to authenticate as root; this is what happened here, and the ext pack was installed successfully. It looks like you're running VirtualBox as root, "you should never run VirtualBox as root", c.f. http://www.virtualbox.org/ticket/8473
No, it was in single user. before updating to 4.0.6 I had 4.0.4 version site (MDV) of oracle. I noticed that I did not /usr/bin/virtualbox but /usr/bin/VirtualBox is it maybe that?
With installing gksu it's works. "polkit dialogue to authenticate as root" is that the pop-up of the MCC ? it should work with that then :/
Actually no, the authentication method I am talking about is polkit, not gksu. You need to have a polkit authentication agent running. Which DE/window manager are you using?
I use gnome (upgrade from mdv) I don't know what is the polkit authentification, but the pop-up of the mcc works
mcc authentication doesn't use polkit, it uses consolehelper. GNOME has polkit-gnome, and /usr/lib*/polkit-gnome-authentication-agent-1 should be running by default. What's the output of: ps aux | grep polkit rpm -qa | grep polkit
ok for the mcc [manu@vosdook ~]$ ps aux | grep polkit root 1010 0.0 0.0 186228 3672 ? Sl 00:55 0:00 /usr/lib64/polkit-1/polkitd manu 24029 0.0 0.0 17060 864 pts/2 S+ 01:49 0:00 grep --color polkit [manu@vosdook ~]$ rpm -qa | grep polkit polkit-gnome-0.101-1.mga1 polkit-0.101-1.mga1 lib64polkit1_0-0.101-1.mga1 lib64polkit-qt-core-1_1-0.99.0-1.mga1 lib64polkit2-0.9-8.mga1
Which display manager is used? 'cat /etc/sysconfig/desktop' , if it's not GDM, then that might be the problem. With current polkit-gnome they've removed the autostart .desktop file from /etc/xdg/autostart, and now there's only use /usr/share/gdm/autostart/LoginWindow/polkit-gnome-authentication-agent-1.desktop which is included in the gdm package.... Which means GNOME users not using GDM are sort of screwed up... IIUC.
CC: (none) => mageia, misc, pterjan
[root@vosdook ~]# cat /etc/sysconfig/desktop DISPLAYMANAGER=GNOME DESKTOP=LXDE But I usually use GDM. Also tested a new user,with gdm or kdm, I still get the same errors. :/
Maybe I am wrong and GNOME apps know how to invoke polkit-gnome-authentication-agent-1 only when needed, I'll need to test further. To test if having the authentication agent running fixes the issue, as user: /usr/lib64/polkit-gnome-authentication-agent-1 then try installing the ext pack again.
"To test if having the authentication agent running fixes the issue, as user: /usr/lib64/polkit-gnome-authentication-agent-1 then try installing the ext pack again." Indeed it's works.
Actually /usr/share/gdm/autostart/LoginWindow/polkit-gnome-authentication-agent-1.desktop only pertains to the login window. Right now even with GDM, polkit-gnome-authentication-agent-1 isn't running, and even nautilus can't mount/unmount internal HDD partitions as udev can't use polkit to authenticate without the agent running. This looks like a packaging issue in latest gnome-polkit package, I'm looking into it.
Status: NEW => ASSIGNED
This should be fixed in the next polkit-gnome package, polkit-gnome-authentication-agent-1 will be autostarted when logging into GNOME.
This report is fixed with the next polkit-gnome, as not vbox can authenticate to install the ext pack.
Status: ASSIGNED => RESOLVEDResolution: (none) => FIXED
Summary: Failed to install the Extension Pack in Virtualbox => Failed to install the Extension Pack in Virtualbox because no polkit authentication agent was running
thank you to you ahmad !
i have no polkit-gnome installed. also, i have no installed gnome and kde. i use sawfish and i have policykit-1 installed. and what should i do? i have to install it through "sudo VBoxManage extpack install <file>" ? is this true way to install? i did this installation at my job's pc and i have no usb pass-trough in my virtualbox.
CC: (none) => devil_inside
"i did this installation at my job's pc and i have no usb pass-trough in my virtualbox." yes it's a upstream bug, if am not wrong (and that is not this bug)