public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Re: X doesn't start for user without admin rights
@ 2011-03-05 14:35 Eliot Moss
  0 siblings, 0 replies; 3+ messages in thread
From: Eliot Moss @ 2011-03-05 14:35 UTC (permalink / raw)
  To: cygwin-xfree

I wonder if the issue is that the less privileged user cannot create a log file, socket, or similar thing is one of the usual places. This would look like failure to create a lock file because another user has it open. Either way, creating the lock file fails.

Regards -- Eliot Moss
Sent via BlackBerry

--
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/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: X doesn't start for user without admin rights
  2011-03-05 14:07 Paul Maier
@ 2011-03-05 18:02 ` Jon TURNEY
  0 siblings, 0 replies; 3+ messages in thread
From: Jon TURNEY @ 2011-03-05 18:02 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: Paul Maier

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.

-- 
Jon TURNEY
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/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* X doesn't start for user without admin rights
@ 2011-03-05 14:07 Paul Maier
  2011-03-05 18:02 ` Jon TURNEY
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Maier @ 2011-03-05 14:07 UTC (permalink / raw)
  To: cygwin-xfree

[-- Attachment #1: Type: text/plain, Size: 460 bytes --]

Hi,

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.

Thanks for help!

Regards,
  Paul

[-- Attachment #2: XWin.0.log --]
[-- Type: application/octet-stream, Size: 877 bytes --]

Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.9.0.0 (10900000)
Build Date: 2010-10-12

Contact: cygwin-xfree@cygwin.com
XWin was started with the following command line:

/bin/XWin :0 -emulate3buttons 100 -logverbose 3 -multiwindow 

ddxProcessArgument - Initializing default screens
winInitializeScreenDefaults - primary monitor w 1280 h 1024
winInitializeDefaultScreens - native DPI x 96 y 96
_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
_XSERVTransMakeAllCOTSServerListeners: server already running

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't already running


[-- Attachment #3: Type: text/plain, Size: 223 bytes --]

--
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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-05 18:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-05 14:35 X doesn't start for user without admin rights Eliot Moss
  -- strict thread matches above, loose matches on Subject: below --
2011-03-05 14:07 Paul Maier
2011-03-05 18:02 ` Jon TURNEY

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).