Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xauth: timeout in locking authority file
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
IvanHoe
l33t
l33t


Joined: 05 Oct 2002
Posts: 658

PostPosted: Tue Oct 08, 2002 11:22 pm    Post subject: xauth: timeout in locking authority file Reply with quote

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
View user's profile Send private message
_SkeLeToN_
Guru
Guru


Joined: 12 Sep 2002
Posts: 506
Location: Montreal,Canada

PostPosted: Wed Oct 09, 2002 2:16 am    Post subject: Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Wed Oct 09, 2002 2:19 am    Post subject: Reply with quote

Did you use the -m option with useradd to create home directories?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
IvanHoe
l33t
l33t


Joined: 05 Oct 2002
Posts: 658

PostPosted: Wed Oct 09, 2002 3:15 am    Post subject: Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Oct 09, 2002 3:20 am    Post subject: Reply with quote

What sort of filesystem is /home on?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
IvanHoe
l33t
l33t


Joined: 05 Oct 2002
Posts: 658

PostPosted: Wed Oct 09, 2002 3:27 am    Post subject: Reply with quote

Okay, I figured it out. The file permissions for the user's home folder weren't set right.
Back to top
View user's profile Send private message
UnTopGun22
n00b
n00b


Joined: 30 Apr 2003
Posts: 5
Location: Jefferson, Texas, USA

PostPosted: Fri Jul 25, 2003 6:56 am    Post subject: Reply with quote

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
View user's profile Send private message
UnTopGun22
n00b
n00b


Joined: 30 Apr 2003
Posts: 5
Location: Jefferson, Texas, USA

PostPosted: Sat Jul 26, 2003 9:37 am    Post subject: Reply with quote

I found my answer Here. :D
_________________
To find enlightenment in the computer world you must first load Linux then all else will follow.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum