Xauth: timeout in locking authority file //.Xauthority
SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Xauth: timeout in locking authority file //.Xauthority
I created a new user, so I don't use the computer as root all the time. But I am facing a few problems...:
1- I can login as this user, but when I type 'startx' it takes a long time to load the Xwindow and I get this message:
Xauth: timeout in locking authority file //.Xauthority.
The same message and strange delay appear when shutting down the Xwindow.
2- Even though I used pkgtool and configured KDE as my default Xwindow system, when I am logged in as 'user' and type startx it starts the 'blackbox' and not 'KDE'. If I am logged in as root and type startx it starts 'KDE', no problems...
3- When I am logged in as 'user' I cannot start firefox or any other program! How do I change the authorizaion so I can actually do stuff as user and not 'su' all the time I want to open a program?!
4- When logged in as 'user' I cannot shutdown the computer 'halt' or even 'reboot' the computer. How do I give the 'user' the ability to reboot and shutdown the computer?!
To add correctly a user, just use (and try to use defaults settings by just pressing enter): adduser
v@ny@: Probably your /home directory is not setted correctly, paste /etc/passwd here. useradd is a tricky command and has to be called carefully, try using adduser (create another user just to test).
2) You can configure each user's default window manager by running xwmconfig as the user.
3) Are you running X as the user?
4) Learn how to configure sudo (man sudo && man sudoers)
2- When I type 'wxmconfig' as the 'user' I get an error saying this command does not exist.
3- I am trying to run as the user but it doesn't work... So rigth now I am using as root.
4- I'll check this out! Thanks!
I have deleted this user and created a new user following this commands you gave. Now it all works, thanks! When I created the previous user I used the command useradd (as it is shown in the Slackware Handbook). Now I used adduser as you said. I thought they did the same thing but now I see...
Yes! It is all working with the new user...
Thanks! And thankyou also for the packages you wrote the links to, to get Cyrilic working (http://www.linuxquestions.org/questions/showthread.php?t=152048)! The other links were down, but those ones you wrote worked and now it is all good! Thank you very much! How did you find those links? I was looking for it but could not find!
I had originally the same problem creating a new account as V@NY@.
I have followed the recommended procedure in the thread but still I cannot use my new USER account properly:
1. My /home partition is FAT32.
2. I created new USER, 'bill'( using 'adduser')
3. Logged in as 'bill'.
4. From console, able to change directory to /home/bill.
5. Try to StartX (KDE) and get errors about not being able to write to files in /home/bill
6. Go back to console prompt, logged in as 'bill'. Now very strange - can no longer change directory to /home/bill.
Tried to run 'xwmconfig' but again cannot do as cannot access /home/bill
I am really puzzled by all this and would really appreciate some help.
I had this same problem and applied the solution you suggested. That worked because i got X loaded again with the new user. Problem is that i cannot sudo to anything, it doesn't ask me for the root password. At this point, it doesn't even tell me that the new user isn't in the sudoers file, which i get very often.
I got out of X so that i could login as root, but i can't. So there is no way for me to perform changes cause i can't get root privileges.
What to do????
Open a new thread and describe your problem clearly, as well as the things you tried to solve it, and how these failed. That will attract people who can help you. With the information you supply here, no one will be able to assist unless they are in possession of a crystal ball. Please do not ressurrect long-dead threads, they stink.
For those who are still not able to resolve the error after changing permissions, you need to change the mode of selinux from enforcing to permissive. Become root and either edit the file /etc/sysconfig/selinux or just type setenforce 0 for one session.