Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • xserver xserver
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 943
    • Issues 943
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 123
    • Merge requests 123
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xorgxorg
  • xserverxserver
  • Merge requests
  • !220

os: Allow for partial connection with `NoListenAll`

  • Review changes

  • Download
  • Patches
  • Plain diff
Open Olivier Fourdan requested to merge ofourdan/xserver:xwayland-listen-protocol into master Jun 25, 2019
  • Overview 4
  • Commits 2
  • Pipelines 2
  • Changes 2

Xwayland can optionally be socket-activated by the Wayland compositor, in which case it would use only the sockets provided by the compositor.

However, that prevents other transport protocol from working, because when it's given a socket from the Wayland compositor, it would disable all other connections and rely solely on the given socket.

Set partial to a non-zero value initially to hint the XTrans function MakeAllCOTSServerListeners that it's okay if the local connection fails, being already handled by the socket provided by the Wayland compositor.

That allows Xwayland to accept both -listenfd on a socket and -listen on a protocol.

Related: #817 (closed) Signed-off-by: Olivier Fourdan ofourdan@redhat.com

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: xwayland-listen-protocol