maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   nmapfe on the 770 (https://talk.maemo.org/showthread.php?t=1579)

champ 2006-03-12 23:00

nmapfe on the 770
 
i can get nmap to run with no problems but when i try and run nmapfe i get this message:
Quote:

nmapfe [787] : GLIB WARNING ** Gtk - cannot open display:
does anyone have the gui nmap working on their 770? am i doing something wrong?

aflegg 2006-03-13 09:05

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

champ 2006-03-13 13:47

Yes, I am running it as root. As a normal user it runs fine, but when i try to run it as root is when i get the error. Thanks for the help. I will try this.


All times are GMT. The time now is 16:36.

vBulletin® Version 3.8.8