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

Re: printtool error



On Wed, Jun 05, 2002 at 05:54:07AM -0400, Seneca wrote:
> On Tue, Jun 04, 2002 at 11:42:34PM -0400, Jule Slootbeek wrote:
> > I just installed printtool under woody, and when i tried to run 
> > printtool as root, i got the following error, what does the error mean? 
> > and how can i fix it?
> > I got it trying to run cupsys as well.
> > any ideas?
> > Jule
> > 
> > --error--
> > Xlib: connection to ":0.0" refused by server
> > Xlib: Client is not authorized to connect to Server
> > Application initialization failed: couldn't connect to display ":0.0"
> > Couldn't load bindings.tcl
> > Start from control-panel or set environment variable
> > CONTROL_PANEL_LIB_DIR to the control-panel library dir.
> > (normally this is /usr/share/printtool)
> > --error--
> 
> Are you running X as yourself, then trying to run printtool as root? If
> you are, there are some ways that you can let that happen, and there was
> a large thread about this a short while ago, but I can't look itup right
> now.

Yep - search for XAUTHORITY in the archives. ('export
XAUTHORITY=$HOME/.Xauthority' before running 'su' - not 'su -' - is one
quick fix.)

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: