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

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



Am 2006-03-29 12:03:26, schrieb Niels Larsen:
> I am using debian sarge.
> 
> When I try to run: "sudo synaptic" I get the below warning.

synaptic with sudo?

I do not use synaptic, but does it not work like aptitude?

I mean, you run it as $USER and if it comes to the installation
of the package(s) it ask for the root password?

You get the error, because sudo tries to run a GTK program as
root in a $USER environement which is not allowed by default...

See environement variable to $XAUTHORITY

Greetings
    Michelle Konzack


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)



Reply to: