Bug 92669 - X11 not starting correctly
Summary: X11 not starting correctly
Status: RESOLVED NOTABUG
Alias: None
Product: XQuartz
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 2.7.8 (xserver-1.16.4)
Hardware: Other Mac OS X (All)
: medium normal
Assignee: Jeremy Huddleston Sequoia
QA Contact: Jeremy Huddleston Sequoia
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-25 12:42 UTC by kermarrec
Modified: 2015-10-25 16:35 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description kermarrec 2015-10-25 12:42:12 UTC
Hello.
I did a version upgrade from OSX Yosemite to OSX El Capitan, then XQuartz no longer works.

I use it as follows.
I entered the command " xhost + ClientName "
Then XQuartz starts and I can launch a shell towards my client X server

Today, when I entered the command xhost + ClientName
XQuartz starts but my order is not successful.

I consulted the follow log file:
/Users/MyUser/Library/Logs/X11/org.macosforge.xquartz.log

In the file i have:
X11.app: main (): argc = 2
argv [0] = /Applications/Utilities/XQuartz.app/Contents/MacOS/X11.bin
argv [1] = --listenonly
Waiting for startup parameters via Mach IPC.

X11.app: Failed to bind socket: 13 - Permission denied
X11.app: Failed to bind socket: 13 - Permission denied
X11.app: Failed to bind socket: 13 - Permission denied
X11.app: Failed to bind socket: 13 - Permission denied
X11.app: do_start_x11_server (): argc = 2
argv [0] = / opt / X11 / bin / XQuartz
argv [1] = 0
[2665828.282] XQuartz starting:
[2665828.282] X.Org X Server 1.16.4
[2665828.282] Build Date: 20151016
[2665828.294] x: 0, y: 0, w: 1280, h: 778
[2665828.313] (II) GLX: Initialized Core OpenGL GL provider for screen 0
[2665828.492] X11.app: DarwinProcessFDAdditionQueue_thread: Sleeping to allow xinitrc to catchup.
[2665828.513] (EE) Error loading keymap /tmp/server-0.xkm
[2665828.513] (EE) XKB: Failed to load keymap. Loading default keymap INSTEAD.
[2665830.125] noPseudoramiXExtension = 0, = 1 pseudoramiXNumScreens


I dont understand what is happen.
Can you help me ?
Comment 1 Jeremy Huddleston Sequoia 2015-10-25 15:42:36 UTC
X11.app: Failed to bind socket: 13 - Permission denied

You should investigate that.  Are permissions messed up on /tmp ?

Check:

ls -ld /tmp
ls -ld /private/tmp
ls -ld /private/tmp/.X11-unix
Comment 2 kermarrec 2015-10-25 16:35:58 UTC
Hello.

Thanks a lot for your answer.

I have just reinstall OSX El Capitan over my current version.

After that, i reinstalled Xquartz, now it started correctly.

Here are the rights for folders :

computer:~ user$ ls -ld /tmp
lrwxr-xr-x@ 1 root  wheel  11 Oct 25 16:40 /tmp -> private/tmp
computer:~ user $ ls -ld /private/tmp
drwxrwxrwt  18 root  wheel  612 Oct 25 17:26 /private/tmp
computer:~ user $ ls -ld /private/tmp/.X11-unix
drwxrwxrwt  2 root  wheel  68 Oct 25 17:26 /private/tmp/.X11-unix
computer:~ user $

sorry for the inconvenience.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.