How to restart KDE session without machine reboot

General support questions
Post Reply
shivaninov10
Posts: 20
Joined: 2016/11/23 06:35:25

How to restart KDE session without machine reboot

Post by shivaninov10 » 2017/09/21 05:12:51

Hi all,

Very good morning!

In our project we have a requirement where the application needs the kde related config files to be updated and windows settings done with these kde config files like kwinrc, kwinrulesrc , plasma-desktoprc should reflect the changes without reboot.

The script goes like this , we have two users root and local both loaded with individual folders with kde-specific config files that gets loaded as soon as the script is called.

What we are aiming is when i load these files and new files gets copied to the location why is it not reflecting the changes, its reflects only after the machine reboot.

If am not clear with the problem statement please write to me and request someone to assist me on this !!

Thanks
Shivani

shivaninov10
Posts: 20
Joined: 2016/11/23 06:35:25

Re: How to restart KDE session without machine reboot

Post by shivaninov10 » 2017/09/21 11:23:06

Guys any update . Am supposed to delivered a script for prod deployment :| and i am need of the solution.

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: How to restart KDE session without machine reboot

Post by hunter86_bg » 2017/09/21 14:09:04

Well if it was gnome - you can restart the 'gdm.service' , but I'm not sure what is the kde service name.

Mike_Rochefort
Posts: 215
Joined: 2016/03/16 02:34:19

Re: How to restart KDE session without machine reboot

Post by Mike_Rochefort » 2017/09/21 17:19:53

I haven't used KDE in a long while, but does something like this work?

https://www.lifewire.com/kubuntu-p2-2202573
Solution Architect @RedHat | RHCE
Former SysAdmin @BlueSkyStudios and @Pixar
Feature animation and VFX enthusiast
--
Report CentOS Stream 8 bugs: https://da.gd/c8s-bugs
Report CentOS Stream 9 bugs: https://da.gd/c9s-bugs

shivaninov10
Posts: 20
Joined: 2016/11/23 06:35:25

Re: How to restart KDE session without machine reboot

Post by shivaninov10 » 2017/09/22 08:53:58

Thanks guys .

Gdm service restart does a complete start of the application like 2 seconds it sinks the output and reloads the entire OS, i just wanted a workspace manager restart.

killall plasma-desktop acts weirdly doing nothing on the screen :(

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: How to restart KDE session without machine reboot

Post by hunter86_bg » 2017/09/22 14:08:05

Maybe you should try the following Ubuntu Solution. It seems that it worked for OpenSuse, maybe it will work in CentOS also.

shivaninov10
Posts: 20
Joined: 2016/11/23 06:35:25

Re: How to restart KDE session without machine reboot

Post by shivaninov10 » 2017/09/25 11:19:31

Does any one know when i click on the apply of the system setting, what exactly or which service is invoked or which config file is invoked?

This way i can atleast find a way to integrate the same .

Post Reply