You are not logged in.
Pages: 1
Hi everyone.
I was trying to configure my .Xresources file to learn how to edit my terminals, and after a few reboots, I would get an error when i run $startx.
The error is that .Xauthority in ~/.Xauthority directory is not writeable. There are also two new .Xauthority files. .Xauthority-c, and .Xauthority-l
Did my user profile lose permissions to write files for some reason? I had successfully made some adjustments to .Xresources, and noticed the results a few times before my Xserver started to hang on me. That is why it seems like something broke randomly.
Thank you for reading.
Offline
I would get an error when i run $startx.
It would be useful to have that error message. Also, are you literally typing that command with the dollar sign?
Please post the output of this command, too:
ls -la .Xauthority*Last edited by ayekat (2017-01-03 07:43:08)
Offline
I am not using the dollar sign. I'm simply typing "startx." Like I said, it was working many times and then eventually it started to hang.
The exact error I get is-- /home/notcar/.Xauthority not writable, changes will be ignored
ls -la .Xauthority gives me
-rw------ 1 root root 104 Jan 2 16:42 .Xauthority
-rw------ 2 notcarl notcarl 0 Jan 3 04:31 .Xauthority-c
-rw------ 2 notcarl notcarl 0 Jan 3 04:31 .Xauthority-l
Offline
why is it owned by root?
Offline
It appears at some point you ran the equivalent of
$ sudo startxA process then running as root updated .Xauthority causing the ownership to become root:root.
With the ownership of .Xauthority now root:root future invocations of startx for user notcarl can not update .Xauthority, so the the authentication information X applications need can not be generated correctly so those applications will not start successfully.
Delete /home/notcarl/.Xauthority it will be recreated with the correct permissions on the next use of startx assuming it is not run with sudo.
Offline
Loqs, you were exactly correct. Your suggestion worked perfectly. Problem solved.
Thank you very much!
Offline
Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
Offline
Pages: 1