I'm running Karmic and have just installed ratpoison from apt-get which seemed to work ok but when I logout to try and run ratpoison it doesn't appear in the GDM options. Having looked for a solution I found out that Debian have changed how window managers work with the GDM and apparently I need to add /usr/share/xsessions/ratpoison.desktop with the following contents:-

[Desktop Entry]
Comment=This session logs you into Ratpoison
This puts it into the options menu but when I try to login all I get is an Ubuntu splash screen with a working mouse pointer and then nothing, I cannot kill x with ctrl-alt-backspace and have to re-boot before I can do anything.

I have also tryed variations on this such as "EXEC=ratpoison" and tryed it without the last line. I'm sure that i'm doing something wrong but can't figure out what so thanks in advance if any of you can figure it out.