[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fwd: Gtk-WARNING **: cannot open display:

I am using debian sarge.

When I try to run: "sudo synaptic" I get the below warning.

(synaptic:4338): Gtk-WARNING **: cannot open display:

I have to my ~/.bash_profile file added following, according to advice from
some mailing list, but it does not help:

if [[ -z $DISPLAY ]]; then
	export DISPLAY=:0.0

And I ran: "sources ~/.bash_profile" right after

Any suggestions?

Thanks in advance  :-)

I added to the sudoers file from a suggestion the following line:

Defaults   env_reset, env_keep = DISPLAY

And it works fine, thanks.  :-)


By the  way, how do one reply to a thread in the 
debian-user-digest@lists.debian.org list?


Reply to: