startx and then startkde,
I tried xinit and then startkde, this time I got the maximize, minimize and close window buttons, but the issue this time is there is a console open all the time, I close it and the x server shuts down.
I am not using kdm for login, default init level is 3