Hi guys/gals,

I was playing with command in shell terminal last night for OpenBSD and I found this trick (by myself I don't know if you can find that in google) "How to change KDE/GNOME/BLACKBOX,etc for your OpenBSD as your default desktop"

1.Yes...you need to install KDE/GNOME/BLACKBOX,etc.
2. login as root and then type "whereis startkde" or "whereis gnome-session" or "whereis blackbox" ,etc..
In my OpenBSD box came up like this:
# whereis startkde
#/usr/local/bin/startkde

2. And then edit your ".profile", you will find something like this :
PATH=/sbin:/usr/sbin:/bin:/usr/bin
export PATH
HOME=/root
Look in your "PATH" section and then add /usr/local/bin/startkde (you can do same thing to gnome,blackbox,etc)
3.The last thing is.. I've done this one:
# echo "/usr/local/bin/startkde" > ~/.xinitrc (you can do samething for gnome,etc..)

And then reboot, after that type startx and you will find KDE/GNOME,etc as your default desktop..

I hope this helps


ps: If I posted this one in wrong forum somebody please tell me, I will delete it ASAP and BTW I am not really sure if this one tutorial...cause only short one)