cucu ionut cristian schreef:
> hi all !
> I have a problem reguarding my gtk aplications they cannot be started
> using sudo nmapfe(or any program for that matter)
> the error message is Gtk-WARNING **: cannot open display:
> i'm using the e17 windows manager, if it makes any differences
> Thanks!
> 

This occurs only with sudo?

I had a similar problem, solved by adding the following to visudoers:

# Uncomment to allow users in group wheel to export variables
Defaults:%wheel !env_reset

# Allow users in group users to export specific variables
# Defaults:%users       env_keep=TZ
==> Defaults:%users         env_keep=DISPLAY

There are probably other ways to solve this, but that works for me.

Hope it helps you.

Holly


-- 
gentoo-user@gentoo.org mailing list

Reply via email to