After changing the gtk-theme in the GNOME Tweak Tool, I was taken out of the session to the login screen and now I cannot log in. I can only log in using the guest account.

So in the grub menu I selected the recovery mode and in the resulting menu I selected root-drop to root shell prompt. Once there I did a couple of things I've found in several pages and in the forums.

  1. gsettings reset org.gnome.desktop.interface gtk-theme

    This is what I got:

    **(process:642):WARNING**: Command line 'dbus-launch –autolunch=4438d024dd45ef7fb2d3f4ab0000000f –binary-syntax --close-stderr' exited with non-zero exit status 1: Autolaunch error: X11 initialization failed.\n

    and nothing changes.

  2. gconftool-2 --type=string -s /desktop/gnome/interface/gtk_theme Radiance

    With this I was trying to change the gtk theme to the Radiance one. No strange message this time but it did not work either. I still cannot log in.

Any ideas please?

  • It doesnt look like the theme has done anything to grub though – Vibhav Pant Mar 25 '12 at 10:09
  • No, it simply takes me out of my session and does not allow me to log in ubuntu again – sssuizaaa Mar 25 '12 at 12:40

OK, I finally found how to solve this. In the login screen I did Ctrl+Alt+F1 and then I created a new user. Login with that new user and went to /usr/share/themes and deleted the themes I had just installed. Then I could login again with my original user.

Hope this helps to someone.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.