[SOLVED]Virtualbox drivers not loaded at startup

I followed the wiki and added vboxdrv to my DAEMONS. The only change is that I start it in the background. However, when I start Virtualbox, and then the guest OS within, it gives me an error.
DAEMONS=(syslog-ng @net-profiles @dbus !sshd !netfs @crond @alsa @acpid @ntpd @vboxdrv)
I have to manually
modprobe vboxdrv
in order to start the guest OS. How can I have the vboxdrv started at boot?
also, is there a way to start the guest OS directly, without having to start the Virtualbox console?

Inittab:
# Runlevel 5 starts X environments
x1:5:once:/bin/su work -l -c "/usr/bin/startx -- :11 vt11 > /dev/null 2>&1"
x2:5:once:/bin/su windows -l -c "/usr/bin/startx -- :10 vt10 > /dev/null 2>&1"
x3:5:once:/bin/su windows -l -c "/usr/bin/VBoxManage startvm Ama --type vrdp > /dev/null 2>&1"
The first two start new X sessions, user "work" on vt11 and user "windows" on vt10. The third starts an RDP headless VirtualBox VM as user "windows". When the two X sessions start, they execute ~/.xinitrc (each of ~work/.xinitrc and ~windows/.xinitrc):
#!/bin/sh
# ~/.xinitrc
# Executed by startx
VirtualBox
This starts the VirtualBox GUI so I then switch to vt11 or vt10 and select a VM to run. Note each of ~windows/.VirtualBox and ~work/.VirtualBox are completely separate VB configs owned by the separate accounts.
Note that I don't bother with a window manager because I run the VMs full screen anyway, but you can start one if you want within .xinitrc.
You can change "VirtualBox" in .xinitrc to start a specific VM using VBoxManage startvm "MyVMName"
Hope this helps.
Last edited by starfry (2011-03-29 21:49:33)

Similar Messages

  • Microsoft ODBC drivers not loaded??

    Hi All:
    When I want to import tables to repository then there is error that i facing. Microsoft ODBC drivers not loaded. Can anybody tell why its happens and how can i solve it. Thanks
    Ali

    Hi,
    Please try this first:
    FIX: Error "Datetime field overflow" When Inserting Negative (B.C.) Dates with Oracle ODBC Driver
    http://support.microsoft.com/kb/250286/en-us
    Since it is more related to Access you can ask in office forum or MSDN forum:
    http://social.technet.microsoft.com/Forums/office/en-US/home
    http://social.msdn.microsoft.com/Forums/office/en-US/home?forum=accessdev
    Thank you for understanding.

  • Cuda driver not loaded as startup item in mountain lion any solution ?

    cuda driver not loaded as startup item in mountain lion any solution ?
    i use a softare that need nvidia cuda driver installed on system

    Hi,
    the NFSv4 domain name is not necessarily related to the host name or the host's fully-qualified domain name (FQDN). It can be the same like the domain name, but it does not have to.
    To find the corrent NFSv4 domain name, you have to look it up in the NFSv4 server's configuration files.
    Kind regards,
    Steffen

  • Dv7-6160ca usb 3 drivers not loading

    So I have did a fresh install of windows 7 on this laptop and the whole left side usb is not working and I can't seem to get the usb3 drivers to load. I downloaded many different drivers from the web site and none worked. The laptop is only four days old.
    This question was solved.
    View Solution.

    Hi,
    Just to double check, go into Device Manager, right click on either problem device and select Properties.  Click the Details tab, choose Hardware Ids from the dropdown box and post back with the details shown under Value.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Kbdmgr.exe not loading at startup

    Running 10.5.1 with boot camp and using Xp Pro on my mac book i am having an issue where the file kbdmgr.exe (boot camp manager) is not loading and running at startup. In my spy-bot under the start up section it is listed but when i actually do start up it won't load by itself, a check of running processes shows it is not loaded at all. If i go into C:/program files/boot camp and run it by clicking the exe from there it will.
    The main reason this is a concern is that when it is not loaded all my brightness and volume controls dont work.
    Can anybody help with this issue

    I'm running Bootcamp 2.0.1 on the Air under Vista; the kbdmgr program is not consistant; if the light level increases the keyboard goes out, if the light level falls it does not return unless you kill and re-launch kbdmgr.exe; at that point the lights on the keyboard restore.

  • T61 USB Human Interface Device drivers not loading after undocking

    I have a T61 and after I undock (correct method, by pressing the eject button on the docking station and waiting for it to turn green) the laptop from my advanced docking station, the external mouse does not work.  More specifically, this is the error message that I can see in the USB Human Interface Device with the yellow ! in Device Manager.
    "Windows cannot load the device driver for this hardware because a previous instance of the device driver is still in memory. (Code 38) "
    Is there a fix for this? If I reboot the laptop then I can get my external mouse to work because the drivers  can load, but I don't want to have to reboot after undocking.

    Regarding your keyboard problem, it seems to be a very low-level problem. The driver cannot access the Control Registers on the Keyboard. By going down from your error message to the lowest level, one can see that it's probably a simple "outb" operation (write data on a specified address, shouldn't fail if the address is correct...) that doesn't succeed.
    So I think you defintely need to look in your BIOS if you didn't deactivate something when upgrading, or messed with some address space, or many things I cannot think of right now.
    Good luck

  • Dock & App Switcher not loading at startup

    I recently purchased a new 2 x Quad core 2.93GHz Nehalem-based Mac Pro.
    About two of three times when I start the computer, the dock and application switcher will not load for 20 to 90 seconds after the rest of the computer has finished loading. I thought I had tracked it down to two applications that were consistently mentioned in the console log, but I uninstalled them and the problem has continued in the past several weeks since they were removed. I also just updated to 10.5.8, hoping that this would solve the issue, but it did not.
    At the end of this post I have pasted the error messages from the log that coincide with this issue. When the dock fails to load for a longer period of time, the log shows many more repetitions of this error.
    I have contacted Apple tech support directly about this and they have not been able to help.
    Has anyone else experienced this issue? Has anyone found a solution?
    Thanks!
    8/14/09 Aug 14, 9:01:56 PM com.apple.launchd[135] ([0x0-0x1e01e].com.apple.dock[192]) Exited abnormally: Bus error
    8/14/09 Aug 14, 9:01:57 PM com.apple.launchd[135] ([0x0-0x1f01f].com.apple.dock[193]) Exited abnormally: Bus error
    8/14/09 Aug 14, 9:01:59 PM com.apple.launchd[135] ([0x0-0x20020].com.apple.dock[194]) Exited abnormally: Bus error
    8/14/09 Aug 14, 9:02:00 PM com.apple.launchd[135] ([0x0-0x21021].com.apple.dock[195]) Exited abnormally: Bus error
    8/14/09 Aug 14, 9:02:00 PM com.apple.launchd[135] ([0x0-0x22022].com.apple.dock[196]) Exited abnormally: Bus error
    8/14/09 Aug 14, 9:02:00 PM com.apple.launchd[135] ([0x0-0x23023].com.apple.dock[197]) Exited abnormally: Bus error
    8/14/09 Aug 14, 9:02:01 PM com.apple.launchd[135] ([0x0-0x24024].com.apple.dock[198]) Exited abnormally: Bus error
    8/14/09 Aug 14, 9:02:02 PM com.apple.launchd[135] ([0x0-0x25025].com.apple.dock[199]) Exited abnormally: Bus error
    8/14/09 Aug 14, 9:02:03 PM com.apple.launchd[135] ([0x0-0x26026].com.apple.dock[201]) Exited abnormally: Bus error
    8/14/09 Aug 14, 9:02:05 PM com.apple.launchd[135] ([0x0-0x27027].com.apple.dock[202]) Exited abnormally: Bus error
    8/14/09 Aug 14, 9:02:06 PM com.apple.launchd[135] ([0x0-0x28028].com.apple.dock[203]) Exited abnormally: Bus error
    8/14/09 Aug 14, 9:02:07 PM com.apple.launchd[135] ([0x0-0x29029].com.apple.dock[204]) Exited abnormally: Bus error
    8/14/09 Aug 14, 9:02:08 PM com.apple.launchd[135] ([0x0-0x2a02a].com.apple.dock[205]) Exited abnormally: Bus error

    If nothing else succeeds, then it may prove quicker to just reinstall OS X which you can do as follows:
    How to Perform an Archive and Install
    An Archive and Install will NOT erase your hard drive, but you must have sufficient free space for a second OS X installation which could be from 3-9 GBs depending upon the version of OS X and selected installation options. The free space requirement is over and above normal free space requirements which should be at least 6-10 GBs. Read all the linked references carefully before proceeding.
    1. Be sure to use Disk Utility first to repair the disk before performing the Archive and Install.
    Repairing the Hard Drive and Permissions
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger.) After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported, then quit DU and return to the installer.
    2. Do not proceed with an Archive and Install if DU reports errors it cannot fix. In that case use Disk Warrior and/or TechTool Pro to repair the hard drive. If neither can repair the drive, then you will have to erase the drive and reinstall from scratch.
    3. Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When you reach the screen to select a destination drive click once on the destination drive then click on the Option button. Select the Archive and Install option. You have an option to preserve users and network preferences. Only select this option if you are sure you have no corrupted files in your user accounts. Otherwise leave this option unchecked. Click on the OK button and continue with the OS X Installation.
    4. Upon completion of the Archive and Install you will have a Previous System Folder in the root directory. You should retain the PSF until you are sure you do not need to manually transfer any items from the PSF to your newly installed system.
    5. After moving any items you want to keep from the PSF you should delete it. You can back it up if you prefer, but you must delete it from the hard drive.
    6. You can now download a Combo Updater directly from Apple's download site to update your new system to the desired version as well as install any security or other updates. You can also do this using Software Update.

  • Module not loading at startup + logs

    I am having a problem getting my rtl8187 module to load at startup. This is my wireless driver. At startup my wireless refuses to work. I check my modules "lsmod" and the rtl8187 module appears to be loaded. However my wireless only starts working after I remove the module and then reload it.
    Can somebody tell me where I can find the log that will tell me whats going on with this module at startup.
    BFC

    Can somebody tell me where I can find the log that will tell me whats going on with this module at startup.
    You say the module gets loaded, as does lsmod. So there will be no error message, as the system thinks the module is working(which it probably is). The reason your wireless is not working may be another issue. In order for some things to work correctly certain things need be loaded before other things can access them.
    anyway, all error logs are in /var/log, shouldn't take you long to look through them. They are dated.

  • W7/64 USB Drivers not loading on boot-up

    Installed W7/64 onto clean SSD with all ThinkPad items added and updated off the Driver Matrix (W500).
    Using with 2503 Dock I have up to 13 USB devices attached .. just like in former WXP-SP3 setup.
    Now when I start the system, only my Logitech LASER mouse (with USB transceiver) driver loads ... ALL others have yellow flag (not loaded). Strange is that this even affects my expansion slots ... that don't register until  USB flagged drivers are manually updated.
    Further I looked in the windows/system32/drivers folder and none of the several USB driver files are present.
    Is there a way to repair this situation without the agony of reinstalling everything.
    Please, advise.

    csc4096 wrote:
    OS X Lion on a Mac Mini with Microsoft Intellimouse
    Installation worked with no errors but now when I boot up the mouse cursor is at the top left of the screen and refuses to work until I manually unplug it and push it back in again. Annoying to say the least.
    Have you tried another mouse?  Have you tried a different USB port?  If the mouse is plugged into a hub, have you tried plugging directly into the Mac?
    Also the scroll-reversal option is missing from the relevant control panel.
    Any sensible suggestions?
    To confirm, can you screen shot the Mouse System Preference?
    If all else fails, you can install Scroll Reverser.  It was for Lion developers to get accustomed to the Lion-style scrolling before Lion was released, but it works just fine in Lion for these unusual situations.  (e.g.: older Macbook Pro without a multitouch trackpad.)

  • Lela 3 icon does not load at startup

    I was advised by level 2 support to download, uninstall current v1 lela, install new v3 lela to resolve issue when I updated my firmware.  That issue was the online admin showed I was secured but Lela said I was not.  I installed new version and all went okay.  I noticed when I reboot or turn on computer, the Linksys icon does not appear in the system tray next to the clock.  I looked at my msconfig and linksys agent is not even listed.  I searched my c:\ and found nothing that contained linksys agent in it's name.  If I launch lela from the programs menu, the icon appears and stays there until I shutdown and restart or reboot.  Then it does not load.  What do I need to do to resolve this?  I feel as if I'm bot secured and don't like it.  Please help.
    Also, I didn't see a proper forum for this so excuse me being off topic.  When I created my forum profile, for whatever reason I kept getting the error that I wasn't entering a valid email address.  I tried several times.  I had to resort to using a fictitous email address.  I want to use my valid email address so I can be notified of responces.  If someone can, please advise how to remedy this situation.
    Thank you
    Message Edited by steviegt on 04-16-2009 10:25 AM
    Message Edited by steviegt on 04-16-2009 10:26 AM
    Windows Vista Home Premium SP1 32-bit
    Internet Explorer v7
    Office 2007 SP1 Home and Student
    Outlook 2007 Standalone
    ESET Smart Security
    WRT54G 8.00.6

    I changed my userid so this is the originator adding additional comments.  I read a post about the latest firmware updates not being compatible with the v3 of lela.  I rolled back my firmware as the post advised.  Still no icon in system tray.  Do I need to uninstall/install lela again?  Seeing I had so many problems with the install to begin with, the icon is a minor detail as long as I am truly protected, I hope I don't have to go thru the install again.
    Windows Vista Home Premium SP2 64-bit
    Internet Explorer v8
    Office 2007 SP2 Home and Student
    Outlook 2007 Standalone
    ESET Smart Security
    WRT54G v8.00.6

  • Ipfw2 will not load on startup

    Followed instructions on apple's snow leopard security configuration guide, but on restart ipfw conf file will not load (via ipfw.plist on lauch Daeomons). Even wierder is that terminal instruction to load ipfw conf file, actually give the error "Bad command 'sudo'" . Any suggestions would be most welcome.

    Good place to post: Mac OS X Technologies > Unix (Get under the hood with Command Line and the Terminal): http://discussions.apple.com/forum.jspa?forumID=735

  • Extensions not loading on startup

    I am having an issues with Add-ons and Extensions not loading when I start Firefox, in order to get them working I have to manually disable then enable to get them to load.
    I have tried disabling each extension to see if one was interfering but to no avail.
    The only extensions that are not effected by this issue are ones that require Firefox to be restarted whenever they are enabled or disabled.
    Using Elementary OS Luna (Ubuntu Linux 32 bit) and Firefox is at its latest version.

    It is possible that there is a problem with the file(s) that store the extensions registry.
    Delete the extensions.* files (e.g. extensions.json, extensions.sqlite, extensions.ini) and compatibility.ini in the Firefox profile folder to reset the extensions registry.
    *https://support.mozilla.org/kb/Profiles
    New files will be created when required.
    See "Corrupt extension files":
    *http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
    *https://support.mozilla.org/kb/Unable+to+install+add-ons
    If you see disabled or not compatible extensions in "Firefox/Tools > Add-ons > Extensions" then click the Tools button at the left end of the Search bar to check if there is a compatibility update available.
    You can check for problems with preferences.
    Delete possible user.js and numbered prefs-##.js files and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in the current Firefox release.
    *http://kb.mozillazine.org/Preferences_not_saved
    *http://kb.mozillazine.org/Resetting_preferences

  • [Solved] Menu Editor not loading.

    I installed py solitaire, it didn't show up in the list.  I tried to open up the menu editor, and that will not load either.  I have fam and alacarte installed, and I am not sure what is wrong.  Any help would be greatly appreciated.
    Edit:  alacarte will not run as a normal user, only as root.  Is this normal?
    Last edited by perlluver (2008-02-24 21:45:37)

    perlluver wrote:
    I installed py solitaire, it didn't show up in the list.  I tried to open up the menu editor, and that will not load either.  I have fam and alacarte installed, and I am not sure what is wrong.  Any help would be greatly appreciated.
    Edit:  alacarte will not run as a normal user, only as root.  Is this normal?
    Ok I ran menu editor from the terminal and I got this message:
    ** (gmenu-simple-editor:7417): WARNING **: Failed to add monitor on '/home/perlluver/.config/menus/applications.menu': Permission denied
    ** (gmenu-simple-editor:7417): WARNING **: Failed to add monitor on '/home/perlluver/.config/menus/applications-merged': Permission denied
    ** (gmenu-simple-editor:7417): WARNING **: Failed to add monitor on '/home/perlluver/.config/menus/settings.menu': Permission denied
    ** (gmenu-simple-editor:7417): WARNING **: Failed to add monitor on '/home/perlluver/.config/menus/settings-merged': Permission denied
    ** (gmenu-simple-editor:7417): WARNING **: Failed to add monitor on '/home/perlluver/.config/menus/preferences-merged': Permission denied

  • [solved] TV card not loaded after upgrade to kmod

    After the upgrade to mkinitcpio and kmod replacing module-init-tools, my TV card (Hauppauge WinTV Nova-S) is not loaded.
    Downgrading mkinitcpio and re-installing module-init-tools and regenerating my initramfs and all is well.
    Is there any extra setup needed with kmod? There are no man files in the kmod package so I'm at a loss what to do.
    Incase it helps, here are (maybe not all) the modules related to my tv card when downgraded:
    -->lsmod | grep dvb
    cx88_dvb 23415 39
    cx88_vp3054_i2c 1932 1 cx88_dvb
    videobuf_dvb 4794 1 cx88_dvb
    dvb_core 92868 2 cx88_dvb,videobuf_dvb
    cx8802 13121 1 cx88_dvb
    cx88xx 73365 4 cx88_dvb,cx88_alsa,cx8800,cx8802
    videobuf_dma_sg 7936 5 cx88_dvb,cx88_alsa,cx8800,cx8802,cx88xx
    videobuf_core 15879 5 videobuf_dvb,cx8800,cx8802,cx88xx,videobuf_dma_sg
    i2c_core 20492 15 isl6421,cx24123,wm8775,cx88_dvb,cx88_vp3054_i2c,cx8800,cx88xx,tveeprom,v4l2_common,videodev,i2c_piix4,nouveau,drm_kms_helper,drm,i2c_algo_bit
    Last edited by fastfret79 (2012-01-10 22:29:35)

    Yes - initramfs regenerated after each upgrade and downgrade.
    Forgot to mention I was also suffering from the 'Filename too long' FS#27862 and your updated kmod in that bug's comments fixed that. I'm guessing that my issue is unrelated.
    With both kmod packages, initramfs complains that /etc/modprobe.d/modprobe.conf doesn't exist, but I've never added anything in there anyway and the kmod package doesn't contain that file.
    Last edited by fastfret79 (2012-01-10 11:53:07)

  • [Solved] Synaptics driver not loaded

    Recently im getting
    Couldn't find synaptics properties. No synaptics driver loaded?
    when I run synclient
    Touchpad still works but the synaptics driver is apparently not loaded. I have xf86-input-synaptics installed.
    I can't figure out how to load the synaptics driver.
    Last edited by Mythreya (2015-03-10 12:45:34)

    This started after an update about a week ago. It was working perfectly fine with no effort before. I have an elantech touchpad.
    $ xinput list
    ⎡ Virtual core pointer                          id=2    [master pointer  (3)]
    ⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
    ⎜   ↳ ETPS/2 Elantech Touchpad                  id=17   [slave  pointer  (2)]
    ⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
        ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
        ↳ Power Button                              id=6    [slave  keyboard (3)]
        ↳ Video Bus                                 id=7    [slave  keyboard (3)]
        ↳ Video Bus                                 id=8    [slave  keyboard (3)]
        ↳ Power Button                              id=9    [slave  keyboard (3)]
        ↳ Sleep Button                              id=10   [slave  keyboard (3)]
        ↳ ASUS USB2.0 Webcam                        id=14   [slave  keyboard (3)]
        ↳ Asus WMI hotkeys                          id=15   [slave  keyboard (3)]
        ↳ AT Translated Set 2 keyboard              id=16   [slave  keyboard (3)]
        ↳   USB Keyboard                            id=11   [slave  keyboard (3)]
        ↳   USB Keyboard
    I've mostly found ubuntu forums with the issue, they all linked to the debian wiki on synaptics which didn't help much. Even the allmighty archwiki had no troubleshooting instructions for synaptics.
    Last edited by Mythreya (2015-03-06 18:12:37)

Maybe you are looking for

  • Name of the programme, which writes PO Output IDOC into a file

    Hello Guru's, Will anyone know the name of the Program which writes the Purchase Order Output Medium IDOC into a file ( xl file, text file etc,.) in SAP.

  • Clone Stamp Freakout in CS4-Mac

    Hi, I am using PhotoShop CS4 on a Mac Pro (2x2.8Ghz Quad Core, 4Gb RAM, NVIDIA GeForce 8800 GT) running 10.5 My CS4 is up to date. I use a Wacom Intuos3 6x11 tablet with stylus; it is also up to date. I am retouching a large (1.88GB) PSD file with mu

  • RFC sap- as400

    Hi everybody's, I've a problem regarding definition of an RFC destination. Using a RFC function I've to call a non sap abap program; particularly the program resides on as400 server. I've defined a TCP/IP rfc destination in which I've specified the i

  • Unable to view WPC content

    Hi. We have EP 7.0 SP18 with WPC SP18 P1 implemented. I have setup WPC on our PRD system - exactly the same as for QAS & DEV. I have transported the WPC websites from QAS to PRD. On PRD, if I have the Super Admin Role - I am able to see the content w

  • A bug? Photoshop Action Playback is too fast after CS5-CS6 upgrade!! My action wont work

    On a PC I upgraded from CS5 to CS6 (cloud) over the long weekend and I'm now faced with a massive headache. The process actions I use intensively for my work are all foxed by the simple problem that the action playback is going too fast for scripting