When you use drakdm to change the DM (for instance, KDM to SDDM, or vice versa), it says it will immediately restart the prefdm service, which will log you out. In Mageia 4, it does. In current Cauldron, it has no immediate effect, and even if you log out, the DM has not changed. Once you reboot, the change does take effect (I guess if you restart the prefdm service manually it would too). Reproducible: Steps to Reproduce:
CC: (none) => doktor5000
Try this it's from neoclust wiki how to enable sddm. systemctl disable prefdm.service && systemctl enable sddm.service http://mageia.nicolaslecureuil.fr/
CC: (none) => ozkyster
That will not help in restarting the currently running DM. drakdm would need to be amended for the required logic to select between prefdm or and specific other dm, and restart them. Apart from that, it would be systemctl restart prefdm although that's not a graceful logout, but a hard restart.
Yes you are right i tested it too and it will not logout and change to sddm from kdm but restart it does it.
Colin, can you adapt perl-install/standalone/drakedm to the death of the dm service?
CC: (none) => mageia
(In reply to Thierry Vignaud from comment #4) > Colin, can you adapt perl-install/standalone/drakedm to the death of the dm > service? I thought I had in 8598eb09637c23d2f21d4807d30c691b5cb17dbd (note that display-manager.service is just an alias for prefdm.service so either should be fine to use in a restart or status command). Personally, on my machine, I've gone off the beaten track and started using per-dm service files (gdm.service ssdm.service etc.) rather than the combined prefdm magic thing that reads sysconfig file and uses lookupdm stuff, but for normal installs, this should still work. No idea why it wouldn't work. Can one run "systemctl restart display-manager.service" in a shell and report what happens? If that does not work, does "systemctl restart prefdm.service" do the necessary? Is /etc/sysconfig/desktop update correctly? No idea why it wouldn't work unless you have a stray symlink to display-manager.service somewhere in /etc/ overriding the one shipped currently with rpm.
Actually this is working now, it was fixed some time since I reported it. Now, when it asks you if you really want to restart dm, you're immediately kicked out of X (it doesn't even gracefully log out, which would be preferable if possible) and it starts the selected DM.
Status: NEW => RESOLVEDResolution: (none) => FIXED