Set the Dtlogin*systemPath resource in Xconfig. For example:
Dtlogin*systemPath: /usr/bin/X11:/etc:/bin:/usr/bin:/usr/ucb