12.04 desktop not showing

Asked by Mike Hinchman

Ubuntu 12.04 LTS 64-bit system, AMD dual core, was running NVIDIA proprietary 173 driver.
All worked fine for months, then tried to change appearance and colors of menus, then tried to undo my changes. Now no desktop. My fault.

I can get terminal and tried running in safe mode but got fatal error message. How do I reload the UI from terminal? Don't want to lose my data.

Thanks for your help.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu unity Edit question
Assignee:
No assignee Edit question
Solved by:
N1ck 7h0m4d4k15
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

what is the output of:

sudo lshw -C display; lsb_release -a; uname -a

Thanks

Revision history for this message
Mike Hinchman (mjheh09) said :
#2

Here is what I get:

password for mike:
  *-display
       description: VGA compatible controller
       product: C61 [GeForce 7025 / nForce 630a]
       vendor: NVIDIA Corporation
       physical id: d
       bus info: pci@0000:00:0d.0
       version: a2
       width: 64 bits
       clock: 66MHz
       capabilities: pm msi vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:23 memory:de000000-deffffff memory:c0000000-cfffffff
memory:dd000000-ddffffff memory:dffc0000-dffdffff
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise
Linux elwood 3.2.0-38-generic #61-Ubuntu SMP Tue Feb 19 12:18:21 UTC 2013
x86_64 x86_64 x86_64 GNU/Linux

Thanks,
Mike

On Tue, Feb 26, 2013 at 12:15 PM, actionparsnip <
<email address hidden>> wrote:

> Your question #222908 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/222908
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> what is the output of:
>
> sudo lshw -C display; lsb_release -a; uname -a
>
> Thanks
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/222908
>
> You received this question notification because you asked the question.
>

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#3

Hi ,

you will not lose your data but you will lose ALL the Configurations (even the wallpaper , keyboard layouts .. etc) with the command below

    rm -rf .compiz* .gconf* .config/dconf/ .config/compiz*

Please copy-paste from here . Do not make a mistake.

Above command will reset all the changes you've made and will go the Ubuntu to a primary settings state.

Then you can configure again your program's settings and appearance from scratch.

Hopefully above command will save your installation and will bring your desktop back.

You must reboot for the changes to take effect.

Thank you.

Revision history for this message
Mike Hinchman (mjheh09) said :
#4

Nik,

I did exactly what you said and copied just the line you gave me to a
terminal, ran it and then rebooted. What happened was that the desktop
background (wallpaper) went to the default and the launcher appeared for
about half a second and disappeared.

Tried it again with same result, so still not working.

What now?

Mike

On 02/27/2013 12:46 AM, NikTh wrote:
> Your question #222908 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/222908
>
> Status: Open => Answered
>
> NikTh proposed the following answer:
> Hi ,
>
> you will not lose your data but you will lose ALL the Configurations
> (even the wallpaper , keyboard layouts .. etc) with the command below
>
> rm -rf .compiz* .gconf* .config/dconf/ .config/compiz*
>
> Please copy-paste from here . Do not make a mistake.
>
> Above command will reset all the changes you've made and will go the
> Ubuntu to a primary settings state.
>
> Then you can configure again your program's settings and appearance from
> scratch.
>
> Hopefully above command will save your installation and will bring your
> desktop back.
>
> You must reboot for the changes to take effect.
>
> Thank you.
>

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#5

Try this command

unity --reset

leave it to run for about 1.-2 minutes , and then reboot your system.

Thanks

Revision history for this message
Mike Hinchman (mjheh09) said :
#6

Hi Nik,

Did not make it through reboot. Had desktop until reboot. After reboot
it went away again. I let the command run for about 15 -20 minutes and
this was the output:

mike@elwood:~$ unity --reset
WARNING: Unity currently default profile, so switching to metacity while
resetting the values
Checking if settings need to be migrated ...no
Checking if internal files need to be migrated ...no
Backend : gconf
Integration : true
Profile : unity
Adding plugins
Initializing core options...done
compiz (core) - Warn: failed to receive ConfigureNotify event on 0xe00004

compiz (core) - Warn: failed to receive ConfigureNotify event on 0x2c00005

Initializing composite options...done
Initializing opengl options...done
Initializing decor options...done
Initializing vpswitch options...done
Initializing snap options...done
Initializing mousepoll options...done
Initializing resize options...done
Initializing place options...done
Initializing move options...done
Initializing wall options...done
Initializing grid options...done
Initializing session options...done
Initializing gnomecompat options...done
Initializing animation options...done
Initializing fade options...done
Initializing unitymtgrabhandles options...done
Initializing workarounds options...done
Initializing scale options...done
compiz (expo) - Warn: failed to bind image to texture
Initializing expo options...done
Initializing ezoom options...done

(compiz:2389): GConf-CRITICAL **: gconf_client_add_dir: assertion
`gconf_valid_key (dirname, NULL)' failed
WARN 2013-02-27 08:14:35 unity.favorites FavoriteStoreGSettings.cpp:139
Unable to load GDesktopAppInfo for 'ubiquity-gtkui.desktop'
Initializing unityshell options...done
compiz (core) - Warn: unhandled ConfigureNotify on 0x1a0009e!
compiz (core) - Warn: this should never happen. you should probably file
a bug about this.
compiz (core) - Warn: unhandled ConfigureNotify on 0x1a000a1!
compiz (core) - Warn: this should never happen. you should probably file
a bug about this.
WARN 2013-02-27 08:14:36 unity.libindicator <unknown>:0 Desktop file
'/usr/share/applications/libreoffice-writer.desktop' is using a
deprecated format for its actions that will be dropped soon.
WARN 2013-02-27 08:14:36 unity.libindicator <unknown>:0 Desktop file
'/usr/share/applications/libreoffice-calc.desktop' is using a deprecated
format for its actions that will be dropped soon.
WARN 2013-02-27 08:14:36 unity.libindicator <unknown>:0 Desktop file
'/usr/share/applications/libreoffice-impress.desktop' is using a
deprecated format for its actions that will be dropped soon.
WARN 2013-02-27 08:14:36 unity <unknown>:0 Failed to fetch type: No
such interface `org.ayatana.bamf.window' on object at path
/org/ayatana/bamf/window46137349
Initializing staticswitcher options...done
ERROR 2013-02-27 08:14:36 unity.glib-gobject <unknown>:0 g_object_unref:
assertion `G_IS_OBJECT (object)' failed
Setting Update "main_menu_key"
Setting Update "run_key"
WARN 2013-02-27 08:26:05 unity <unknown>:0 Unable to fetch children: No
such interface `org.ayatana.bamf.view' on object at path
/org/ayatana/bamf/application62801462

ERROR 2013-02-27 08:26:07 unity.glib-gobject <unknown>:0
g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
WARN 2013-02-27 08:33:15 unity <unknown>:0 Unable to fetch children: No
such interface `org.ayatana.bamf.view' on object at path
/org/ayatana/bamf/application62801462

WARN 2013-02-27 08:33:15 unity <unknown>:0 Unable to fetch children: No
such interface `org.ayatana.bamf.view' on object at path
/org/ayatana/bamf/application62801462

WARN 2013-02-27 08:33:15 unity <unknown>:0 Unable to fetch children: No
such interface `org.ayatana.bamf.view' on object at path
/org/ayatana/bamf/application62801462

ERROR 2013-02-27 08:33:17 unity.glib-gobject <unknown>:0
g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed

I stopped it at this point and rebooted since you said one to two
minutes was all that was needed.

Any suggestions?

Mike

On 02/27/2013 08:11 AM, NikTh wrote:
> Your question #222908 on unity in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/unity/+question/222908
>
> Status: Open => Answered
>
> NikTh proposed the following answer:
> Try this command
>
> unity --reset
>
> leave it to run for about 1.-2 minutes , and then reboot your system.
>
> Thanks
>

Revision history for this message
Best N1ck 7h0m4d4k15 (nicktux) said :
#7

Try these commands with and reboot again.

    gconftool --shutdown
    sudo killall -r -I gconf
    sudo killall -r -I dconf
    rm -rf .compiz* .gconf* .config/dconf/ .config/compiz*
    sudo apt-get install --reinstall gsettings-desktop-schemas
    sudo apt-get purge nvidia-*
    sudo rm /etc/X11/xorg.conf
    sudo apt-get install --reinstall libgl1-mesa-dri libgl1-mesa-glx xserver-xorg-video-nouveau
    sudo dpkg-reconfigure xserver-xorg

Please copy-paste from here one by one for more accuracy.

Thanks

Revision history for this message
Mike Hinchman (mjheh09) said :
#8

Thank you Nik. This is all I need. Please consider this answered.

On 02/27/2013 09:21 AM, NikTh wrote:
> Your question #222908 on unity in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/unity/+question/222908
>
> Status: Open => Answered
>
> NikTh proposed the following answer:
> Try these commands with and reboot again.
>
> gconftool --shutdown
> sudo killall -r -I gconf
> sudo killall -r -I dconf
> rm -rf .compiz* .gconf* .config/dconf/ .config/compiz*
> sudo apt-get install --reinstall gsettings-desktop-schemas
> sudo apt-get purge nvidia-*
> sudo rm /etc/X11/xorg.conf
> sudo apt-get install --reinstall libgl1-mesa-dri libgl1-mesa-glx xserver-xorg-video-nouveau
> sudo dpkg-reconfigure xserver-xorg
>
> Please copy-paste from here one by one for more accuracy.
>
> Thanks
>

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#9

Hi,
If the problem solved , please mark the question as solved by clicking on the answer that solved your problem ("This solved my problem" button)

Thank you.

Revision history for this message
Mike Hinchman (mjheh09) said :
#10

Thanks Nik