I was away for some time, and now back. I figured out that kdesu is no longer supported and cannot use it now. So hoping to rebuild the project to use system shut down method so no need for root permission.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I was away for some time, and now back. I figured out that kdesu is no longer supported and cannot use it now. So hoping to rebuild the project to use system shut down method so no need for root permission.