OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: dlj0 on March 06, 2006, 10:23:21 pm

Title: Xauth Problem
Post by: dlj0 on March 06, 2006, 10:23:21 pm
I seem to have broken my .Xauthority file.  I kept getting an error message (sorry, exact text forgotten) about xauthority trying to deal with locks in ~/.Xauthority.  Well, I tried to re-generate .Xauthority, but it would not happen.  I tried xauth -b, as the manual page on my desktop suggested, but that was not successful.  My solution was to comment out the xauth parts of /usr/X11R6/bin/startx, but that is probably not ideal.

I realized I had a problem when I could no longer remotely display X clients from my desktop machine; my hack lets me do that again, but is not the real fix.

How the sam hell do I re-generate the ~/.Xauthority file so that it allows me, as a regular user, to export displays to the machine, and to use X based programs if I su to root?  The man page says that xdm controls .Xauthority files.  I tried to run xdm (I usually use startx from the console on the Zaurus), but it did not do anything.  

BTW, I have already suid root'd my busybox so that I could actually su from my user account.  

Hmm, my signature does not seem to show up:  Oh, yes it does, but not when I ask to preview the post.  Never mind.

machine:  Zaurus SL-C3100
ROM pdaXrom 1.1.0beta1

David L. Johnson
Title: Xauth Problem
Post by: dlj0 on March 07, 2006, 12:32:55 pm
Quote from: dlj0,Mar 6 2006, 11:23 PM
I seem to have broken my .Xauthority file.  I kept getting an error message (sorry, exact text forgotten) about xauthority trying to deal with locks in ~/.Xauthority.  

Never mind.  Somehow, my $HOME directory got chown'd to root.  I have no idea how that happened.  At any rate, chown-ing it back to my user account fixed it.  

Odd glitch.