You are not logged in.
Just installed Arch last night and I seem to be encountering an issue regarding Xorg. In the tty shell when I run "startx /usr/bin/i3" it outputs this:
xauth: timeout in locking authority file /home/dylan/.Xauthority
xauth: timeout in locking authority file /home/dylan/.Xauthority
xauth: timeout in locking authority file /home/dylan/.Xauthority
(EE)
Fatal server error:
(EE) Cannot open log file "/home/dylan/.local/share/xorg/Xorg.0.log"
(EE)
(EE)
Please consult at the X.Org Foundation support
at http://wiki.x.org
for help.
(EE)
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
xauth: timeout in locking authority file /home/dylan/.Xauthoritythis output may not be exactly correct because i dont know of a way to copy from the tty shell so i took a picture and transcribed the text
it works without issue if i simply run it with sudo prefacing it
Last edited by dyl (2020-12-24 17:14:49)
Offline
Try
# rm /home/dylan/.Xauthorityrun it with sudo prefacing it
Don't do that. Ever.
Jin, Jîyan, Azadî
Offline
It seems the directory didnt exist. This is what it output:
rm: cannot remove '/home/dylan/.Xauthority': No such file or directoryOffline
stat /home/dylan
ls -la /home/dylanOnline
# stat /home/dylan
File: /home/dylan
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 802h/2050d Inode: 3276802 Links: 2
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2020-12-24 11:27:39.615425746 -0600
Modify: 2020-12-24 11:19:15.258750167 -0600
Change: 2020-12-24 11:19:15.258750167 -0600
Birth: 2020-12-24 00:37:01.118746592 -0600
# ls -la /home/dylan
total 8
drwxr-xr-x 2 root root 4096 Dec 24 11:19 .
drwxr-xr-x 3 root root 4096 Dec 24 00:37 ..Offline
Do you understand why that's a problem and causes your error messages?
Online
Do you understand why that's a problem and causes your error messages?
No.
Offline
Your $HOME is owned by the root user and the root group and nobody else has writing permissions.
Happened because you forgot to create it w/ useradd and then just mkdir'd it.
=> fix the ownership, https://wiki.archlinux.org/index.php/Fi … attributes
Last edited by seth (2020-12-24 18:26:09)
Online
Ok thank you. That fixed it.
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Online