XDM authorization problem with xfprint

Jasper Huijsmans jasper at moongroup.com
Wed Dec 17 13:57:05 CET 2003


Op wo 17-12-2003, om 13:39 schreef Bernhard Walle:
> Hello,
> 
> On Wed, 10 Dec 2003 at 15:35 (+0100), Bernhard Walle wrote:
> > 
> > I recognized that dragging a file to the xfprint icon does not work. So
> > I tried to run on console and I got:
> > 
> >         [~/Eigene/notizen] $ xfprint-manager file.txt
> >         Xlib: connection to ":0.0" refused by server
> >         Xlib: XDM authorization key matches an existing client!
> > 
> >         (xfprint4:5717): Gtk-WARNING **: cannot open display:  
> 
> I finally got a bit time to track the problem. I don't know the real
> reason but it only happens if gtk_init() was called before the external
> application. 
> 
> I see no advantage of calling gtk_init() in main.c of xfprint-manager
> before starting the other application so my suggestion is to change
> the behaviour. A patch is attached.
> 
> Any comments? If you don't see a problem I would appreciate if the patch
> comes into 4.0.2.
> 

Looks good, I'll commit it.

	Jasper




More information about the Xfce4-dev mailing list