Dáire Fagan
February 7th, 2014, 02:34 PM
Hi
Using the GUI for the user options I set my account so no password would be required on login. After doing this at boot I am not asked for a password and there is just a login button. Unfortunately when I pressed it white text on black appears for an instant and I am asked to login again. I was able to get passed the login screen last night after deleting .ICEauthority and then running sudo chown dusf:dusf ~/.Xauthority.
The same problem then occurred this morning and by mistake I not only deleted .ICEauthority but also .Xauthority after which I was still unable to login. I created a new user disf, which is able to login to X, and copied both files from there to /home/dusf but this made no difference. At one point I was following various suggestions and I think I may have messed up my /home and/or /home/dusf permissions. To try and correct this I ran a sudo chmod -R 755 /home and then a sudo chown dusf:dusf ~/.Xauthority.
I have also tired deleting .Xauthority which has been recommended to others but this also made no difference.
Trying to start X as root from recovery gives the error: error in locking authority file /root/.Xauthority. I cannot login to tty as root using my root password - same password works fine for sudo commands logged into tty as dusf.
The persmissions for /home are set to: drwxr-xr-x 6 root root
The permissions for /home/dusf are set to: drwxr-xr-x 63 dusf dusf
The permissions for /home/dusf/.Xauthority are set to: -rw------- 1 dusf dusf
The permissions for /home/dusf/.ICEauthority are set to: -rwxr-xr-x 1 root root 0
In /home/disf I can see the permissions for .Xauthority are set to -rwxr-xr-x and .ICEauthority to -rwxr-xr-x. In /home/dusf I tried sudo chmod -rwxr-xr-x but it told me there was an input/output error although I was able to correct the .ICEauthority permissions - if it is even valid since I copied it from another users home dir.
Please advise?
As I could not set the permissions for /home/dusf/.Xauthority I deleted the file, and copied it over again from /home/disf. I then ran a sudo chown dusf:dusf ~/.Xauthority and it took the correct permissions. I rebooted but I still cannot get past login. I checked the permissions again and .ICEauthority had changed to something like -r--------. I deleted the file as I have booted before without it when there was a problem. I rebooted but I still cannot get past login.
I have also tried sudo xauth generate :0 .trusted but it gives the error 'No protocol specified. xauth: (argv):1: unable to open display ":0".
Can someone please help me with this?
Using the GUI for the user options I set my account so no password would be required on login. After doing this at boot I am not asked for a password and there is just a login button. Unfortunately when I pressed it white text on black appears for an instant and I am asked to login again. I was able to get passed the login screen last night after deleting .ICEauthority and then running sudo chown dusf:dusf ~/.Xauthority.
The same problem then occurred this morning and by mistake I not only deleted .ICEauthority but also .Xauthority after which I was still unable to login. I created a new user disf, which is able to login to X, and copied both files from there to /home/dusf but this made no difference. At one point I was following various suggestions and I think I may have messed up my /home and/or /home/dusf permissions. To try and correct this I ran a sudo chmod -R 755 /home and then a sudo chown dusf:dusf ~/.Xauthority.
I have also tired deleting .Xauthority which has been recommended to others but this also made no difference.
Trying to start X as root from recovery gives the error: error in locking authority file /root/.Xauthority. I cannot login to tty as root using my root password - same password works fine for sudo commands logged into tty as dusf.
The persmissions for /home are set to: drwxr-xr-x 6 root root
The permissions for /home/dusf are set to: drwxr-xr-x 63 dusf dusf
The permissions for /home/dusf/.Xauthority are set to: -rw------- 1 dusf dusf
The permissions for /home/dusf/.ICEauthority are set to: -rwxr-xr-x 1 root root 0
In /home/disf I can see the permissions for .Xauthority are set to -rwxr-xr-x and .ICEauthority to -rwxr-xr-x. In /home/dusf I tried sudo chmod -rwxr-xr-x but it told me there was an input/output error although I was able to correct the .ICEauthority permissions - if it is even valid since I copied it from another users home dir.
Please advise?
As I could not set the permissions for /home/dusf/.Xauthority I deleted the file, and copied it over again from /home/disf. I then ran a sudo chown dusf:dusf ~/.Xauthority and it took the correct permissions. I rebooted but I still cannot get past login. I checked the permissions again and .ICEauthority had changed to something like -r--------. I deleted the file as I have booted before without it when there was a problem. I rebooted but I still cannot get past login.
I have also tried sudo xauth generate :0 .trusted but it gives the error 'No protocol specified. xauth: (argv):1: unable to open display ":0".
Can someone please help me with this?