Centos 7 how to stop start gnome desktop from command line. From the tty terminal, write gnomerestart to restart your gnome shell session. In case the whole gnomeshell got frozen there is a way how to restart it from the terminal without restarting the whole x window. In case that gnome shell starts to go slow you might want to replacing restart it. In this case, you want restart, which restarts the shell, not the computer. I have remote server running under centos 7, usually its enough to operate using ssh cli but sometimes i need a graphic access, so i installed gnome desktop there too. Enter the following command to restart the gnome desktop environment. In addition to regular commands, gnome shell supports a couple of custom commands to control the behavior of the desktop environment. You can press altf2 iirc to get a window where you can type a command. Ever since i used gnome shell extensions, ive been feeling the need to restart the shell from the console, because its bugs sometimes. If its crashed too much for that to work, use terdons answer. Especially because gnome shell eats cpu when i dont need gnome.
1333 1442 546 1066 1061 1384 1233 1306 1106 897 629 858 506 859 429 187 1322 566 34 303 833 75 754 93 554 27 1246 207 225 1499 293 501 1125 606 438 987 595 392 1330 960 1214 127 214 735 1477 698 1131 1062 553