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

Re: Bastille



--- bob <rrscott@charter.net> wrote:
> > I recently installed Debian.  Got everything up
> and running and  wanted to 
> > run Bastille but keep getting this error message:
> > 
> > Using Tk user interface module.
> > Only displaying questions relevant to the current
> configuration.
> > Could not open config: /etc/Bastille/config,
> defaults used.
> > Xlib: connection to ":0.0" refused by server
> > Xlib: Client is not authorized to connect to
> Server
> > couldn't connect to display ":0.0" at
> /usr/lib/perl5/Tk/MainWindow.pm line 55.
> > MainWindow->new() at
> /usr/lib/perl5/site_perl//Bastille_Tk.pm line 201
> > 
> > I did su root and ran InteractiveBastille.  Could
> someone point me in the 
> > right direction?  Thanks a bunch for any help.
> 
> It must be run as root, not just su.  The first 3
> lines are not to 
> worry.  The 3rd line is because it was run before a
> bastille config file 
> was written.
> Bob Scott
> 
> 

I forgot to include the list on my earlier reply to
this thread. It seems that my advice was not entirely
correct when applied to Bastille. But here it is
anyway.

{{SNIP}}

Are you trying to run it as root from an [x|e|w|a]term
in your xwindows session? What I usually have to do is
``xhost + '' as myself, ``su'' to root then ''export
DISPLAY=:0.0'' Then run my X app as root.

{{SNIP}}

=====
rascharles@yahoo.com
http://www.charleshbaker.com/~chb/
Hacking is a "Good Thing!"
See http://www.tuxedo.org/~esr/faqs/hacker-howto.html

__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com



Reply to: