LinuxQuestions.org
Help answer threads with 0 replies.
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 04-25-2004, 01:46 PM   #1
javpra
Member
 
Registered: Nov 2003
Distribution: FreeBSD/Gentoo/Debian
Posts: 52

Rep: Reputation: 19
Xauth will not lock a file at /home/username


Good day to all,

I've been having an xauth problem. I recently installed slackware 9.1 and am running a Gnome 2.4.0. I just added a regular user account which for some reason defaulted to a home directory of "/" rather than "/home/username". When I attempt to run "startx" as this user I recieve an error saying "xauth: timeout in locking authority file //.Xauthority". I attempted "xauth merge ~user/.Xauthority" and am still not able to start X. I also recieved an error from Gnome saying it could not create a file in "/home/username". I attempted "useradd -d /home/username username" and it said "user already exists". I tried "useradd -D -b /home/username username" and still didn't work. I also used tried usermod and could not get the home directory transferred to /home/username. I am sure it is something I am doing any light on the situation would be appreciated. Would the home directory even be the cause for the xauth error? If this is the incorrect thread please advise me where a more appropriate place to post is.

Thanx in advance.
Javier

Last edited by javpra; 04-25-2004 at 01:49 PM.
 
Old 04-26-2004, 01:57 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,385

Rep: Reputation: 581Reputation: 581Reputation: 581Reputation: 581Reputation: 581Reputation: 581
I suggest that you use the userdel command to get rid of the problem user name. Then try to add it again. If worse comes to worse you can try again with a different user name (sorry Pete, you have to log in as Cinderella).

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeB....home.page.html

Steve Stites
 
Old 05-16-2004, 10:52 AM   #3
dkitt10
LQ Newbie
 
Registered: May 2004
Location: canada....eh?
Posts: 24

Rep: Reputation: 15
I know this was from a while ago but in case any one needs help do this (I just solved mine)

as root and using a username called dan for example:

cd .. (make sure ur in the very first folder)
cd etc (goes to etc)
vi passwd (edits passwd)

scroll down to dan and make sure its /home/dan
type ':' then wq too write and quit if you didn't change anything then just 'q'

and lastly and most importantly:

chown dan: /home/dan



enjoy
 
Old 09-08-2004, 07:36 PM   #4
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
dkitt10 - thanks for posting that solution! I just had this problem, tried some stuff and thought the 'chown' just couldn't help me - but it did!!

Now, what the hell caused that??? Anyone have a clue?
 
  


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
xauth: timeout in locking authority file ~/.Xauthority? otbibb Linux - Software 6 08-28-2013 01:42 PM
How do I unlock a file? Brooksias Linux - Newbie 8 12-14-2010 06:49 AM
xauth: timeout in locking authority file //.Xauthority karlrb Linux - Software 2 10-26-2006 06:53 AM
xauth.... time out locking file .Xauthority DraaX Slackware 17 12-01-2004 12:19 AM
Squirrelmail not reading /home/username/Mail/Inbox di11rod Linux - Software 2 01-22-2004 06:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:28 PM.

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