lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 3a89381 24/28: Create /tmp/.X11-unix director


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 3a89381 24/28: Create /tmp/.X11-unix directory before running Xvfb
Date: Wed, 12 May 2021 18:14:46 -0400 (EDT)

branch: master
commit 3a8938101aa99beba102857a252f944512a207a8
Author: Vadim Zeitlin <vadim@tt-solutions.com>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Create /tmp/.X11-unix directory before running Xvfb
    
    This avoids the following warning
    
    _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be
    created.
    
    when running it, which seems to be harmless and doesn't prevent the
    tests from passing, but it still seems better not to have it.
    
    Notice that this directory must have 1777 permissions (and not just 777
    or 755) to avoid another warning from X server about this.
---
 .github/workflows/ci.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d6e3e48..ec09e84 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -357,6 +357,8 @@ jobs:
         if: matrix.mingw
         run: |
             echo 'Launching Xvfb...'
+            sudo mkdir /tmp/.X11-unix
+            sudo chmod 1777 /tmp/.X11-unix
             Xvfb :10 -screen 0 1600x1200x24 &
             num_tries=1
             while true; do



reply via email to

[Prev in Thread] Current Thread [Next in Thread]