VirtualBox

Changes between Version 2 and Version 3 of DnDDebug


Ignore:
Timestamp:
Jun 18, 2015 1:23:07 PM (9 years ago)
Author:
pentagonik
Comment:

DnD debug draft.

Legend:

Unmodified
Added
Removed
Modified
  • DnDDebug

    v2 v3  
    33Handling drag and drop operations across various host and guest OS combinations is a difficult and time sensitive topic. To diagnose your problem further we need you to run your VirtualBox installation with several adjustments being made. The adjustments affect the host operating system as well as the guest you want to use for this drag and drop operation.
    44
    5 '''Note:''' Drag and drop support only is available for '''VirtualBox 5.0 and newer'''. Older versions of VirtualBox only had experimental support and therefore are not supported.
     5'''First note:''' Drag and drop support only is available for '''VirtualBox 5.0 and newer'''. Older versions of VirtualBox only had experimental support and therefore are not supported.
     6
     7'''Second note:''' The guest needs to have the !VirtualBox Guest Additions installed in order to perform drag and drop operations from/to the host. Without Guest Additions drag and drop will not work!
     8
     9'''Third note:''' Drag and drop is disabled by default on newly created VMs. To enable drag and drop support, go to the VM's "Devices" menu, open "Drag and drop" and select the appropriate mode you want to use.
    610
    711Please also be aware that drag and drop (DnD) support at the moment only is available for the official "!VirtualBox Manager" frontend. If you do use other frontends (such as !VBoxHeadless or !VBoxSDL) then this guide will '''not''' work for you.
     
    2832  * Reboot the host.
    2933  * Start the !VirtualBox Manager and start the VM you want to diagnose drag and drop for.
    30   * Perform and reproduce the faulty drag and drop operation (from host to guest or guest to host)
     34  * Perform and reproduce the faulty drag and drop operation (from host to guest or guest to host).
    3135
    3236The resulting VBox.log of the VM you reproduced the drag and drop issue should now contain a lot more logging statements beginning with
     
    3539}}}
    3640
     41This is all what it takes to gather drag and drop debug information from the host. Sometimes, however, the error does not occur on the host but on the running guest itself. For that to diagnose please read the next section.
    3742
    3843
     44== Collecting information from the guest ==
     45
     46Collecting drag and drop debug information on the guest is similar to collecting it on the host. For that also system-wide environment variables need to be set on the guest (not on the host!).
     47
     48=== For Linux, BSD or Solaris guests, do the following: ===
     49
     50 * Make sure you at least have the !VirtualBox Guest Additions 5.0 or higher installed.
     51 * As root, open the file "/etc/profile" and add
     52{{{
     53export VBOX_RELEASE_LOG_FLAGS="time tid thread"
     54export VBOX_RELEASE_LOG_DEST="file=/tmp/VBoxClient.log"
     55export VBOX_RELEASE_LOG="+guest_dnd.e.l.l2.l3.f"
     56}}}
     57 
     58  * Reboot the guest.
     59  * Perform and reproduce the faulty drag and drop operation (from host to guest or guest to host).
     60
     61The resulting logfile in "/tmp/VBoxClient.log" on the guest drop issue should now contain a lot more logging statements beginning with
     62{{{
     63DnD: <More logging comes here>
     64}}}
     65
     66=== For Windows guests, do the following: ===
     67
     68 * Make sure you at least have the !VirtualBox Guest Additions 5.0 or higher installed.
     69 * Create the directory "C:\Temp" on the guest if it does not exist yet.
     70 * Open an command line prompt as Administrator and execute:
     71{{{
     72setx VBOX_RELEASE_LOG_FLAGS="time tid thread" /M
     73setx VBOX_VBOXTRAY_RELEASE_LOG "+guest_dnd.e.l.l2.l3.f" /M
     74setx VBOX_RELEASE_LOG_DEST="file=C:\Temp\VBoxTray.log" /M
     75}}}
     76 * Reboot the guest.
     77 * Perform and reproduce the faulty drag and drop operation (from host to guest or guest to host).
     78
     79The resulting logfile in "C:\Temp\VBoxTray.log" on the guest drop issue should now contain a lot more logging statements beginning with
     80{{{
     81DnD: <More logging comes here>
     82}}}
     83
     84== Ok, all done! What now? ==
     85
     86Please collect the VBox.log from the host and the guest (either VBoxClient.log or VBoxTray.log, depending on which guest you are running), pack those (ZIP, RAR) into an archive and submit that archive as part of a new bug report at our [https://www.virtualbox.org/wiki/Bugtracker public bug tracker].
     87
     88'''Note:''' Without the host and guest logs we cannot diagnose your issue, so please make sure to always attach those. Thank you.
     89

© 2023 Oracle
ContactPrivacy policyTerms of Use