Hey all, I've been playing around with XPde for a while, it launches fine with startx with .xinitrc setup to launch it, but I'd like to add it to KDM. I found a tutorial for Mandrake, but there seems to be some differences with debian:
Mandrake instructions:
The problem I have is that my /etc/X11/Xsession file dosent have those lines,Edit your /etc/X11/Xsession: vi /etc/X11/Xsession
Between the lines
if [ -n "$DESKTOP" ]; then
case $DESKTOP in
and
failsafe)
insert the following lines:
XPde)
export LD_LIBRARY_PATH=/opt/xpde/bin
exec $SSH_AGENT /opt/xpde/bin/XPde full &
exec $SSH_AGENT /opt/xpde/bin/XPwm
;;
3. Edit your /usr/share/config/kdm/kdmrc: vi /usr/share/config/kdm/kdmrc
In the line beginning with SessionTypes= insert an entry XPde
That's it!
Now you can select XPde in KDM to start it.
I've looked in every Xsession file I can find and a lot of other files that seem to be called from them, but nothing.
Anyone have any idea where the lines should be added?
Also I want to add XFCE4 to KDM, it's installed, and launches fine from GDM, but dosent show up in KDM and I'd prefer to keep using KDM.
Any help on either of these would be greatly appreciated
Thanks in advance.

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD
$1599.99
Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series
$375.00
IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU
$225.00
IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM
$179.99
IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU
$999.99
IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES
$110.30
IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1)
$150.00
1 X IBM 720 POWER SERVER WITH 32 GB RAM
$344.97
IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620
$199.99
IBM EMC 091-000-091 17 Inch Rackmount LCD Keyboard KVM Console 03N7012
$109.99