Friday, April 19, 2024
67
rated 0 times [  67] [ 0]  / answers: 1 / hits: 219602  / 2 Years ago, sun, october 2, 2022, 11:25:10

How to restart window manager so that styles (or whatever) are restored?


After doing /etc/init.d/networking stop they feel completely broken.


I have reinstalled lightdm.
I have restarted lightdm.
Nothing seems to help.


Is there a command line tool to reconfigure lightdm with?


More From » window-manager

 Answers
2

You may need to restart your display manager to fix your problem.



11.04 and earlier.



sudo service gdm restart


Ubuntu 11.10 and newer.



sudo service lightdm restart


lightdm replaces gdm in Ubuntu 11.10



Ubuntu 15.04 and newer.



sudo service sddm restart


While restarting lightdm restarts the entire display manager, you may be able to resolve the issue by restarting unity or compiz (Unity is a compiz plugin).



Restarting Unity (nohup setsid unity OR nohup unity --restart on the CLI OR Alt+F2 and type unity) restarts the Unity shell.



If that doesn't work, restart compiz with nohup compiz --replace. You may need to restart unity again after restarting compiz.



Restarting lightdm restarts the entire display manager which is most likely to work but it will also close your running applications. Which you need to do depends on how broken your session is. If you can just restart Unity or Compiz, do that. If that doesn't work, restart lightdm.



The following wiki article has additional information about fixing LightDM issues:



https://wiki.ubuntu.com/LightDM


[#43265] Sunday, October 2, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
terneive

Total Points: 329
Total Questions: 117
Total Answers: 105

Location: Denmark
Member since Tue, Oct 18, 2022
2 Years ago
;