Score:0

Command line to restart Gnome display manger

tc flag

It happens to me from time to time on Ubuntu 20.04. The screen freeze and nothing seems to work. keyboard combinations like Alt-F2 , Ctrl+Alt+F4 are not responding. logging via ssh from another machine works fine and using htop I do not see any process that is high in RAM and/or CPU usage. What should I do to restart the display manager (gnome) without rebooting? Thank you

starkus avatar
de flag
`sudo systemctl restart gdm.service` if you are using systemd.
tc flag
I tried @starkus suggestion. I was logged out and all applications were closed. I do not know if this should happen. Is there a way of refreshing the display with out logging out. Thank you
starkus avatar
de flag
ALT+F2 and `r`, but that's not what you are looking for I guess.
ph flag
You may be interested by these answers: https://askubuntu.com/questions/100226/how-to-restart-gnome-shell-from-command-line
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.