This is just a simple tips to solve a error message when you start your X session with “startx” command as normal user. The error message may be like this:
xauth: creating new authority file /home/blackgod/.Xauthority
X: user not authorized to run the X server, aborting.
In linux, by default root user is allowed to run X server in most cases. So you don’t face this issue while running “startx” as root user.
Basically the Xorg X server needs to be configured to to authorize this user. Where should we configure this?
# dpkg-reconfigure x11-common