To enable the log for the X Server auditing logs
root>> vi /etc/inittab
Add the -audit option to the X Server startup
>> x:5:respawn:/usr/X11R6/bin/X -audit 2 -noreset -nolisten inet6 -ac +bs :0
Xserver Log location (/var/log) for e.g. if you are using XOrg then it would be:
/var/log/Xorg.0.log
Xserver Log location (/var/log) for e.g. if you are using XOrg then it would be:
/var/log/Xorg.0.log