Error In Locking Authority File Home .xauthority
Base Search for: Search Error in locking authority file When trying to connect using ssh, if you see a similar error to the following in the status log /usr/X11R6/bin/xauth: error in locking authority file $HOME/.Xauthority This issue typically occurs for one of several reasons Out of disk space: If your user has a disk quota, or your disk is full, the xauth program will not be able to write to the .Xauthority file. Try freeing up disk space on your system File permissions are wrong: The file permissions on .Xauthority must be 400 (read and write for user ONLY). Any other file permission will cause the xauth program to reject the file As a final measure you can try deleting the .Xauthority file altogether. The file will be recreated the next time you log in with ssh About Us Company Info Products Other StarNets Contact Us Support Knowledge Database Open a Support Case Purchase Online Store Get a Quote Partners & Resellers Educational Licensing Try It FastX X-Win32 News StarNet Adds Secure Remote Linux and Unix Desktops to X-Win32 StarNet's FastX Lets Users See Their Remote Linux Desktop Without Logging In X Windows Connectivity Leader StarNet Adds Secure Session Sharing to FastX StarNet Communications provides world class, affordable emulator solutions for connecting to remote Linux and remote Unix desktops and applications. X-Win32 was rated the industry’s best PC X server and offers the most innovative features. It is also the fastest X11 emulator on 32 and 64-bit Windows PCs when connecting on a LAN. FastX is a next-generation X Windows solution that offers persistent connections so you can disconnect and reconnect to your remote Linux desktop. FastX offers high speed performance, especially over VPN and other Internet connections. StarNet’s innovative X emulator products offer the most secure connections and simplest user interface of any PC X Server. If you are looking for persistent, high-speed, secure connection capabilities, download a free 30-day demo today. StarNet Communications, Sunnyvale, California USA
Nov 1 13:42:52 2011 from 10.10.56.100 /usr/bin/xauth: error in locking authority file /home/matty/.Xauthority I haven't seen this one before, but based on previous "locking issues" I've encountered in the past I ran strace against xauth to see if an old lock file existed: $ strace xauth In the output I saw the following which confirmed my suspicion: open("/home/matty/.Xauthority-c", O_WRONLY|O_CREAT|O_EXCL, 0600) = -1 EEXIST (File exists) A quick check with ls revealed the same thing: $ ls -l /home/lnx/matty/.Xauthority* -rw------- 2 matty SysAdmins 0 Nov https://www.starnet.com/xwin32kb/error-in-locking-authority-file/ 1 13:42 /home/lnx/matty/.Xauthority-c -rw------- 2 matty SysAdmins 0 Nov 1 13:42 /home/lnx/matty/.Xauthority-l I removed both of the lock files and haven't seen the error again. Thought I would pass this on in case someone else encountered this issue. matty on November 1, 2011 | Filed Under Linux Debugging, Linux Utilities 4 Comments swirl on November 3rd, 2015 Thanks, this was very http://prefetch.net/blog/index.php/2011/11/01/dealing-with-xauth-error-in-locking-authority-file-errors/ helpful! sagar on September 9th, 2016 this made my day… thanks frnd sagar on September 9th, 2016 I had one more issue before: no permission on /home/oracle/.Xauthority sagar on September 9th, 2016 I had one more issue before: no permission on /home/oracle/.Xauthority i have done: group for oracle folder was root under /home su - oracle cd /home chown oracle:dba oracle then I deleted .Xauthority-c .Xauthority-l from /home/oracle it worked for me Leave a Comment Username (required) : Email (required) : Web Site : Comment : Search Search for: Categories AIX Debugging (1) AIX Package Management (2) Apache (29) Apple (27) Articles, Presentations and Certifications (43) Book Reviews (1) Brocade (8) cfengine (5) Debian Linux (1) Djbdns (1) DNS & BIND (16) Docker (1) Emulex (3) Firefox (3) Food and Beverages (1) FreeBSD Misc (2) FreeBSD Networking (1) FreeBSD Utilities (2) FreeNAS (1) Gadgets (2) Games (1) Ganglia (1) Gardening (1) Gnome (4) GNU Privacy Guard (4) Hardware (13) Health Foods (2) Home Security (1) HTTP (4) Illumos (1) Investing (2) ISC DHCP (3) Java (12) Libvirt (1) Links (15) Linux Authen
have one accepted answer. Are you sure you want to replace the current answer with this one? Yes, I'm sure. Changed your mind? You previously marked this answer as accepted. Are you sure you want to unaccept it? Yes, I'm https://www.digitalocean.com/community/questions/timeout-in-locking-authority-file-home-username-xauthority sure. Sign Up Log In submit Tutorials Questions Projects Meetups Main Site logo-horizontal DigitalOcean Community Menu http://www.linuxquestions.org/questions/linux-general-1/error-in-locking-xauthority-file-continued-from-previous-post-877417/ Tutorials Questions Projects Meetups Main Site Sign Up Log In submit View All Results By: pablo Subscribe Subscribed Share 0 timeout in locking authority file /home/username/.Xauthority June 8, 2013 82.2k views Whenever I ssh in to my droplet (puTTY), Ubuntu 12.04 spits out: /usr/bin/xauth: timeout in locking authority file /home/username/.Xauthority Does anyone know how I should address this? Thanks! Log In to error in Comment Leave a Comment Add comments here to get more clarity or context around a question. To answer a question, use the “Answer” field below. Log In to Comment 12 Answers 0 kamaln7 MOD June 8, 2013 Try running sudo rm /home/username/.Xauthority Reply Log In to Comment 0 pablo June 10, 2013 @Kamal, Thanks for the suggestion. Unfortunately, I tried that; rebooted the droplet, but the error message still pops up. Do you have any other ideas? error in locking Reply Log In to Comment 0 kamaln7 MOD June 11, 2013 Try this, Pablo: http://askubuntu.com/a/166115 Reply Log In to Comment 0 ricace May 4, 2016 Thanks!. I register to say thank you!. 0 pablo June 13, 2013 Holy $H!T Kamal; It worked like a charm!!!! You're a genius... or, a really good Googler! (Is that even a word?) In all seriousness, thanks for taking the time to help me out. -Pablo Reply Log In to Comment 0 kamaln7 MOD June 14, 2013 Awesome!! Really glad to hear that :] Reply Log In to Comment 0 bose May 23, 2014 Tu maquina inicial le hayas puesto #xhost + En tu maquina donde te conectas verifica Que el /etc/selinux/config este como permissive o disable Reply Log In to Comment 0 solomon.j.sands May 29, 2014 Kamal Nasser had it right the first time, the only thing is that you have to do it from a local console. If you do it whilst ssh-ing in then any Xauth you create during that session will have the same ownership issues. Reply Log In to Comment 0 srachendrarwl May 12, 2015 can anybody help me to get what does ?------ ?? ? ? ?selinux means in below [oracle@relxmedia01 /]$ ls -lrth total 14G ?--------- ? ? ? ? ? selinux drwxr-xr-x 2 root root 4.0K Feb 17 2010 srv drwxr-xr-x 2 root root 4.0K Feb 17 201
HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - General error in locking .Xauthority file ... Continued from previous post User Name Remember Me? Password Linux - General This Linux forum is for general Linux questions and discussion. If it is Linux Related and doesn't seem to fit in any other forum then this is the place. Notices 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. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now 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. Search this Thread 04-27-2011, 10:46 AM #1 mhatrey LQ Newbie Registered: Apr 2011 Posts: 6 Rep: error in locking .Xauthority file ... Continued from previous post Since the post was marked [solved] I thought of creating a new post. Ok. I agree deleting .Xauthority files work, but thats not a good solution. I mean, everytime I have to run any X forwarding application I have to delete the .Xauthority file. Here is my scenario The applications that I want to run are on Linux Server [NFS] and the client machines [CIFS] that are having problem in locking the .Xauthority files are Macs which share the same domain as that of client solaris machine. i.e. The home directory of particula