Bug 824594

Summary: Xephr apps are all black
Product: [Fedora] Fedora Reporter: Daniel Walsh <dwalsh>
Component: xorg-x11-serverAssignee: X/OpenGL Maintenance List <xgl-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gholms, kevin, peter.hutterer, rdassen, ssorce, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-26 00:40:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Daniel Walsh 2012-05-23 19:44:02 UTC
Description of problem:

Every Xephyr window comes up black, if I downgrade to f17 version everything works.  Certainly breaks sandbox badly.

Comment 1 Daniel Walsh 2012-06-18 16:01:14 UTC
 /usr/bin/Xephyr -displayfd 10
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running


This is the cause.


Can some one look at this?  It is now in Fedora 17.

Comment 2 Daniel Walsh 2012-06-18 16:01:35 UTC
All sandbox apps are now broken.

Comment 3 Daniel Walsh 2012-06-18 16:02:20 UTC
*** Bug 737683 has been marked as a duplicate of this bug. ***

Comment 4 Kevin Fenzi 2012-06-18 16:12:10 UTC
I am seeing this here too. :( 

This is quite anoying, as you can't use X sandbox at all with this bug.

Comment 5 Simo Sorce 2012-06-20 16:08:45 UTC
Up, can we get at least an acknowledgement from the maintainer ?

Comment 6 Peter Hutterer 2012-06-21 01:43:00 UTC
(In reply to comment #1)
>  /usr/bin/Xephyr -displayfd 10
> _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
> _XSERVTransMakeAllCOTSServerListeners: server already running

this usually means you're conflicting with the existing server if $DISPLAY is :0.
/usr/bin/Xephyr -displayfd 10 :1
does that work?

Comment 7 Peter Hutterer 2012-06-21 05:09:26 UTC
sorry, ECOFFEE, didn't think of displayfd properly.

Issue:
Fedora's displayfd patch printed a newline after the DISPLAY. The patch that got merged upstream doesn't, so you're not actually reading the DISPLAY until Xephyr exists.

_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

This is a warning printed once for each display socket that was tried but didn't succeed. It has no effect otherwise and can be ignored when running with -displayfd.


Reference: xserver commit 88bacc49f06da5927f716869f5a32672a8297ed0

Got a build coming up for this.

Comment 8 Fedora Update System 2012-06-21 05:19:28 UTC
xorg-x11-server-1.12.2-3.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/xorg-x11-server-1.12.2-3.fc17

Comment 9 Fedora Update System 2012-06-22 08:38:50 UTC
Package xorg-x11-server-1.12.2-3.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing xorg-x11-server-1.12.2-3.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-9802/xorg-x11-server-1.12.2-3.fc17
then log in and leave karma (feedback).

Comment 10 Simo Sorce 2012-06-25 12:58:33 UTC
Thanks, I tested the package and it fixed the selinux sandbox, thanks a lot.
submitting karma in a few moments.

Comment 11 Fedora Update System 2012-06-26 00:40:57 UTC
xorg-x11-server-1.12.2-3.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.