Exit Code 127 Error Creating Textual Authentication Agent
6 years ago Last modified 4 months ago Error opening current controlling terminal for the process Reported by: Harri Owned by: Priority: major Component: USB Version: VirtualBox 4.0.4 Keywords: extension pack Cc: Guest type: other Host type: Linux Description (last modified by frank) (diff) Trying error opening current controlling terminal for the process (`/dev/tty') to install Oracle_VM_VirtualBox_Extension_Pack-4.0.4-70112.vbox-extpack I got an error popup saying Failed to install the Extension pycharm error creating textual authentication agent Pack /export/harri/Oracle_VM_VirtualBox_Extension_Pack-4.0.4-70112.vbox-extpack. The installer failed with exit code 127: Error creating textual authentication agent: Error opening current controlling terminal for the virtualbox extension pack failed to load the main module process (`/dev/tty'): No such device or address. Details Result Code: NS_ERROR_FAILURE (0x80004005) Component: ExtPackManager Interface: IExtPackManager {2451b1ba-ab1c-42fb-b453-c58433bea8c7} Of course I checked the access permissions to /dev/tty. Its readable and writable for everybody: % ls -al virtualbox extensions /dev/tty crw-rw-rw- 1 root root 5, 0 Mar 2 06:04 /dev/tty Please note that running Virtualbox as root is not an option. Change History comment:1 Changed 6 years ago by frank Yes, you should never run VBox as root. Therefore the GUI will try to find gksu, kdesudo or just xterm + su to get admin permissions for installing the extension pack. Could you check if some of these requirements are installed? comment:2 Changed 6 years ago by Harri xterm and su are available, but obviously this didn't work. If I try "xterm -e su" on the command line, then a xterm opens, I am asked for the root password, and next I get the expected su session. The bad part on this extension stuff is that it relies upon an XWindow application asking for the root password. Thats _very_ easy to attack, since the password key strokes are sent unencrypted to the server. XWindow wasn't made with security in mind. My suggestion would be to provide the extensions as *.deb files, at least for Debian and Ubuntu. This would make sure that all files are under dpkg control, upgrades could be handled gracefully, and there would be no messing around with files to be downloaded separately, XWindow applications asking for root passwords, and so on. Virtualbox and its extensions could be installed/upgraded on the terminal, or unattended by a nightly update script. This would be very important for managing the Linux PCs in the office. Many thanx Harri comment:3 Changed 5 years ago by adam.spiers On Fedora 15 systems this can be caused by https://bugzilla.redhat.com/show_bug.cgi?id=699233 The workaround is simply to run /usr/libexec/polkit-gnome-authentication-agent-1 manually before attempting to install the exten
1 Topic closed #1 2011-11-01 21:34:03 Lowra Member Registered: 2009-09-21 Posts: 192 [SOLVED] Can't install extension pack of VirtualBox Hi, I followed the Wiki article but I can't install the extension pack for VirtualBox neither through Virtualbox itself, nor through a command line:[david@laptop ~]$ VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.1.4-74291.vbox-extpack0%...Progress state: NS_ERROR_FAILUREVBoxManage: error: Failed to install "/home/david/Oracle_VM_VirtualBox_Extension_Pack-4.1.4-74291.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 addressI'm running Arch x64 without a DE (Openbox, lxterminal...)If you could help me,ThanksEDIT: SOLVED: had https://www.virtualbox.org/ticket/8473 to run with sudo Last edited by Lowra (2011-11-01 21:45:31) Offline #2 2013-07-12 12:24:38 xarragon Member Registered: 2013-07-12 Posts: 2 Re: [SOLVED] Can't install extension pack of VirtualBox Be careful with this, using sudo the package contents was installed into the root account's home directory instead of my current user. Also, the package might write stuff into system directories, damaging or conflicting https://bbs.archlinux.org/viewtopic.php?id=129493 with your systems package manager. Offline #3 2013-07-12 14:01:20 Scimmia Bug Wrangler Registered: 2012-09-01 Posts: 5,185 Re: [SOLVED] Can't install extension pack of VirtualBox You bumped a year and a half old thread for that?Nothing in the extension pack writes to home dirs, so that's of no concern. The files the extension pack writes to are very specific to VBox, so they won't conflict. Offline #4 2015-03-19 14:24:21 windozupdate Member Registered: 2015-03-19 Posts: 22 Re: [SOLVED] Can't install extension pack of VirtualBox Yes he bumped it up for that because he has right. Here is the answer for everybody who crawling the web for this stupid "Virtualbox `/dev/tty'): No such device or address" error:If you run the vbox service with an unprivileged user you also must install the extension packs under this user, otherwise Vbox will not see it.If you try to install the expansion as unprivileged user (like vbox):su vbox -c "VBoxManage extpack install --replace Oracle_VM_VirtualBox_Extension_Pack-4.3.18.vbox-extpack"and you get this: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 o
4.5 Export About VirtualBox is a free open-source virtualization platform from Oracle (formerly Sun). http://www.virtualbox.org/ Manual https://conshell.net/wiki/VirtualBox The online manual can be found here. Tips USB support on Linux Download the Extension Pack at https://www.virtualbox.org/wiki/Downloads Install it into the VirtualBox application below File => Preferences http://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/upgrade-v-box-from-4-1-8-to-4-2-6-extenstion-pack-won't-upgrade-4175447741/ => Extensions Ubuntu Installation aptitude install virtualbox virtualbox-guest-additions-iso This will get you an slightly older version i.e. 4.1.12. There also appears to be a virtualbox-nonfree package which I error creating have not tried. To allow regular users to use VirtualBox on Linux i.e. Ubuntu, add the username to the vboxusers group in /etc/group adduser username vboxusers Installing the virtualbox-guest-additions-iso package allows you install the guest additions in each guest from the Devices->Install Guest Additions After upgrading to Ubuntu Trusty, I found I could no longer connect to error creating textual RDP. Remmina fails to connect. rdesktop returns connection closed. mdf@mfoster-wkstn:~$ rdesktop 127.0.0.2:33890 Autoselected keyboard map en-us ERROR: Connection closed After poking around, I found I need to install the extpack, but it would not install from the GUI, instead returning the error 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 Checking permissions of /dev/tty there is not a problem there. mdf@mfoster-wkstn:~$ ls -al /dev/tty crw-rw-rw- 1 root tty 5, 0 Jul 20 14:04 /dev/tty I attempt to install by hand, it gives same error! mdf@mfoster-wkstn:~$ VBoxManage extpack install Downloads/Oracle_VM_VirtualBox_Extension_Pack-4.3.10-93012.vbox-extpack 0%... Progress state: NS_ERROR_FAILURE VBoxManage: error: Failed to install "/home/mdf/Downloads/Oracle_VM_VirtualBox_Extension_Pack-4.3.10-93012.vbox-extpack" VBoxManage: error: 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 VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ExtPackManager, interface IExtPackManager VBoxManage: error: Context: "int handleExtPack(HandlerArg*)" at line 1143 of file VBoxManageMisc.cpp Try ag
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud [SOLVED] Upgrade V-box from 4.1.8 to 4.2.6 Extenstion pack won't upgrade. User Name Remember Me? Password Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 01-29-2013, 02:55 PM #1 camorri LQ Guru Registered: Nov 2002 Location: Somewhere inside 9.9 million sq. km. Canada Distribu