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.

2-Bay/4-Bay Hard Drive Enclosure for 3.5"/2.5'' SATA HDD/SSD 10Gbps USB-C 3.2
$75.99
OWC Mercury Elite Pro 2 Bay RAID Enclosure with USB 3.2 for Dual 3.5 inch HDDs
$87.99
Broadcom 9600-24i RAID Controller PCIe Gen 4.1 Tri-Mode NEW 05-50111-01004
$649.99
Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003
$639.69
WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5/3.5'' SSD HDD Enclosure
$119.99
Acasis USB 3.2 2 Bay HDD RAID Enclosure for 2.5/3.5" SATA Drives External Array
$55.00
Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller
$64.99
Dell PowerEdge HBA330 LP PCI-E 12GBs RAID SAS Controller Adapter J7TNV
$18.95
Areca ARC-1882IX-24 (16i4e)24-Port RAID Controller Card w/BBU /HDD Monitor Board
$300.00
CalDigit VR minin 2 Portable Raid Storage On The Go
$75.00