LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 03-16-2009, 01:53 AM   #1
piyush.popli
LQ Newbie
 
Registered: Feb 2009
Location: New Delhi
Distribution: fedora 10, ubuntu 8.10
Posts: 12

Rep: Reputation: 0
Problem with /var/lib/gdm/ICEauthority file


Hi,
Long story short... I basically changed the folder permissions on the /var folder with the the chmod command.... did "chmod -R piyush /var"
I did a system update.. it asked me to restart... Did that and now I'm not able to login... As soon as X starts, it gives me and error message.. something like "Could not update file /var/lib/gdm/ICEauthority"... so I googled it and found that it had something to do with setting the file permissions... I reverted back the permissions on the /var folder.. but even then I get the same message... (I am able to login with runlevel 3)..
Got really frustrated and deleted the /var/lib/gdm/ICEauthority file.. and I still get the same message... Is reinstalling the only way or is there still some chance for me to rescue this installation...

Thanks
Piyush
 
Old 03-16-2009, 03:48 AM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 13,536

Rep: Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808
well you will not be doing that again . it might be a se error also
-- or --
are you sure it was " chmod" the command you gave looks more like it was " chown "
this in not correct
chmod -R piyush /var
this would be correct
chown -R piyush /var


----------
try
Code:
su -
chown -R root:root /var
 
Old 03-16-2009, 08:30 AM   #3
piyush.popli
LQ Newbie
 
Registered: Feb 2009
Location: New Delhi
Distribution: fedora 10, ubuntu 8.10
Posts: 12

Original Poster
Rep: Reputation: 0
I'm sorry for the carelessness.. yes you're right I used chown... oh and one more thing... I used chgrp too on the same folder...
Ps: have tried your solution.. doesn't seem to work..
 
Old 03-16-2009, 01:08 PM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 13,536

Rep: Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808Reputation: 1808
well if you used change owner & change group on /var then the " chown -R root:root /var" would have changed both the user and group back to root .
have you tryed this
Code:
su -
resotercon -v /var
-- or --
restorecon -v '/'
 
Old 03-17-2009, 02:13 AM   #5
piyush.popli
LQ Newbie
 
Registered: Feb 2009
Location: New Delhi
Distribution: fedora 10, ubuntu 8.10
Posts: 12

Original Poster
Rep: Reputation: 0
@above
Thanks a lot buddy... but I just gave up... have reinstalled...
 
Old 04-16-2010, 02:46 PM   #6
vinayakgit
LQ Newbie
 
Registered: Apr 2010
Posts: 1

Rep: Reputation: 0
Talking Quick fix

sudo chown -R gdm: /var/lib/gdm

This fixed the issue for me. Hope this will help some one

cheers!
 
Old 09-19-2010, 07:08 AM   #7
Pratap Ghanta
LQ Newbie
 
Registered: Sep 2010
Posts: 1

Rep: Reputation: 0
The side effect

@above

First of all thanks to the members involved in above discussion.
I logged into my system in 'single' user mode and executed the code
chown -R gdm: /var/lib/gdm
But, that ended up with a problem not responding to my keyboard and
mouse ineractions.Moreover, no user account is displayed except
'other'.Can anyone of you help me solving ti further.

Thanks in advance,
 
  


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
file /var/lib/named/var/named/reverse/named.zero failed: file not found Toadman Linux - Software 15 03-18-2009 08:01 PM
GDM doesn't work: Authdir /usr/var/gdm does not exist jimhap Linux - Newbie 11 06-08-2007 05:22 PM
Gentoo: /var/lib/portage/world File Question unreal128 Linux - Distributions 6 09-27-2006 07:28 PM
Moving /var/adm and /var/lib - why does it hurt? J_Szucs Linux - General 1 09-15-2004 07:46 PM
gdm can't read .ICEAuthority thorax Linux - Software 2 07-12-2004 10:23 AM


All times are GMT -5. The time now is 09:51 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration