KDE logout/shutdown dialog does not appear

view story

http://www.linuxquestions.org – Hello, I am using KDE (Debian 7) and the right click or the KMenu dialog for logout/shutdown/restart does not appear. Also i have a startup script which doesn't load at all times. I have found sometimes the dialog appears for some sessions (randomly), and in those sessions the autostart apps actually work. So I guess they are somewhat related. Please suggest me what steps should I take. (HowTos)