Results 1 to 6 of 6

Thread: Problem with QT applications after Virtualbox is launched in ubuntu 9.04

  1. #1
    Join Date
    Mar 2008
    Location
    London
    Beans
    86
    Distro
    Ubuntu 10.04 Lucid Lynx

    Red face Problem with QT applications after Virtualbox is launched in ubuntu 9.04

    HI all,

    I have noticed a very weird problem in my computer. After I run virtualbox2.24 , any qt application that I open loses its colour (the applis include dolphin, virtualbox,digicam,amarok,skype). It becomes a grey shaded application. I have no idea why , this is the first time it is happening to me. Have been using ubuntu since 7.04 days never encountered such a problem.
    I'm attaching some screenshots of qt applications with grey shade problem.




    Last edited by sayantandas; June 16th, 2009 at 10:52 PM. Reason: added screenshots

  2. #2
    Join Date
    Apr 2009
    Location
    Katy, Texas
    Beans
    74
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Problem with QT applications after Virtualbox is launched in ubuntu 9.04

    Weird, that's never happened to me before. I know that VirtualBox uses Qt.

    1) Are you using VirtualBox OSE or proprietary VirtualBox?
    2) Have you tried going to System > Preferences > Qt 4 Settings and changing anything around?
    3) Have you tried reinstalling VirtualBox via Synaptic?

  3. #3
    Join Date
    Aug 2007
    Beans
    80
    Distro
    Kubuntu Development Release

    Re: Problem with QT applications after Virtualbox is launched in ubuntu 9.04

    Try removing Trolltech.conf before starting VB and if it persists, log out and in again (to regenerate the file) then launch VB and remove Trolltech.conf. Then try to reproduce the problem. Or you can just rename the file if you don't want to log out/in again.

    The file is located at "~/.config/Trolltech.conf"

    This file is core to many QT dependencies (just look through the file) and there was even a bug about this that while the status states fixed, doesn't mean it's not occurring for you.

    If Qt finds the file ~/.config/Trolltech.conf it will not load X11 resources (color, font, etc) at all. This happens even if the only entry in Trolltech.conf concerns plugins.
    http://www.qtsoftware.com/developer/...entry&id=79074

    I used to get the "cannot mix incompatible QT libraries" issue with Intrepid and the solution for me was to make a wrapper script that removed that file before launching VB.
    Last edited by nfox; June 18th, 2009 at 02:26 AM.

  4. #4
    Join Date
    Mar 2008
    Location
    London
    Beans
    86
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Problem with QT applications after Virtualbox is launched in ubuntu 9.04

    I use virtualbox from the virtualbox repos. It is happening even with virtualbox3.0. The thing is.. it only happens when this script is used

    #!/bin/bash
    export XLIB_SKIP_ARGB_VISUALS=1
    VirtualBox

    But if i dont use the above script, I get the transparent background problem with virtualbox.

  5. #5
    Join Date
    Aug 2007
    Beans
    80
    Distro
    Kubuntu Development Release

    Re: Problem with QT applications after Virtualbox is launched in ubuntu 9.04

    Quote Originally Posted by sayantandas View Post
    I use virtualbox from the virtualbox repos. It is happening even with virtualbox3.0. The thing is.. it only happens when this script is used

    #!/bin/bash
    export XLIB_SKIP_ARGB_VISUALS=1
    VirtualBox

    But if i dont use the above script, I get the transparent background problem with virtualbox.
    So did you try to remove that file? And what transparent problem do you mean? I don't have any issues with VBox through several versions of Ubuntu.

  6. #6
    Join Date
    Mar 2008
    Location
    London
    Beans
    86
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Problem with QT applications after Virtualbox is launched in ubuntu 9.04

    Quote Originally Posted by nfox View Post
    So did you try to remove that file? And what transparent problem do you mean? I don't have any issues with VBox through several versions of Ubuntu.
    http://forums.virtualbox.org/viewtopic.php?f=7&t=17831

    this bug . it still bugs ubuntu users running 9.04

    by the way, ur solution did not work.i did remove the file but still the problem persists

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •