Results 1 to 2 of 2

Thread: export QT_X11_NO_MITSHM=1

  1. #1
    Join Date
    Oct 2017
    Location
    Isa Khel
    Beans
    22
    Distro
    Ubuntu 18.04 Bionic Beaver

    Question export QT_X11_NO_MITSHM=1

    Hi, I just installed Ampps on my ubuntu 18.04x32 (Upgraded from ubuntu 16.04 x32bit) but as I run the app the GUI was broken as I saw a gray window I search a bit and found the solution but not permanent Environment variable QT_X11_NO_MITSHM was not set.

    Runtime solutions:
    sudo QT_X11_NO_MITSHM=1 /usr/local/ampps/Ampps


    which works but I have to do this everytime instead of just doing sudo ./Ampps The Permanent Solution: is to Add export QT_X11_NO_MITSHM=1 to /etc/environment or to your environment file based on your Linux distro but idk how to do that so can anyone guide me how to do that?

  2. #2
    Join Date
    Mar 2011
    Location
    U.K.
    Beans
    Hidden!
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: export QT_X11_NO_MITSHM=1

    I would add that line in ~/.profile

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
  •