Please note, this is a STATIC archive of website hashcat.net from October 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.

hashcat Forum

Full Version: ERROR: clGetDeviceIDs()
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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!
From a terminal not connected over SSH you need to run:
xhost +

This is also explained in the setup guide:
https://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.
(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.