Datapanic True that, but I also use KDE so I'm keeping those services around for now.
Speaking of which, I did it

Took me a moment to (re)figure the whole
dtlogin out but it works like a charm, with only one small caveat so far...
First locate
/usr/local/dt/config/C/Xresources.d. Those session files are the ones responsible for the different session choices which you get in the
dtlogin window. You can overrule any of those if you want to by using
/usr/local/etc/dt/config. However, you'll notice that by default this directory only has an unrelated
Xsession.d directory.
SO...
# mkdir -p C/Xresources.d
, this is the first command you'll need. Add a file in there, just to keep the sequence in order I used
0180.session. Then I added this:
Code:
Dtlogin*altDtName: KDE4
Dtlogin*altDtStart: /usr/local/bin/startkde
After you fire up your login manager with this you'll have a fifth option to chose from: KDE4
The only caveat I spotted so far was when I logged out of KDE back into
dtlogin. During that moment it no longer recognized KDE4 for some reason. I used the
current option instead and (obviously) logged right back into CDE. After I logged off though the menu once again recognized KDE4.
So it looks like I'll be using a login manager again. This brings back some good memories to be honest. Especially seeing files such as
Xaccess and
Xservers; that's how I used to mess around with CDE back in the days. I had a Linux computer and a Solaris server, so I used X on the command line to log onto the login manager (
dtlogin) and from there on use the CDE environment, but all from my own Linux workstation / server.
The only things left on my todo list as the blueish waterdrop wallpaper and the distorted console I get when using X together with the
x11/nvidia-driver port. I assume the distortion is because of the differences in resolution between the (
vt operated) console and the X environment, but I'll have to look closer into that, needs some more studying on my part.
Even so, this is very exciting. It's been
years since I last logged onto a real CDE environment, and it really feels good to have it back!