when performing a minimal X install (only the @ X Window System component),
cannot login via xdm. the dump of ~root/.xsession-errors:
>> /etc/X11/xdm/Xsession: xsetroot: command not found
>> /etc/X11/xdm/Xsession: xrdb: command not found
>> /etc/X11/xdm/Xsession: xmodmap: command not found
>> WARNING: You selected Fvwm2 as your window manager, but your
>> does not appear to be functional. The executable /usr/X11R6/bin/fvwm2
>> not found on your system.
>> RESUMING with TWM...
>> /usr/X11R6/bin/RunWM: xterm: command not found
proposed fix... change first line of /etc/X11/xdm/Xsesion from
it worked for me, though i haven't thought through all of the implications.
#!/bin/bash is sufficient...
*** This bug has been marked as a duplicate of 16648 ***