WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: help! /home/tc created root:root -- stuck waiting on .Xauthority  (Read 9004 times)

Offline kevinfish

  • Jr. Member
  • **
  • Posts: 72
I added persistent home with home=sda7 in my menu.lst file, removed home/tc from .filetool.lst and now every time it boots ~tc is created with root:root ownership and it gets stuck with:

xauth: timeout in locking authority file /home/tc/.Xauthority

I have to break out with ^C, type:

$ sudo chown tc:staff ~tc; startx

to get it all running again.  I have checked there are no other mydata.tgz files on the system and one I have doesn't have home/tc in it.

Why is it doing this?

P.S. also check my other posts because the problems may be related.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: help! /home/tc created root:root -- stuck waiting on .Xauthority
« Reply #1 on: March 16, 2010, 08:04:01 AM »
Is this a fat filesystem?
The only barriers that can stop you are the ones you create yourself.

Offline kevinfish

  • Jr. Member
  • **
  • Posts: 72
Re: help! /home/tc created root:root -- stuck waiting on .Xauthority
« Reply #2 on: March 16, 2010, 12:27:55 PM »
no

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: help! /home/tc created root:root -- stuck waiting on .Xauthority
« Reply #3 on: March 16, 2010, 01:50:47 PM »
This is strange, and shouldn't happen. I think it is a matter of considering any possible causes, and eliminating the ones you know are not causing it.

What filesystem is it?

If you save files in /home/tc, are they still there next time you boot?

What other boot options are you using?

Does it still happen if you boot with the norestore boot option?

Is there anything unusual about your installation which may cause it to function differently to a normal one?
« Last Edit: March 16, 2010, 02:03:23 PM by Guy »
Many people see what is. Some people see what can be, and make a difference.

Offline kevinfish

  • Jr. Member
  • **
  • Posts: 72
Re: help! /home/tc created root:root -- stuck waiting on .Xauthority
« Reply #4 on: March 16, 2010, 02:02:00 PM »
ext3

yes, persistent /home

kernel /bzImage quiet xvesa=1280x800x16 laptop waitusb=5 root=/dev/ram0 real_ro
ot=/dev/sda7 max_loop=255 home=sda7 tce=sda7 opt=sda7

haven't checked the norestore option (but since I'm not backing up /home/tc I don't see what difference it should make -- but I'll try it anyway).

not that I can think of right off the bat.  I have a multi-boot with gentoo but I haven't even booted it in a long time.


Offline robc

  • Sr. Member
  • ****
  • Posts: 447
Re: help! /home/tc created root:root -- stuck waiting on .Xauthority
« Reply #5 on: March 16, 2010, 02:52:14 PM »
I started getting this error too. It started happening when I decided to add some files from home/tc to my backup.

I ended up adding `chown -R tc:staff /home/tc` to bootlocal.sh. This may be a problem with an extension that is loaded. You can try booting with just 'norestore' or just 'base' to verify where the permissions errors are coming from.
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard

Offline kevinfish

  • Jr. Member
  • **
  • Posts: 72
Re: help! /home/tc created root:root -- stuck waiting on .Xauthority
« Reply #6 on: March 16, 2010, 03:28:16 PM »
I'm not currently using a usb/cf disk so I doubt it is the waitusb thing.  I tried the norestore and my ~tc was still root:root.  I put the chown thing in my bootlocal.sh and it still has the same error (although I didn't use the recursive flag, just the chown on the ~tc dir -- I'll try that next).

Offline kevinfish

  • Jr. Member
  • **
  • Posts: 72
Re: help! /home/tc created root:root -- stuck waiting on .Xauthority
« Reply #7 on: March 16, 2010, 03:29:36 PM »
as an afterthought, if I'm using a persistent home it must not be actually creating ~tc, right?  So something is actively chowning it to root:root IMHO.


Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: help! /home/tc created root:root -- stuck waiting on .Xauthority
« Reply #8 on: March 16, 2010, 03:45:51 PM »
If it is an extension, it is good to know so the extension can be fixed.

You can boot with base and see if it happens.

If it is, temporarily remove various extensions until you find out which one it is.

Report it to the person who made the extension.
Many people see what is. Some people see what can be, and make a difference.

Offline Pats

  • Sr. Member
  • ****
  • Posts: 322
Re: help! /home/tc created root:root -- stuck waiting on .Xauthority
« Reply #9 on: March 18, 2010, 08:24:15 PM »
Corrupted filesystem or corrupted grub ?
Why you do not try TC on a FAT pertition to see if the ext3 fs is giving these hiccup ?
Or may be a fresh install on a fresh formated HDD / PenDrive ?
Just a thought !
~ Pats

Offline Pats

  • Sr. Member
  • ****
  • Posts: 322
Re: help! /home/tc created root:root -- stuck waiting on .Xauthority
« Reply #10 on: March 19, 2010, 12:43:22 AM »
On the second thought, can the culprit be your bootcodes :
root=/dev/ram0 and/or real_root=/dev/hda7 ?
Try to remove both, and try only root=/dev/hda7 - to check the result.
Hope this helps !

~ Pats

Offline kevinfish

  • Jr. Member
  • **
  • Posts: 72
Re: help! /home/tc created root:root -- stuck waiting on .Xauthority
« Reply #11 on: March 22, 2010, 12:34:18 PM »
as per my other posts, I re-installed with 2.10 and the problem went away.  Go figger?!?  ::)

Offline MikeLockmoore

  • Hero Member
  • *****
  • Posts: 525
  • Good software needn't be big!
Re: help! /home/tc created root:root -- stuck waiting on .Xauthority
« Reply #12 on: March 25, 2010, 12:40:00 PM »
I started getting this in my 2.9 installation too.  I then tried a 2.10 version install, but the problem did _NOT_ go away for me.  And I am pretty stumped about why we would be getting this.   ???

BTW, this is occurring in the frugally-installed version of TC in my eeePC nettop.
--
Mike
« Last Edit: March 25, 2010, 12:43:17 PM by MikeLockmoore »

Offline MikeLockmoore

  • Hero Member
  • *****
  • Posts: 525
  • Good software needn't be big!
Re: help! /home/tc created root:root -- stuck waiting on .Xauthority
« Reply #13 on: March 26, 2010, 09:18:44 PM »
Update: I cleared out my TCE directory and installed all my regular extensions from the beginning under 2.10.  Now I don't have any problem xauth problems at all.  Looks like something got messed up in my 2.9 extension set that was not resolved until I made a fresh start.  Now 2.10 is working pretty well for me.

Oh, by way, I've added ALSA master sound control support to Flit.  It may need some more work before I release it to the public, but its nice to have it now with ALSA (which I use with Skype).
--
Mike L.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: help! /home/tc created root:root -- stuck waiting on .Xauthority
« Reply #14 on: March 27, 2010, 01:00:21 AM »
Glad to hear it is working. Looking forward to an update for flit.
10+ Years Contributing to Linux Open Source Projects.