Hello, the attached patch disables or modifies compilation of kdebase components requiring XRANDR when user sets CMAKE option -DWITH_XRANDR=OFF . I need to disable XRANDR because the components fail to build on RHEL5, because xrandr is too old. The components are: - kcontrol/displayconfig - kcontrol/iccconfig - kdm/kfrontend I do not know the side effect on such-compiled KDM, I hope it won't be severe. Thanks Francois Andriot