08-12-2016, 12:18 AM
I have a similar setup as you guys do. Running into the same problems. Here is what I did to resolve. Hopefully this helps...
Attempted to run xhost + in terminal, received MAGIC COOKIE error. This confirmed that .Xauthority has issues.
I found the path to the auth file that X was using with the following command:
for me, this path was:
I then set XAUTHORITY to the proper path:
then I was able to perform the following X configurations:
After performing the above (and installing libxnvctrl0 and libxnvctrl-dev) I was able to have hashcat control fan speed with no errors.
Attempted to run xhost + in terminal, received MAGIC COOKIE error. This confirmed that .Xauthority has issues.
I found the path to the auth file that X was using with the following command:
Code:
ps awwux | grep X
for me, this path was:
Code:
/usr/bin/X :0 vt7 -nolisten tcp -auth /var/lib/xdm/authdir/authfiles/A:0-IFUW01
I then set XAUTHORITY to the proper path:
Code:
export XAUTHORITY=/var/lib/xdm/authdir/authfiles/A:0-IFUW01
then I was able to perform the following X configurations:
Code:
xset -dpms
xset s off
xhost +
After performing the above (and installing libxnvctrl0 and libxnvctrl-dev) I was able to have hashcat control fan speed with no errors.