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/.XauthorityAccidently, I've deleted that file. So, I copied it from /root. I've changed it's authority using code below:# chown hello:users ~/.XauthorityEven after this, I'm unable to run startx unless I use root account. 
How to run startx as non-root?
x11;xauth
First a clarification, X is not a window manager, it is a windowing system. Now, the ~/.Xauthority file is simply where the identification credentials for the current user's Xsession are stored, it is the file read when the system needs to determine if you have the right to use the current X session.You should never copy an existing one from another account, the file should always belong to the user running X and is created automatically when you start a new X session. So, just delete the one you have, and then run startx again, everything should work as normal:$ rm ~/.Xauthority; startx