Aug 06, 2008 this page describes the use and pitfalls of xauth in breezy. I havent seen this one before, but based on previous locking issues ive encountered in the past i ran strace against xauth to see if an old lock file existed. They hope these examples will help you to get a better understanding of the conlusion. Getting x11 forwarding through ssh working after running su posted by anonymous 153. By continuing to use pastebin, you agree to our use of cookies as described in the cookies policy. Fedora has stopped maintaining and issuing updates for fedora 19.
Try freeing up disk space on your system file permissions are wrong. Error in locking authority file starnet knowledge database. After running that command i had to run chown steve. Once an x session is started, the cookie is used to authenticate connections to that specific display.
Description the xauth program is used to edit and display the authorization information used in connecting to the x server. Find answers to cant get my root account to use my. If you are a new customer, register now for access to product evaluations and purchasing capabilities. Xauthority file is not needed when x session is not running so you could safely remove it and it will be recreated next time x is started. Copy the following text and put it in a file, file. When an x server is started, it is given a randomlygenerated cookie.
Which initialized the directory and created a file. Even after fluxbox started, things werent working right, as i expected. While starting startx, i get error fatal error could not create lock file in tmp. Getting x11 forwarding through ssh working after running su. I found out that the hostname i enter at the installation wasnt added to the etchosts file. So, i created another user, bibb, which generated a fresh copy of the. Dealing with xauth error in locking authority file errors. Vncserver xauth error in locking authority file home xauthority. However after doing this i have had another two occasions where i could not login and had to repeat the procedure. This message is a notice that fedora 19 is now at end of life. During installation i incorrectly deleted the swap file. Options the following options may be used with xauth.
The same message and strange delay appear when shutting down the xwindow. Failing to reconnect to an nx session with the error. While using startx i get the response error locking. So, if you are not the owner of this file you cant login since you cant store your credentials there.
This program is usually used to extract authorization records from one machine and merge them in on another as is the case when. Xauthority on one of my older boxes so i could run a particular gui app as root. Advanced package tool, or apt, is a free software user interface that works with core libraries to handle the installation and removal of software on debian, ubuntu and other linux distributions. Dealing with xauth error in locking authority file errors prefetch. Then, this morning my bibb account experienced exactly the same problem.
While attempting to ssh into a host i received the following message from xauth. This is my first post to this forum, but i have learned so much already. The file will be recreated the next time you log in with ssh. Download xauth packages for alpine, alt linux, centos, debian, fedora, freebsd, mageia, netbsd, openmandriva, opensuse, pclinuxos, slackware, solus, ubuntu. Running x11 software in lxd containers mi blog lah. The next day when ive tried to login to my system i got that black loop page and backed to my login page. Xauthority must be 400 read and write for user only. It is fedoras policy to close all bug reports from releases that are no longer maintained.
Xauthority file from the expert community at experts exchange. You could also just delete it as normal nonroot user and try again it. Normally xauth is not used to create the authority file entry in the first place. Xauthority files work, but thats not a good solution. Xauthority file already exists, the keys are added to it. I have a ssh server with x forwarding installed on a second computer, running debian with openssh. I havent done that in a while, but i used to run xauth merge steve. We use cookies for various purposes including analytics. Also in the device i am runnin some programs which access the files in this shared folder. You could also just delete it as normal nonroot user and try again it will get recreated when you run xinitstartx. Xauthority file was being changed to root ownership.
Normally, xauth will refuse to read or edit any authority files that have been locked by other programs usually xdm or another xauth. It will make one for you on the spot, then you can open up a graphic application from the remote machine, try gedit and all should go along smoothly. Firstly, thanks for putting me in the right direction to fix my login problem. If your company has an existing red hat account, your organization administrator can grant you access. Jun 03, 2011 i need a file locking software or atleast any command for file locking view 1 replies view related ubuntu set the default os to boot as windows 7 with a timeout of 1 second reset the timeout to 3 seconds. Xauthorityfirst check who owns this file, root or the user. If you strike the problem again it may be worth checking whether that has happened. The xauth error youre getting is because you dont have permissions to write to that file despite it being in your home directory. There were only the default entries for localhostlocaldomain. Xauth timeout in locking authority file xauthority. Now i have three swap files in swap size 0 rw swap1 size 55574528 rw swap2 size 55574528 rwxrxrx what did i do wrong and what is the fix.
Xauthority files are macs which share the same the unix and linux forums. Depending on your file permissions, you might have to copy. 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, you can also use xauth to extract and copy the authorization key see randalls answer. Ive installed android studio and wpscan metasploit and lamp stack server on my system. 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 in the users home directory, containing a key or magic cookie for the host it was run on the one returned by hostname1.
I installed xfce4 package to xubuntu by mistake having multiple terminals plus virtualbox, i was installingworking debian machine on virtualbox but thought a terminal on my screen is virtualbox windows, after a reboot i cant login to my machine. Here is the updated lxd profile to setup a lxd container to run x11 application on the hosts x server. I can start x fine as root, but as a normal user it just says error in locking authority file. Xauthority, and make sure your nonroot user owns it.
Below error is observed while logging in to the system over ssh or trying to add xauth entries. Any other file permission will cause the xauth program to reject the file. So the dns server see etcnf which is generated by the network manager couldnt resolve my hostname which is needed for xauth. Xauthority linux, ssh, x11 which mentions the use of xauth b to break any lock files that may. Jun 08, 20 whenever i ssh in to my droplet putty, ubuntu 12. I have been using slackware for about a year, but yesterday i put 8. This is the default if xauth is reading commands from its standard input and its standard output is directed to a terminal. If your problem has similar causes as mine did, there will be an. You can find more info on x authentication and x authority in the xauth man pages type man xauth in a terminal.
69 941 1160 1237 1011 104 31 1355 1087 110 244 8 771 1215 1307 60 1474 104 972 632 1286 1028 491 1123 1199 177 1227 1145