DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
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.
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.
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:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.