LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-22-2011, 02:51 PM   #1
saahil
LQ Newbie
 
Registered: Oct 2011
Posts: 3

Rep: Reputation: 0
GNOME desktop is disabled


I had few issues with my GNOME so I reinstalled all the gnome packages using

Code:
#yum -y install gnome*
but since I did that after logging in to GUI in GNOME I see nothing on my desktop and nor my right click of mouse works on it.

While from CLI I can get into desktop but I am unable to create anything as it returns with a error

Code:
GNOME desktop disabled
can anyone help me with this
 
Old 10-23-2011, 08:57 AM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
When you ran:

Code:
yum -y install gnome*
You asked the system to install any packages that start with 'gnome' that you don't already have installed. No software was re-installed. What you wanted to do was:

Code:
yum reinstall gnome*
What you need to do to correct is, preferably from runlevel 3 (no X):

Code:
yum remove gnome*
yum groupinstall "GNOME Desktop Environment"
In general, if you have a problem after logging in, it's a configuration issue on your userid. You can confirm this by adding a new userid, and logging into that. If everything works on the new userid, you just need to remove the customization on the broken userid:

Code:
rm -rf .gconf .gconfd .gnome .gnome2 .gnome2_private .config .local
Then logout, login. That will restore you to a pristine login configuration

Last edited by macemoneta; 10-23-2011 at 08:58 AM.
 
Old 10-23-2011, 09:18 AM   #3
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
Quote:
Originally Posted by macemoneta View Post
rm -rf .config .local
That will erase a lot of non-GNOME stuff. The OP said he just had issues with GNOME.
 
Old 10-23-2011, 09:27 AM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
I've seen .local customization cause desktop initialization issues. Bad autostart .desktop files, circular symlinks, shell extensions, corrupted or invalid icons, etc.
 
Old 10-23-2011, 07:56 PM   #5
DaneM
Member
 
Registered: Oct 2003
Location: Chico, CA, USA
Distribution: Linux Mint
Posts: 865

Rep: Reputation: 119Reputation: 119
Don't delete; move

Might I suggest that the Original Poster move the old .local and .config folders to another location, so that another set will be generated, but the user can revert to the old version as necessary?

Do this instead of the "rm" command:
Code:
mv ~/.local ~/.local.old
mv ~/.config ~/.config.old
This will make it so Gnome can't find the old folders, but they will be available to go back to if you need to use the old settings for any reason.

If you need to revert to the older versions (and delete the new versions), do this:
Code:
rm -vfr ~/.local ~/.config
mv ~/.local.old ~/.local
mv ~/.config.old ~/.config
Just make sure you ONLY do this set of commands AFTER you've already tried the first set I gave you; otherwise, you could delete the old configuration, instead of restoring it from a backup.

--Dane

Edit: if you follow the (good) ideas of the above posters, but wish to keep the old configurations for the other folders (.gnome, and all), then I suggest you repeat the "mv" commands, above, for each folder you wish to back-up and replace. To restore, just add their names (after a "~/" for good measure) to the end of the "rm" command, above, separated with spaces, like the ones already listed; then "mv" them back with "mv ~/.folder.old ~/.folder". Please note that you must be using a command prompt as the user whose Gnome is messed-up (and not root) for any of this to work.

Last edited by DaneM; 10-23-2011 at 08:01 PM. Reason: I just noticed that other directories were mentioned for deletion, above.
 
Old 10-24-2011, 01:06 AM   #6
saahil
LQ Newbie
 
Registered: Oct 2011
Posts: 3

Original Poster
Rep: Reputation: 0
thanks all for the reply

I tried removing all the files you mentioned

but its still not working even after the reboot

Even I f I login with any other user I face the same issue
The desktop seems to be disabled

The KDE is working fine.
 
Old 10-24-2011, 06:53 AM   #7
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
Were the any errors from the groupinstall for "GNOME Desktop Environment"?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Disabled too much with Desktop effects leupi Ubuntu 5 06-16-2011 09:07 AM
SSH shell disabled + Remote desktop NX (or another remote desktop software) zoltan32 Linux - Software 2 04-12-2011 04:36 AM
gnome desktop effect disabled after reboot 7mza Linux - Newbie 2 05-13-2010 02:46 PM
window id, gnome-like desktop when show icons disabled (KDE, 2005 LE) + root-tail Emmanuel_uk Mandriva 1 11-16-2005 01:27 PM
configure your desktop disabled apaladon Mandriva 10 10-10-2004 11:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration