screetsec/Dracnmap

Cant open Display

Keldorb opened this issue · 0 comments

Hi !

It would be nice if you can run the Tool withoud needing a XSession. If you run the programm via ssh terminal you get the following error:

Warning: This program is an suid-root program or is being run by the root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
xterm: Xt error: Can't open display: %s
xterm: DISPLAY is not set

Sure this is what you get if you dont have an xsession. Maybe you could do a check if the programm has xterm access. Otherwise you dont open new windows.

Thanks for the good work!