hashcat Forum
ERROR: clGetDeviceIDs() - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Deprecated; Previous versions (https://hashcat.net/forum/forum-29.html)
+--- Forum: Old oclHashcat Support (https://hashcat.net/forum/forum-38.html)
+--- Thread: ERROR: clGetDeviceIDs() (/thread-3589.html)



ERROR: clGetDeviceIDs() - tr4nc3 - 08-06-2014

Hi,
I have 2 GPUs ATI Radeon R9 290Xs.
Code:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii XT [Radeon HD 8970]
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii XT [Radeon HD 8970]
I'm using oclHashcat 1.21 and when I run it from the console, oclHashcat runs fine but when I run via SSH I get the following error:
Code:
$ ./oclHashcat64.bin -m 500 -a 3 -b
oclHashcat v1.21 starting in benchmark-mode

ERROR: clGetDeviceIDs() -1

$ echo $DISPLAY
localhost:10.0
The X11 Forwarding seems to be working ok. I can get the remote X11 apps to show up on my machine. I'm running oclHashcat on the remote gnome-terminal app. When I run the same command via console it works fine.

Any idea what I can do to fix this? So I can access oclHashcat via SSH?

Thanks!


RE: ERROR: clGetDeviceIDs() - philsmd - 08-06-2014

From a terminal not connected over SSH you need to run:
xhost +

This is also explained in the setup guide:
http://hashcat.net/wiki/doku.php?id=linux_server_howto

Basically the SSH terminal currently misses xauthority and hence has no permission to access the device.


RE: ERROR: clGetDeviceIDs() - tr4nc3 - 08-06-2014

(08-06-2014, 11:23 AM)philsmd Wrote: From a terminal not connected over SSH you need to run:
xhost +
I already have "xhost +" that is put in the /etc/profile so I do get a message upon logon that access controls are disabled. So I assume it executes before a session is established.

Thanks.