Bug#628603: synaptic does not start when wdm is the display manager
On Fri, Jun 17, 2011 at 11:02:55PM +0430, Eliad Bagherzadegan wrote:
> On 05/31/2011 02:18 PM, Agustin Martin wrote:
> > On Mon, May 30, 2011 at 08:57:27PM +0430, Eliad Bagherzadegan wrote:
> >> Package: wdm
> >> Version: 1.28-6
> >> Severity: important
> >> The title pretty much says it.
> > Thanks for your info, but more details are really needed.
> > I cannot reproduce that problem here in my i386 box when run from a xterm.
> > Some questions,
> > * Did you try with a different display manager? When you noticed the problem?
> > Any other relevant change aroud that time?
> > * Did you call synaptic from a xterm or from a pull-down menu? Does it fail
> > when called both ways?
> > * Is only synaptic which fails?
> > * Which error did you see? Any relevant info under /var/log?
> > Thanks for your feedback,
> Sorry for the delay. I had upgraded some packages and did not have keyboard
> and mouse on X.
> synaptic works perfectly with slim/openbox, from menu and from lxterminal.
> Running wdm/openbox,I get this error message in lxterminal:
> # synaptic
> No protocol specified
> (synaptic:20554): Gtk-WARNING **: cannot open display: :0
> I've noticed that this only happens when an X application is going to be run
> as root. For example I could run gedit as a user, but got the same error when
> I tried o run it as root.
Are you exporting XAUTHORITY from user account before becoming root?