0

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?

8
  • 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
    Commented Oct 6, 2015 at 22:55
  • Yes, I mean, restarting , rebooting the system configuration. Commented Oct 6, 2015 at 22:57
  • Ah, so you want to know how to reboot?
    – Daniel
    Commented Oct 6, 2015 at 22:57
  • Yes, but without loosing the data. Commented Oct 6, 2015 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
    Commented Oct 6, 2015 at 22:58

2 Answers 2

1

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

5
  • I can go beyond the users screen. I type my password, it enters but the logs me out. Commented Oct 6, 2015 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 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 <some-new-username> sudo. Assign a password and try accessing and repairing the system that way.
    – mheadroom
    Commented Oct 6, 2015 at 23:52
  • No longer than 10 seconds, it only looks black. Commented Oct 7, 2015 at 1:25
  • I have already tried some things like adding a new user...thanks! Commented Oct 7, 2015 at 1:25
  • @acne I made an updated answer for you.
    – David
    Commented Oct 7, 2015 at 1:28
0

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!

2
  • C'MON MAN! Today I lost a full day of work, THANKS TO YOU now my desktop is back!!! Commented Oct 7, 2015 at 1: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! Commented Oct 7, 2015 at 1:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .