Hi, thanks for the replies,
I've found a solution how I can start dwm in the user's home-directory. I've created a file /usr/share/xsessions/dwm.desktop file with the following content
Code:
[Desktop Entry]
Name=dwm
Comment=The dwm tiling window manager
Exec=~/.dwm/startdwm
# no icon yet, only the top three are currently used
Icon=
Type=Application
Now I can start dwm from gdm. Unfortunately it isn't possible for users to start dwm if they don't have dwm locally installed (although) dwm is also available in /usr/bin).
Markus