My computer was working fine earlier today. Then all of a sudden one of my monitors went out. I tried to open settings and it failed to open. So I ran it through the terminal and got this:
Code:
sudo gnome-control-center
error: XDG_RUNTIME_DIR not set in the environment.
**
ERROR:../shell/cc-shell-model.c:458:cc_shell_model_set_panel_visibility: assertion failed: (valid)
Bail out! ERROR:../shell/cc-shell-model.c:458:cc_shell_model_set_panel_visibility: assertion failed: (valid)
Aborted
So then I just restarted my computer. When I did that it booted but just sat on the Ubuntu loading screen and spun forever. So I restarted again with Advanced Options and went into recovery mode. And selected to restore damaged packages. And seemed to work. Was able to boot into Ubuntu, but Settings still won't launch.
I have tried to uninstall and reinstall gnome-control-center and it leads to the same error. And also, when I reboot again, it is the same recycle of spinning, then needing to restore damaged packages in order for me to boot in.
Please help. This is on Ubuntu 19.10
Bookmarks