Differences between revisions 1 and 2
Revision 1 as of 2007-06-24 05:51:24
Size: 1711
Editor: anonymous
Comment:
Revision 2 as of 2007-06-24 05:54:12
Size: 1709
Editor: anonymous
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
Line 4: Line 3:
Line 17: Line 15:
total 152
drwx--x--x 20 abc abc 1024 Jun 15 21:00 .
drwxr-xr-x 4 root root 1024 Jun 12 21:51 ..
drwx------ 2 abc abc 1024 Jun 13 20:35 .AbiSuite
-rw------- 1 abc abc 183 Jun 13 22:14 .ICEauthority
drwxr-xr-x 2 abc abc 1024 Jun 12 21:51 .LinNeighborhood
......and so on.....
{{{ total 152 drwx--x--x 20 mvr mvr 1024 Jun 15 21:00 . drwxr-xr-x 4 root root 1024 Jun 12 21:51 .. drwx------ 2 mvr mvr 1024 Jun 13 20:35 .AbiSuite -rw------- 1 mvr mvr 183 Jun 13 22:14 .ICEauthority drwxr-xr-x 2 mvr mvr 1024 Jun 12 21:51 .LinNeighborhood ......and so on.....}}}
Line 25: Line 17:
When you create a new user, they are usually added to a group, typically the same name as the user. In the above case, the new user name is abc and the two columns show the ownership of each file or directory, ie user abc belonging to group abc owns .ICEauthority.

If you have an .ICEauthority problem, the ownership will be "root root". The chown command will allow you to change this. Hence if you type:
When you create a new user, they are usually added to a group, typically the same name as the user. In the above case, the new user name is abc and the two columns show the ownership of each file or directory, ie user abc belonging to group abc owns .ICEauthority.If you have an .ICEauthority problem, the ownership will be "root root". The chown command will allow you to change this. Hence if you type:
Line 41: Line 31:
and if all is fine, X should fire up.  and if all is fine, X should fire up.

X does not start - .ICEauthority file problem

Outline of how to correct problems with .ICEauthority when trying to start X

You may encounter this problem if you set up the sudo function as outlined elsewhere in these Wiki pages.

You only need to carry this out if startx fails under the new user's account and you get an error message about a file called .ICEauthority. The first thing you need to do make sure you are logged in as root (prompt should show #). Then change to the home directory of the user you just created, ie:

# cd /home/user

Do a directory listing using the ls command to see the ownership of each directory as follows:

# ls -la

Output will be something like:

 total 152  drwx--x--x  20 mvr  mvr   1024 Jun 15 21:00 .  drwxr-xr-x   4 root root  1024 Jun 12 21:51 ..  drwx------   2 mvr  mvr   1024 Jun 13 20:35 .AbiSuite  -rw-------   1 mvr  mvr    183 Jun 13 22:14 .ICEauthority  drwxr-xr-x   2 mvr  mvr   1024 Jun 12 21:51 .LinNeighborhood  ......and so on.....

When you create a new user, they are usually added to a group, typically the same name as the user. In the above case, the new user name is abc and the two columns show the ownership of each file or directory, ie user abc belonging to group abc owns .ICEauthority.If you have an .ICEauthority problem, the ownership will be "root root". The chown command will allow you to change this. Hence if you type:

# chown username:usergroup .ICEauthority

This will change the ownership to the user you just created.

Now log out as root:

# logout

and then log in again as the new user. You should have a $ prompt. Type startx:

$ startx

and if all is fine, X should fire up.

DyneICE (last edited 2008-06-26 09:57:52 by anonymous)