Artificial intelligent assistant

Cannot run Ettercap in Debian (GTK+ Failed to initialize. Is X running?) I've installed ettercap-graphical on a fresh debian install. This is the error I'm getting: root@debian:/home/debian# sudo ettercap -G ettercap 0.8.2 copyright 2001-2015 Ettercap Development Team No protocol specified GTK+ failed to initialize. Is X running? Searching online, the solution here (second last comment) says to run `xhost local:root`. However that gives me an error: root@debian:/home/debian# xhost local:root No protocol specified xhost: unable to open display ":0" Researching that error, solutions such as setting `DISPLAY` variable to `127.0.0.1:10.0` or `<ipaddress>:0.0` (where ip address is my machine's ip), do not work. It just changes the error to `unable to open display ":10.0"`. I've tried setting the DISPLAY variable all combinations of: `(ip address/127.0.01):(10.0/11.0/0.0)`.

Solution from the Ettercap wiki on github:

> # X issue when ettercap is started with sudo and GTK UI
>
> Solution
>
> There is a easy fix to this issue. **Run the following command in the user's context**.
>
>
> $ xhost local:root
>

You need to execute the above command as user.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 756ce8d7680c7a56f5c35a8eb992be5f