Recently, I switched from Ubuntu to Arch Linux. I've installed X11 as my Window System and KDE as my Desktop Environment. I've separate partition for /home, /var, / and /boot and they all mount at boot time. When I run startx, the following message gets displayed.
xauth:timeout in locking authority file /home/hello/.Xauthority
Accidently, I've deleted that file. So, I copied it from /root. I've changed it's authority using code below:
# chown hello:users ~/.Xauthority
Even after this, I'm unable to run startx unless I use root account.
startxagain. Does it work? If not, what is the exact error message?