LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 11-19-2012, 08:01 AM   #1
TYRANISTAR
LQ Newbie
 
Registered: Nov 2012
Posts: 4

Rep: Reputation: Disabled
Can't find /var/lib/gdm3/.ICE authority file


Hello everyone,

I am working on a debian server for which I have setup the Gnome Display Manager for local and remote access. After a huge mistake where I did chown -R for a user in directory / (don't ask why...) I couldn't access the server remotely. I fixed that by doing chown -R root / and now this is fixed. Nevertheless since I did that mistake I cannot access the server through the Display Manager and I get the following errors:

Could not update ICEauthority file /var/lib/gdm3/.ICE authority

and

There is a problem with the configuration server. (/usr/lib/libgconf2-4/gconf-sanity-check-2 exited with status-256)

According to the many posts in this and other forums I have to delete the /var/lib/gdm3/.ICEauthority file along with some others. Although when I go in the directory those files are nowhere to be found:

root@zeus:/var/lib/gdm3# ls -la
total 16
drwxr-x--- 3 root root 4096 Nov 14 17:48 .
drw-rw-r-- 62 root root 4096 Nov 14 17:47 ..
drwxr-xr-x 2 root root 4096 Nov 19 13:51 .gconf.mandatory
-rw-r--r-- 1 root root 138 Nov 19 13:51 .gconf.path

As suggested I changed the owner of the directory to root but still nothing.

Can anyone help me please?

Thank you,
 
Old 11-20-2012, 10:12 AM   #2
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,772

Rep: Reputation: 193Reputation: 193
Quote:
doing chown -R root /
You made everything on the machine owned by root. Users home, some logs, and other config files are not suppose to be owned by root.
Quote:
I cannot access the server through the Display Manager
I assume that you are doing that as user?
Quote:
Could not update ICEauthority file /var/lib/gdm3/.ICE authority
Because the file is owned by root, or does not exist.

Usually root logons with ssh and xserver are disabled by default.
Are you trying to access the server as user or root?
Is there a ~/.ICEauthority? Change ownership back to user.
 
Old 11-21-2012, 02:55 AM   #3
TYRANISTAR
LQ Newbie
 
Registered: Nov 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
You made everything on the machine owned by root. Users home, some logs, and other config files are not suppose to be owned by root.
I did so yes. Then I changed the ownership of the each user's home directory (/home/someuser) to the corresponding user. Don't know if I forgot someone though since there are many users on this server.


Quote:
I assume that you are doing that as user?
When users try to log in remotely they get these messages. But also I have installed the GNOME display manager (gdm3) on the server itself so when it reboots I can see these messages on the local machine before it goes to the front page prompting for user login.

Quote:
Because the file is owned by root, or does not exist.

Usually root logons with ssh and xserver are disabled by default.
Are you trying to access the server as user or root?
Is there a ~/.ICEauthority? Change ownership back to user.
The file does not exist in the directory /var/lib/gdm3/. Although there is one in each /home/someuser/ directory. In the specific server we have allowed root access via ssh but I login as user and sudo -i to become root. The .ICEauthority file in the /home/someuser directory of each user has the ownership of the specified user with permissions -rw-------.


What am I missing?
 
Old 11-21-2012, 09:30 AM   #4
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,772

Rep: Reputation: 193Reputation: 193
You look like you have covered it.
Just a few thoughts.
Look at the permissions on /tmp /var and ~
Then search for answers to the error you get.
Good luck.

http://ubuntuforums.org/showthread.php?t=1333683
https://bugs.launchpad.net/ubuntu/+s...nf/+bug/577545
http://thingsyoudontlearnatschool.bl...blem-with.html
http://www.linuxtrance.com/index.php...on-server.html
http://www.linuxquestions.org/questi...-error-799626/
 
Old 11-21-2012, 09:35 AM   #5
TYRANISTAR
LQ Newbie
 
Registered: Nov 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by teckk View Post
Thank you for your help. I will check them out. I just can't figure out why the .ICEauthority cannot be created after the restart. If I figure this out I'll be done. I'm missing something that has to do with permissions.
 
Old 11-22-2012, 08:30 AM   #6
TYRANISTAR
LQ Newbie
 
Registered: Nov 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
None of the solutions work... Anyone else with any ideas? My var/lib/gdm3 directory is totally empty btw...
the .ICEauthority files for each user and root have permissions:
-rw-r--r--

Last edited by TYRANISTAR; 11-22-2012 at 08:32 AM.
 
  


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
Information about the /var/lib/php/session file kaplan71 Linux - Software 1 07-19-2010 12:53 PM
No write access ICE authority dolphans1 Mandriva 5 07-24-2009 03:34 PM
file /var/lib/named/var/named/reverse/named.zero failed: file not found Toadman Linux - Software 15 03-18-2009 08:01 PM
Unable to read ICE authority file ironfistchamp Ubuntu 2 04-19-2006 04:03 PM
CDOPClient / ICE Authority Error when booting as user Nalorin Linux - Software 1 03-30-2005 08:54 PM


All times are GMT -5. The time now is 06:18 PM.

Main Menu
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