'Partial' X upgrade, now locked out of X server

From: Paul A. Hoadley (paulh_at_logicsquad.net)
Date: 03/31/04

  • Next message: ryutaroh_at_tsden.org: "(no subject)"
    Date: Wed, 31 Mar 2004 15:22:15 +0930
    To: freebsd-questions@freebsd.org
    
    
    

    Hello,

    It looks like I have upgraded parts of XFree86 while installing some
    other ports, and I now seem unable to make even local connections to
    my X server. I must admit, X is something I set up years ago on this
    machine, and have just set and forgot---as such, I do not even have a
    good appreciation for what information might be useful for people to
    help me debug this.

    The machine was originally running one of the early 4.X releases, and
    that is when X was installed. It's now running 4.8. The following
    have been installed recently:

    drwxr-xr-x 2 root wheel 512 Feb 26 01:28 XFree86-clients-4.3.0_6/
    drwxr-xr-x 2 root wheel 512 Feb 26 01:29 XFree86-fontEncodings-4.3.0/
    drwxr-xr-x 2 root wheel 512 Feb 26 01:30 XFree86-fontScalable-4.3.0/
    drwxr-xr-x 2 root wheel 512 Mar 28 19:36 XFree86-libraries-4.3.0_6/

    I usually login via xdm, started as root with 'xdm -nodaemon &'. I am
    currently unable to log in as a non-root user, and I get the following
    in ~/.xsession-errors when I try:

    Xlib: connection to ":0.0" refused by server
    Xlib: Client is not authorized to connect to Server
    twm: unable to open display ":0"

    I presume this has something to do with access control, but I've never
    needed to set up anything for local access before.

    While I am keen to get suggestions on how to correct this access
    control glitch, I would be happy to fully upgrade X if that's
    recommended. Somewhat embarrassingly, I'm not even sure how this
    should be done---via ports?

    -- 
    Paul.
    mailto:paulh@logicsquad.net
    
    



  • Next message: ryutaroh_at_tsden.org: "(no subject)"

    Relevant Pages

    • Re: cvsup newbie questions
      ... > of freebsd: ... should I just upgrade the ports ... the ports collection is the collection of 3rd-party apps' Makefiles ... and patches - it just simplifies installing applications. ...
      (freebsd-questions)
    • Upgrade strategy for production server
      ... I just finished installing 4.9, ... How long will it be until ports start failing due to using an older ... do for their longterm upgrade strategy with FreeBSD on production servers? ...
      (freebsd-stable)
    • Re: pkgdb -F calling portupgrade -a
      ... upgrade of my stable machine. ... Where it starts installing the port even though you told it not ... system and x.org 7.0 in the ports tree. ... extensive upgrade process in UPDATING is necessary. ...
      (freebsd-hackers)
    • Re: Partial X upgrade, now locked out of X server
      ... On Wed, 31 Mar 2004, Paul A. Hoadley wrote: ... > It looks like I have upgraded parts of XFree86 while installing some ... > other ports, and I now seem unable to make even local connections to ... I would be happy to fully upgrade X if that's ...
      (freebsd-questions)
    • RE: NT4.0 to 2003
      ... I'd give up on the idea of installing NT on the new server unless ... Promote it to the PDC ... Upgrade the temp PDC to Server 2003 and have it be the first AD Domain ... Assuming you go the round about way I'm suggesting you won't be installing ...
      (microsoft.public.windows.server.migration)