Menu

startx doesn't work (server connection fails)

Help
Chris
2007-08-12
2013-06-04
  • Chris

    Chris - 2007-08-12

    Dea all,

    when I try the "startx" command it results in an endless loop of:

    > Xlib: connection to ":0.0" refused by server
    > Xlib: No protocol specified

    It says connection to server has been refused and here is no protocol specified.
    I actually have no idea how to set a connection and to specify a protocol.
    Does anyone know what to do to start GNU-Darwin in this case?

    > XFree86 Version 4.4.0 / X Window System
    > (protocol Version 11, revision 0, vendor release 6600)
    > [DRI] screen 0 installation complete
    > Screen 0 added: 1280x1024 @ (0,0)
    > Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
    > AUDIT: Sun Aug 12 12:22:27 2007: 533 X: client 1 rejected from local host
    > Xlib: connection to ":0.0" refused by server
    > Xlib: No protocol specified
    >
    >
    > waiting for X server to begin accepting connections .
    > Xlib: connection to ":0.0" refused by server
    > Xlib: No protocol specified
    >
    > ..
    > Xlib: connection to ":0.0" refused by server
    > Xlib: No protocol specified
    >
    > ..
    > Xlib: connection to ":0.0" refused by server
    > Xlib: No protocol specified
    >
    > ..
    > Xlib: connection to ":0.0" refused by server
    > Xlib: No protocol specified

     
    • Chris

      Chris - 2007-08-12

      ok, the solution was to run the startx command as root user. now gnu-darwin starts and works fine. :-)

       
    • proclus realm

      proclus realm - 2007-09-26

      One thing to try might be to launch XDarwin directly.  If that runs, then the problem might be in the .xinitrc or .xsession files in the home directory.

      I use xinit instead of startx so that there is apparently no need to shroot the XServer.  You can though.

      chmod 4755 `which XDarwin`

      It sounds like startx might work for you after running that command.

      Regards,
      proclus
      http://www.gnu-darwin.org/

       

Log in to post a comment.