I was using compiz config and now I can't access anything. What can I do to fix this? I was thinking restarting the configuration to factory configuration. Is it possible to enter Ubuntu using terminal?
-
If you log into the console (CTRL-ALT-F1) you can type `sudo reboot` to reboot your system, but please edit to clarify your question – Daniel Oct 06 '15 at 22:55
-
Yes, I mean, restarting , rebooting the system configuration. – Michel Ortega Oct 06 '15 at 22:57
-
Ah, so you want to know how to reboot? – Daniel Oct 06 '15 at 22:57
-
Yes, but without loosing the data. – Michel Ortega Oct 06 '15 at 22:57
-
`sudo reboot` will reboot the system (power off and power on), but if you want to restore configurations, you need to restore from a backup. – Daniel Oct 06 '15 at 22:58
-
Alternatively, you can try reinstalling from the DVD/USB and just not formatting the `/` partition – Daniel Oct 06 '15 at 22:59
-
I don't have one. Is there a way to undo all the configuration that I made and go back to the factory configuration? – Michel Ortega Oct 06 '15 at 22:59
-
To my knowledge, not without reinstalling. – Daniel Oct 06 '15 at 23:00
2 Answers
Edit: Since you're unable to access the GUI desktop / are stuck in a login loop, and following up on David Cole's later post, you can remedy the Compviz misconfiguration by first accessing a Terminal at the login screen by holding Ctrl + Alt + F1 (alternatively, Ctrl + Alt + F2 , or + F3 ).
Once in Terminal issue the following command to reset Compviz:
dconf reset -f /org/compiz/
Now, reboot your system by typing:
sudo reboot now
This should have returned Compviz to its default, post-install state.
Finally, proceed with David Cole's above mentioned instructions to set the default display manager.
Reference: How-To-Geek
- 72
- 6
-
I can go beyond the users screen. I type my password, it enters but the logs me out. – Michel Ortega Oct 06 '15 at 23:31
-
How long do you remain logged in for before automatically being logged out? What exactly does the desktop look like for those brief moments? I recommend reviewing some of the contributions in a [similar](https://askubuntu.com/questions/274088/xorg-crashing-ubuntu-automatic-logout-back-to-login-screen) Ask Ubuntu post. In particular, see if you a Guest account is available from the login window. If so, login with that, open a terminal window, and create a new user with: `sudo adduser
sudo`. Assign a password and try accessing and repairing the system that way. – mheadroom Oct 06 '15 at 23:52 -
-
I have already tried some things like adding a new user...thanks! – Michel Ortega Oct 07 '15 at 01:25
-
Note: this fix will work only after completing the steps outlined in mheadroom's post.
From your login screen press and hold Ctrl + Alt + F1 to load a non-graphical terminal. If that key combination doesn't work, try Ctrl + Alt + F3 instead.
Once in terminal type:
sudo apt-get install gdm && sudo dpkg-reconfigure gdm
Then select gdm and hit Enter . Now:
sudo shutdown now -r
And wait for your system to reboot. Bam! You're done!
-
C'MON MAN! Today I lost a full day of work, THANKS TO YOU now my desktop is back!!! – Michel Ortega Oct 07 '15 at 01:38
-
...just two more questions... :) I have Ubuntu 14.04 LTS, how can I go back to the original version? And also, you're a PRO, where do you work? THANKS THANKS! – Michel Ortega Oct 07 '15 at 01:40