Insights Blog
-- Browse All Articles --
Physics Articles
Physics Tutorials
Physics Guides
Physics FAQ
Math Articles
Math Tutorials
Math Guides
Math FAQ
Education Articles
Education Guides
Bio/Chem Articles
Technology Guides
Computer Science Tutorials
Forums
Chemistry
Biology and Medical
Earth Sciences
Computer Science
Computing and Technology
DIY Projects
Trending
Featured Threads
Log in
Register
What's new
Search
Search
Search titles only
By:
Chemistry
Biology and Medical
Earth Sciences
Computer Science
Computing and Technology
DIY Projects
Menu
Log in
Register
Navigation
More options
Contact us
Close Menu
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Forums
Other Sciences
Computing and Technology
Restarting GNOME shell when it has frozen, without killing applications
Reply to thread
Message
[QUOTE="Wrichik Basu, post: 6583198, member: 623143"] Ubuntu has given me a far more stable working system compared to Windows and its buggy updates. But, once in a while, I do find GNOME becoming slow or even crashing. If I find that the GUI is becoming unresponsive, I promptly restart GNOME using [ICODE]Alt[/ICODE] + [ICODE]F2[/ICODE] → [ICODE]r[/ICODE] → [ICODE]Enter[/ICODE] This does the job most of the time, and GNOME works properly again. But sometimes, the GUI becomes unresponsive such that the above does not work. The only option I have got is to use [ICODE]Alt[/ICODE] + [ICODE]SysRq[/ICODE] + [ICODE]REISUB[/ICODE]. But this will reboot the system, and I will have to re-open all applications and lose unsaved work, if any. Note that even when the shell is frozen, I can still go to a TTY using [ICODE]Ctrl[/ICODE] + [ICODE]Alt[/ICODE] + [ICODE]Fn[/ICODE]. Given that Linux has given its users the freedom to use different desktop environments, I guess that the underlying OS is not tightly "tied" with the desktop GUI, when compared to Windows. This rouses my question: is it possible to restart GNOME from a TTY command-line, without killing the running applications? Upon searching the net, I found [URL='https://askubuntu.com/q/455301/1169351']this question[/URL] on AskUbuntu. The [URL='https://askubuntu.com/a/496999/1169351']most upvoted answer[/URL] states one should use [ICODE]killall -3 gnome-shell[/ICODE]. Some comments say this works. I [I]haven't[/I] tried it yet, but I am a bit sceptical: [ICODE]-3[/ICODE] corresponds to [ICODE]SIGQUIT[/ICODE], which, according to [URL='https://unix.stackexchange.com/a/251267/470769']this[/URL], is the harshest of ignorable kill signals, and the process receiving the signal is expected to terminate itself as soon as possible without saving its state. So, the process is not expected to restart itself. The first comment under the above answer on AskUbuntu says that [ICODE]-3[/ICODE] should be replaced by [ICODE]-1[/ICODE] ([ICODE]SIGHUP[/ICODE]), but that too is a kill signal and not a restart signal. There are other answers to the question on AskUbuntu, and according to the comments, most don't (or occasionally) work. Is there any other way that is known to work, and will not kill the running applications but restart GNOME shell? [/QUOTE]
Insert quotes…
Post reply
Forums
Other Sciences
Computing and Technology
Restarting GNOME shell when it has frozen, without killing applications
Back
Top