thanks for the idea Roundy but i don't think it is a problem with the configuration of fvwm as i said it does work when it is launched from an xterm and now i know it does also work when i use startx to start the X server and to launch fvwm so the problem i believe lies in the interaction of xdm and fvwm imre