View previous topic :: View next topic |
Author |
Message |
IvanHoe l33t
Joined: 05 Oct 2002 Posts: 658
|
Posted: Tue Oct 08, 2002 11:22 pm Post subject: xauth: timeout in locking authority file |
|
|
I setup a user (other than root) using the following:
useradd user
passwd user
What else do I need to do to get X to work for this user?
EDIT: BTW, I tried "chmod 1777 /tmp" as root and this didn't seem to help.
EDIT: Changed title from "Users" to better reflect the problem.
- kanuslupus |
|
Back to top |
|
|
_SkeLeToN_ Guru
Joined: 12 Sep 2002 Posts: 506 Location: Montreal,Canada
|
Posted: Wed Oct 09, 2002 2:16 am Post subject: |
|
|
Hum: give some info to help you out...
Do you get any errors when you type startx as your user ?
What wm you will use ?
does your X works as root ???
look in /var/log there is a file called XFree somehting look at it it should give you what failed when you try to start X. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Wed Oct 09, 2002 2:19 am Post subject: |
|
|
Did you use the -m option with useradd to create home directories? _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
IvanHoe l33t
Joined: 05 Oct 2002 Posts: 658
|
Posted: Wed Oct 09, 2002 3:15 am Post subject: |
|
|
The specific error I get is "xauth: timeout in locking authority file /home/ivanhoe/.Xauthority". Then X starts and I get a message box with "Could not open or create the file '/home/user/gconf-test-locking-file'; this indicates that there may be a problem with your configuration, as many programs will need to create files in your home directory. The error was 'Permission denied' (errno = 13).
As per the FAQ, I used "usermod -G users,wheel username". I suspect that this user doesn't have enough permission, but being a total Linux n00b I don't know what groups to set for this user.
BTW, I have Gnome installed and it works fine as root. |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Oct 09, 2002 3:20 am Post subject: |
|
|
What sort of filesystem is /home on? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
IvanHoe l33t
Joined: 05 Oct 2002 Posts: 658
|
Posted: Wed Oct 09, 2002 3:27 am Post subject: |
|
|
Okay, I figured it out. The file permissions for the user's home folder weren't set right. |
|
Back to top |
|
|
UnTopGun22 n00b
Joined: 30 Apr 2003 Posts: 5 Location: Jefferson, Texas, USA
|
Posted: Fri Jul 25, 2003 6:56 am Post subject: |
|
|
I'm having a very similar problem, IvanHoe wrote: | ...I get a message box with "Could not open or create the file '/home/user/gconf-test-locking-file'; this indicates that there may be a problem with your configuration, as many programs will need to create files in your home directory. The error was 'Permission denied' (errno = 13).
As per the FAQ, I used "usermod -G users,wheel username". I suspect that this user doesn't have enough permission, but being a total Linux n00b I don't know what groups to set for this user.
BTW, I have Gnome installed and it works fine as root. | what I would like to know is what permissions to set and how. Thanks. _________________ To find enlightenment in the computer world you must first load Linux then all else will follow. |
|
Back to top |
|
|
UnTopGun22 n00b
Joined: 30 Apr 2003 Posts: 5 Location: Jefferson, Texas, USA
|
Posted: Sat Jul 26, 2003 9:37 am Post subject: |
|
|
I found my answer Here. _________________ To find enlightenment in the computer world you must first load Linux then all else will follow. |
|
Back to top |
|
|
|