Skip to content
GitLab
Projects Groups 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
    • Contributors
    • Graph
    • Compare
  • Issues 935
    • Issues 935
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 122
    • Merge requests 122
  • 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

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • xorgxorg
  • xserverxserver
  • Issues
  • #1139
Closed
Open
Issue created Feb 15, 2021 by Olivier Certner@OlCeContributor

os/utils.c: Create lock file on explicit display, even on '-displayfd'

An explicit display can be passed on the command-line along with -displayfd, in which case the display selection logic of -displayfd is bypassed (the presence of -displayfd still causes the output of the selected display to the argument fd after sockets have been established; the combination of these parameters is meaningful).

But, in this case, no lock file is used and the server goes through the regular socket creation process, which may or may not give an error (if it doesn't, e.g., when launched as root, an existing socket may be crushed, see also issue xorg/lib/libxtrans#4). This is inconsistent with the case when -displayfd is not present, and in case of failure causes a poorer error to be reported.

os-Always-create-lock-file-on-explicit-display.patch

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking