How to restart window manager so that styles (or whatever) are restored?
After doing /etc/init.d/networking stop they feel completely broken.
|
How to restart window manager so that styles (or whatever) are restored? After doing |
||||
|
You may need to restart your display manager to fix your problem. Also the following no longer works in 11.10:
In Ubuntu 11.10 onward, you need to use lightdm:
lightdm replaces gdm in Ubuntu 11.10 Restarting Unity ('setsid unity' OR 'unity --restart' on the CLI OR Alt+F2 and type 'unity') restarts the Unity shell, while restarting lightdm restarts the entire display manager. Which you need to do depends on how broken your session is. If you can just restart Unity, do that. If that doesn't work, restart lightdm. The following wiki article has additional information about fixing LightDM issues: |
|||
|
|
|
Press ALT + F2 and type "unity", then press enter (this is the same as running "unity --replace"). |
|||||
|
|
You should type: The
In case you have installed another display manager on your (K/X/L)Ubuntu you should restart the one you're using e.g. if you have installed KDE on Ubuntu (and it's the one you're using) you should restart kdm not lighdm. In case you are not sure what to restart see the files in /etc/init.d/ and see if there is a file with a name that contains the |
||||
|
|
|
Try the following:
If that doesn't work, try restarting X. Note that this will crash everything:
|
|||||||
|
|
There are few methods to restart X. If everything froze for example, you can kill it by pressing Clt+PrtScr+K. Or you can restart it from terminal, as described in previous answers. More details on how to Restart X in Ubuntu. |
||||
|
|
|
If everything freezes, another place you might want to restart lightdm from is from a tty:
|
|||
|
|
sudo service networking stop– nitstorm Sep 30 '11 at 17:11sudo stop networking. – Eliah Kagan Jul 6 '12 at 17:58