= Frequently Asked Questions for end users (User FAQ) = Here you can find common questions, frequently asked on the [wiki:"Community" VirtualBox mailing lists and IRC channel], along with their answers. Please consult this list every time you run into a problem that is not described in the [wiki:"Downloads" User Manual]. Note that we update the [wiki:"Downloads" User Manual] on a regular basis, and information that first shows up on this page is moved to the User Manual regularly. As a result, please do check the User Manual also, especially the "Troubleshooting" section. Also make sure to check whether you are running the latest version of !VirtualBox. This particular FAQ is for end-user issues only; you may want to look at the [wiki:"Developer_FAQ" Developer FAQ] and [wiki:"Licensing_FAQ" Licensing FAQ] for additional topics. == General == * ping does not work with !VirtualBox NAT networking !VirtualBox's implementation of NAT networking is done entirely in user space. This means in particular that it has no way of passing on the ICMP IP packets which are used by the ping command from the guest, as these require special privileges to send from the host. The upshot of this is that you can't ping anything outside the local 10.0.2.x subnet from a NATed guest. * Sometimes !VirtualBox fails to start with a message on the lines of {{{ Failed to create VirtualBox COM object Callee RC: 0x80470007 }}} This usually means that the !VirtualBox COM server was unable to start up, and is often a sign of problems in your installation of !VirtualBox. In many cases this problem can be solved simply by reinstalling !VirtualBox. Reinstalling will simply set up the !VirtualBox program files again, and will not affect any virtual machines which you have created. If this does not help, and you wish to investigate the problem further yourself, try starting the !VirtualBox COM server (the program VBoxSVC in the !VirtualBox program folder) from a command prompt or a DOS box. You may be able to see what is going wrong from error messages when the server starts. Please do not open bug reports when you get this error before you have tried the other available support channels ([http://forums.virtualbox.org/ forums], [wiki:"Mailing_lists" mailing lists] and [wiki:"IRC" IRC]). * "How come it doesn't detect my nVidia/ATI/whatever graphics card?" Because the guest sees a __virtual__ graphics card, not the host graphics card. The virtual graphics card provides the necessary VESA and VGA features to make the guest operative systems work OK. Additional features, like higher resolutions, is provided by the graphics driver included with the guest additions. More details on how to install guest additions and features of the virtual graphics card can be found in the manual. == Linux hosts == * '''dkms status''' fails after !VirtualBox was removed (deb/rpm): The !VirtualBox 1.6.0 and 1.6.2 packages did not properly de-register from dkms during uninstallation. To work around this problem do {{{ rm -rf /var/lib/dkms/vboxdrv }}} after you uninstalled a !VirtualBox deb/rpm package. * '''USB on Ubuntu/Gutsy''': Ubuntu removed support for `/proc/bus/usb/*`. We will address this issue in the future. Until this, edit the script `/etc/init.d/mountdevsubfs.sh and activate the four lines around line 40 (Magic to make /proc/bus/usb work). Then execute {{{ /etc/init.d/mountdevsubfs.sh start }}} From now on, there should be a directory `/proc/bus/usb/` and the device entries below should be accessible by any user. * '''USB on openSUSE''': Add the following entry to `/etc/fstab`: {{{ none /proc/bus/usb usbfs auto,busgid=XXX,busmode=0775,devgid=XXX,devmode=0664 0 0 }}} Replace `XXX` by the group ID of the group vboxusers. You can determine this value by executing {{{ grep vboxusers /etc/group }}} Of course, the current user should be member of that group. After the next reboot, there should be a directory `/proc/bus/usb/` and the device entries below should be accessible by any user of the `vboxusers` group. * If '''USB doesn't work,''' check your usbfs permissions. See "Troubleshooting" -> "Linux hosts" in the [wiki:"Downloads" User Manual] for a solution. * '''Tickless Linux timer''': !VirtualBox currently does not work well on Linux kernels with tickless timer support (CONFIG_NO_HZ enabled). We are investigating the problem but in the meantime you should disable the tickless timer by disabling that config option or by adding '''nohz=off''' to the Linux kernel command line.[[BR]] Starting with !VirtualBox 1.5.6 the Linux kernel module knows the parameter `force_async_tsc`. Try loading the kernel module with {{{ modprobe vboxdrv force_async_tsc=1 }}} and see if that helps to improve things for you.[[BR]] ''(Should not be necessary anymore since !VirtualBox 1.6.0)'' * If you get a message saying '''"!VirtualBox kernel driver not accessible, permission problem"''' when starting !VirtualBox immediately after installation, make sure that your user account is a member of the `vboxusers` group. This group is created when !VirtualBox is installed, but you will need to manually add all users to it who are to be allowed to run !VirtualBox. The documentation accompanying your Linux distribution should provide information about how to do this. If not, the following should also work on most Linux systems. These commands should be run as the Administrator user from the command line. {{{ # groups [Shows a list of groups for that login name] # useradd -g -G ,,...,vboxusers }}} These changes will only take effect after the users have logged out and back in again. * If the kernel module refuses to load with a message saying '''"Error inserting vboxdrv: Invalid argument",''' check (as root) the output of the "dmesg" command, and see "Troubleshooting" -> "Linux hosts" in the [wiki:"Downloads" User Manual] for solutions. == Linux/Solaris guests == * If the scroll button on your mouse does not work in the guest, try adding the following lines to the mouse section in your `xorg.conf` file: {{{ Option "Buttons" "5" Option "ZAxisMapping" "4 5" }}} == FreeBSD guests == * FreeBSD guests do not properly detect the network card which is selected by default for new VMs (''PCNet-Fast III''). Please select ''PCNet-PCI II'' for *BSD guests. == Windows hosts == * If you configure a VM to use NAT networking (the default), the DNS relay in !VirtualBox forwards all DNS queries to the first configured DNS server. Unfortunately on Windows the first configured DNS server is frequently not working (e.g. because it corresponds to a currently not connected interface). To work around this problem, configure a working DNS server in the network configuration inside the guest OS. * Windows Vista hosts might show an error about a COM server not being accessible. This is a problem of our installation routine which we have not figured out yet. To fix the problem, open a command prompt shell and enter: {{{ cd \Programs\Sun\xVM VirtualBox VBoxSVC.exe /ReRegServer regsvr32.exe VBoxC.dll }}} ''(Should not occur with current versions anymore)'' * Installing the guest on '''fixed size''' disk images. Until version 1.5.4, !VirtualBox creates a sparse file if the user selects 'fixed size' when creating a virtual disk image. That means that the file is created and its length on the real hard disk is defined but the file content is still not allocated. When trying to install a guest OS on this image, the first write accesses to a sector in the middle of the image will be delayed for a long time on Windows hosts. This might confuse the guest and make installing a guest impossible (for example, '''creating a partition fails'''). Starting with !VirtualBox 1.5.6 we will write the whole file once during creation. Users of current versions should select a ''dynamically expanding'' image which does not have this limitation. ''(Fixed since !VirtualBox 1.5.6)'' == Windows Vista guests == * There is no networking in Windows Vista guests initially because, unfortunately, with Vista, Microsoft dropped driver support for the virtual AMD PCnet card that we are providing. See "Troubleshooting" -> "Windows guests" in the [wiki:"Downloads" User Manual] for a solution. The !VirtualBox Guest Additions contain the AMD PCnet driver.[[BR]] Starting with !VirtualBox 1.6.0 we provide an Intel Pro PRO/1000 device emulation which should be recognized by Vista. == Windows minidumps == To debug application crashes on Windows hosts and guests, minidumps are very helpful. Please have a look at http://support.microsoft.com/kb/315263. If !VirtualBox crashes on a Windows host or a Windows guest application crashes please add the appropriate minidump to the bug report. == Windows 98 guests == * '''High CPU load while running Windows 98''' Windows 98 does not execute the 'hlt' instruction, which temporarily turns off the CPU, when it has no work to do. Download and install rain20 from [http://www.benchtest.com/downloads/index.html here]. * '''Poor graphical output in Windows 98''' Unlike more modern systems, Windows 98 does not come with a driver which will work with the !VirtualBox graphics card, so it falls back to using it as a 16 color VGA card. While Sun does not provide Guest Additions for Windows 98, the Display Doctor 7 Beta suite by the company !SciTech does contain a driver which will allow you to use higher color and resolution graphics modes. Please note that neither Sun nor !SciTech support nor accept liability for the use of this program. Display Doctor 7 Beta requires activation codes to work. We understand that the free activation code for Display Doctor 6 also applies to version 7 Beta: [http://www.scitechsoft.com/ftp/sdd/regcodes.txt]. You might also want to look at the following site pointed out by users of !VirtualBox, which also provides VESA drivers for Windows 98: [http://www.bearwindows.boot-land.net/vbe9x.htm]. Please be aware that Sun provides this link in good faith, but cannot take responsibility for the site or the software which it refers to.