VirtualBox

Changeset 11102 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 4, 2008 1:31:57 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
34028
Message:

FE/VBoxHeadless: unset the DISPLAY variable in the frontend to prevent the host clipboard from starting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp

    r10174 r11102  
    4242#include <iprt/ldr.h>
    4343#include <iprt/getopt.h>
     44#include <iprt/env.h>
    4445
    4546#ifdef VBOX_FFMPEG
     
    422423#endif /* VBOX_FFMPEG */
    423424
     425    /* Make sure that DISPLAY is unset, so that X11 bits do not get initialised
     426     * on X11-using OSes. */
     427    /** @todo this should really be taken care of in Main. */
     428    RTEnvUnset("DISPLAY");
    424429    // initialize VBox Runtime
    425430    RTR3Init(true, ~(size_t)0);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette