LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-14-2011, 12:07 PM   #1
garyg007
Member
 
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279
Blog Entries: 1

Rep: Reputation: 31
How to recover lost gnome desktop


I was trying to clean up my desktop and must have done something stupid. What happened is that everything on the desktop, except for the background, went away. The stuff is still all there - but no desktop.

Everything that was on the desktop is accessible using "twm".
Also, running "nautilus" from a command line, will allow me to open a folder and will also display my "lost" desktop until I close the terminal window - then every thing closes. I created another user and an initial gnome desktop is there for that user.

What do I need to do to get my desktop back so its there when I log in?


The OS is Debian/Squeeze-stable
The desktop is gnome.

Last edited by garyg007; 11-14-2011 at 12:10 PM. Reason: Forgot to give some very important info:
 
Old 11-15-2011, 05:35 AM   #2
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
I haven't used gnome in well over a year, maybe more, so my memory is fuzzy as to where it keeps all of it's configuration. Have a look in ~/.config/ for configuration files relating to gnome, gnome panel, nautilus etc. If you want to revert back to the "vanilla" state, you can delete those (I suggest you move them to back up files rather than deleting them outright), but you will have to kill the X server first.
 
Old 11-18-2011, 04:01 PM   #3
garyg007
Member
 
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279

Original Poster
Blog Entries: 1

Rep: Reputation: 31
Thanks, Caravel, for the comments. Unfortunately, I had already re-installed/removed/installed the following:
Quote:
gconf2-common
gconf2
gconf-defaults-service
gdm3
gnome-accessibility
gnome-accessibility-themes
gnome-applets-data
gnome-applets
gnome-core
gnome-desktop-environment
gnome-session-common
gnome-session
gnome-themes-extras
gnome-themes
gnome-themes-more
gtk2-engines
xorg
That did not solve the problem; however, after that, I noticed that if, after boot-up, I did 'ctl-alt-f2', signed in as 'userid', shutdown gdm3, then entered 'startx, the majority of my pre-problem desktop was back and usable until I re-booted the system
then I had to repeat the same commands.

If anyone has any ideas what is going on now and how to correct it I would, I would be eternally greatfull.
 
Old 11-18-2011, 08:23 PM   #4
Hungry ghost
Senior Member
 
Registered: Dec 2004
Posts: 1,222

Rep: Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667Reputation: 667
What I do when I have problems like this is to start Gnome without any previous configuration. To do this, log out to GDM, then log into a virtual console and rename .config, .gnome2 and .gnome2_private to .config-bak, .gnome2-bak and .gnome2_private-bak:

Code:
mv .config .config-bak
mv .gnome2 .gnome2-bak
mv .gnome2_private .gnome2_private-bak
If it's only a configuration issue -as it seems to be-, it should work.

EDIT: Forgot to say, if this works, you will start Gnome from scratch, and after you've set everything up, you can delete the *-bak directories you renamed with the commands above.

Regards.

Last edited by Hungry ghost; 11-18-2011 at 08:24 PM.
 
1 members found this post helpful.
Old 11-18-2011, 10:44 PM   #5
garyg007
Member
 
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279

Original Poster
Blog Entries: 1

Rep: Reputation: 31
odiseo77,
Thank you for the suggestion; I'll have a go at it as soon as I get the system backed up.

Gary
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS - lost GNOME desktop environment sburnay Red Hat 3 09-14-2011 06:14 AM
Need to recover Gnome desktop itsnew2me Linux - Desktop 3 02-05-2007 08:59 PM
Yike! Lost Gnome Desktop - Need Help! jimc52 Linux - General 1 12-02-2006 11:51 PM
Lost my Trash Can from Gnome Desktop h1tman Slackware 3 07-28-2004 10:21 PM
Lost Gnome (1.4) desktop Johng Linux - Distributions 5 08-15-2002 12:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration