if check_if_xorg_modular_libs qt4; then
  message "$PROBLEM_COLOR"
  message "kdm does not work out-of-the-box with xorg-modular since the "
  message "paths changed. Edit /opt/share/config/kdm/kdmrc and modify "
  message "ServerCmd to point to /usr/bin/X . If needed, set Xrdb, "
  message "FailsafeClient and Session to point to correct paths (no X11R6/)."
  message "$DEFAULT_COLOR"
fi &&

message '
To get pmount working with hal on kde >= 3.5.4 a policy for the plugdev group
has to be created in /etc/dbus-1/system.d/hal.conf:

<policy group="plugdev">
  <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
  <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
</policy>
'

message '
ensure that your ~/.xsession file contains the following line
  eval $(dbus-launch --sh-syntax --exit-with-session)
this is needed to handle interprocess communication in kde4
'
