Re: Linuxconf or gtk error?



> From: Dave Reed <dreed@capital.edu>
> Cc: gnome-list@gnome.org
> 
> > Date: Thu, 22 Jun 2000 07:04:36 +0000
> > From: Darryl <1stflight@donet.com>
> > 
> >   Hello,
> > 
> > After recompiling my kernel I try to run the the latest version of
> > Linuxconf and recieve this error
> > 
> > Error message from remadmin :Xlib:connection to ":0.0" refused by server
> > 
> > Error message from remadmin: Xlib: Client is not authorized to connect
> > to Server
> > Error message from remadmin:
> > Error message from remadmin: Gtk-WARNING **: cannot open display: :0
> > 
> > 
> > I'm running the Helix on a RH 6.0 system and kernel 2.2.15
> 
> I'm guessing you're logged in as a normal user and did an su -
> correct?
> 
> I just checked that and it worked for me, but I seem to remember a
> time when it didn't.
> 
> For a simple solution in either case, try:
> xhost +localhost (before su'ing)
> and then su and run linuxconf.
> 
> HTH,
> Dave
> 
> P.S. this is probably a more appropriate question for a general linux
> list (like redhat-list@redhat.com).

This was sent to me in a private e-mail rather than the list and the
person with the original question so I thought I'd pass it on:

A (generally) better solution, is to add

        session    optional     /lib/security/pam_xauth.so

to

/etc/pam.d/su

This is probably what changed between RedHat versions (since I know
there was a time where I used xhost, but don't have to any more).

Dave




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