View Single Post
aflegg's Avatar
Posts: 1,463 | Thanked: 81 times | Joined on Oct 2005 @ UK
#2
I'd guess you're running it as root, and `sudo gainroot' has blatted your environment. Including the DISPLAY variable - without it the X client doesn't know which X server to connect to.

A workaround would be:

Code:

export DISPLAY=:0.0
run-standalone.sh ./nmapfe
HTH,

Andrew