Missing or broken libXrandr.so.2 library


XRandR lets games adjust the display resolution as needed. It is strongly recommended to install it if you plan to use games.


On CrossOver 17 and greater, the simplest solution to fix this issue is to run:
/path/to/cxoffice/bin/cxfix missinglibxrandr missinglibxrandr.amd64
Or add --show-all to see how CrossOver would fix it on your platform and others.

Alternatively you may try one of the commands below.

  • For 32-bit Windows applications
32-bit Arch Linux : pacman -Syu libxrandr
64-bit Arch Linux : pacman -Syu lib32-libxrandr
Debian : apt-get install libxrandr2:i386
32-bit Fedora : yum install libXrandr
64-bit Fedora : yum install libXrandr.i686 libXrandr.x86_64
32-bit openSUSE >= 11.2 : zypper install xorg-x11-libs
64-bit openSUSE >= 11.2 : zypper install xorg-x11-libs-32bit
32-bit openSUSE >= 12.1 : zypper install libXrandr2
64-bit openSUSE >= 12.1 : zypper install libXrandr2-32bit
  • For 64-bit Windows applications
Arch Linux : pacman -Syu libxrandr
Debian : apt-get install libxrandr2:amd64
Fedora : yum install libXrandr.x86_64
openSUSE >= 11.2 : zypper install xorg-x11-libs
openSUSE >= 12.1 : zypper install libXrandr2
  • cxfix --show-all may have more up-to-date fixes.
  • The commands usually also apply to newer versions of the distributions above as well as derived distributions. So for instance a fix for Debian 7 may still be valid for the latest Debian Testing and is typically also applicable to Ubuntu, Linux Mint, Deepin and Pop! OS. Similarly a fix for Fedora likely also works on Red Hat Enterprise Linux, CentOS, etc.
Last modified on 2020-10-13 21:29:23 by François Gouget
Are you sure you want to delete this page?
Note: Any nested pages that are under this one will be moved up one level. Any attachments tied to this page will be deleted.
Move / Rename Page
Unknown Error, unable to move!
That page exists already!
One or more of the parent pages specified in new path do not exist!
/support/wiki/ /support/wiki/Diag/MissingLibXrandr
CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...