X doesn't start for user without admin rights

Jon TURNEY jon.turney@dronecode.org.uk
Sat Mar 5 18:02:00 GMT 2011

On 05/03/2011 14:07, Paul Maier wrote:
> X starts fine under a user with local administrator rights.
> When logged in to the same machine with another user that has no admin rights,
> X won't start.
> The log indicates that another X were already running, but it's not.
> Output on the console is:
> giving up.
> /bin3/startxwin:  Connection refused (errno 111):  unable to connect to X server
> /bin3/startxwin:  No such process (errno 3):  Server error.
> Log attached.

> _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
> _XSERVTransOpen: transport open failed for inet6/<PCNAME>:0
> _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
> _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed

Assuming you don't have IPv6 installed, this last line should be the
significant error here.

You should check if /tmp/.X11-unix/X0 exists and is owned by an administrator
(this unix socket should be removed when the X server exits) and that the
directory is writeable by the user you are attempting to run the X server with.

Volunteer Cygwin/X X Server maintainer

Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/

More information about the Cygwin-xfree mailing list