Re: Xlib error messages when running mc as root

From: Tom Pfeifer (tplists_at_optonline.net)
Date: 02/27/05

  • Next message: Francesco: "Re: Try"
    Date: Sun, 27 Feb 2005 06:54:04 -0500
    To: debian-user@lists.debian.org
    
    

    "Roberto C. Sanchez" wrote:
    >
    > Tom Pfeifer wrote:
    > > Not a major problem here, but would appreciate it if anyone has some
    > > insight as to what might be going on.
    > >
    > > Running Sarge - here's the sequence of events:
    > >
    > > - running X as normal user
    > > - open xterm (or rxvt) window
    > > - su to root
    > > - run 'mc' (midnight commander)
    > > - exit from 'mc'
    > > - the following is displayed in the xterm:
    > >
    > > newdebian:/home/tompfr# mc
    > > Xlib: connection to ":0.0" refused by server
    > > Xlib: Invalid XDM-AUTHORIZATION-1 key (failed key comparison)
    > >
    > > On another machine, also running Sarge, the same basic thing happens,
    > > but the 2nd Xlib error message is different:
    > >
    > > debiantt:/home/tompfr# mc
    > > Xlib: connection to ":0.0" refused by server
    > > Xlib: No protocol specified
    > >
    > > The first machine is using xdm, the 2nd kdm.
    > >
    > > In both cases, this just started happening recently - I'd say within the
    > > past week. I update Sarge fairly often, usually 2 or 3 times a week. For
    > > reference, I have another Sarge install on the same machine as the first
    > > case above. That was last updated on Feb 12 and doesn't show this
    > > problem.
    > >
    > > I can get this to stop happening in 2 ways:
    > > 1) Start the X session from 'startx' rather than via a display manager
    > > 2) Run the following command in the xterm before the su to root:
    > > export XAUTHORITY=/home/tompfr/.Xauthority
    > >
    > > But this way of running 'mc' has always worked before without doing
    > > anything special, so I'm wondering what changed. I'm pretty sure this
    > > came about after a recent package update, or after I installed some new
    > > packages. I've added several lately, in particular digikam and all it's
    > > dependencies were added to both installations.
    > >
    > > I can probably track it down by working forward from the older install
    > > (without the problem), but again, if anyone can offer some information
    > > on what causes that type of error message, I'd really appreciate it.
    > >
    >
    > Try either using sudo or sux.
    >
    > -Roberto

    Thanks, but that's not the point....I'd just like to find out what
    changed to cause this behavior.

    Tom

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

  • Next message: Francesco: "Re: Try"

    Relevant Pages

    • Re: XP wont boot and safe mode doesnt work
      ... one major problem is that I'm caught in a catch 22 with having to get sp2 for ... Since disabling some startups ... you can install this with confidence, ... with avast doing the anti virus. ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: Xlib error messages when running mc as root
      ... Tom Pfeifer wrote: ... I have another Sarge install on the same machine as the first ... Universita` del Sannio di Benevento ...
      (Debian-User)
    • Re: [opensuse] Keyboard repeat on SELD10
      ... The install went fine. ... After the install, however, I had a major problem ... have no Palm so could see no harm) After forcing YaST to remove the Palm ... I was observed this keyboard problem in my Compaq Presario V5000. ...
      (SuSE)
    • DNSAPI.DLL
      ... When logging into windows, just before desktop, I get an error ... I found this not to be a virus, but a major problem had occured within ... install a parallel copy of XP, run chkdsk, re-adjust boot.ini to point ...
      (microsoft.public.security.virus)
    • SOLVED(ish) RE: Problem with FreeBSD (4.9-REL to 5.2.1-REL) on NForce 2
      ... Having replaced the faulty memory ... > with a major problem - FreeBSD won't install. ...
      (freebsd-current)