-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to open display #5
Comments
Hi, It is a known issue with docker and some distributions like Kali. It was discussed in #1 and it is documented in the readme: https://github.com/nccgroup/BKScan#failed-to-open-display |
After having no luck with kali, I tried on ubuntu 18.04. From a completely fresh install (I chose not to update or upgrade when prompted from the gui), these are the commands I ran
and the output I got was
|
Sorry to hear you are still having problems. Below are 2 environments I tried a while back but things may have changed since then: Failing on Ubuntu 18.04:
Success on Ubuntu 16.04:
Also see http://fabiorehm.com/blog/2014/09/11/running-gui-apps-with-docker/ You may want to try on the latest Ubuntu though as they may have fixed the problem https://ubuntu.com/download/desktop |
I've had this issue on two completely separate kali instances. I install the tool following the installation instructions. The docker installation completes successfully and
sudo ./bkscan.sh -h
gives me the expected output. However when I try to scan a target machine withsudo ./bkscan.sh -t <IP Address>
I get the following error.[+] No credential provided, won't support NLA
No protocol specified
[22:41:07:683] [1:1] [ERROR][com.freerdp.client.x11] - failed to open display: :0.0
[22:41:07:683] [1:1] [ERROR][com.freerdp.client.x11] - Please check that the $DISPLAY environment variable is properly set.
The text was updated successfully, but these errors were encountered: