LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 12: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, 02:48 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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, 07: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, 12:08 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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, 01: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, 01: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, 06: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



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

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

All times are GMT -5. The time now is 02:30 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
Open Source Consulting | Domain Registration