Ignore:
Timestamp:
11/27/2021 07:05:47 PM (6 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
11.1, lazarus, qt5new, trunk, upgradedb, xry111/intltool, xry111/test-20220226
Children:
00cb5039
Parents:
91977a4
git-author:
Pierre Labastie <pierre.labastie@…> (11/27/2021 06:37:11 PM)
git-committer:
Pierre Labastie <pierre.labastie@…> (11/27/2021 07:05:47 PM)
Message:

Fix xwayland and gdm for non xorg GNOME on sysv

  • create the /tmp/.X11-unix directory with permission 1777 using /etc/sysconfig/createfiles
  • add pam_loginuid.so as required in /etc/pam.d/gdm-launch-environment
  • ensure /etc/X11/xorg.conf.d exists after installing xwayland (both sysv and systemd)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/installing/xwayland.xml

    r91977a4 r6c6b4190  
    177177    </para>
    178178
    179 <screen role="root"><userinput>ninja install</userinput></screen>
     179<screen role="root" revision="sysv"><userinput>ninja install &amp;&amp;
     180mkdir -pv /etc/X11/xorg.conf.d &amp;&amp;
     181cat &gt;&gt; /etc/sysconfig/createfiles &lt;&lt; "EOF"
     182<literal>/tmp/.X11-unix dir 1777 root root</literal>
     183EOF</userinput></screen>
     184
     185<screen role="root" revision="systemd"><userinput>ninja install &amp;&amp;
     186mkdir -pv /etc/X11/xorg.conf.d</userinput></screen>
     187
    180188  </sect2>
    181189
     
    195203      install the X server.
    196204    </para>
     205
     206    <para>
     207      <command>mkdir -pv /etc/X11/xorg.conf.d</command>: This directory is
     208      needed to put configuration files for Xwayland. This command ensures
     209      that it exists, as some applications might use it without first
     210      creating it.
     211    </para>
     212
     213    <para revision="sysv">
     214      <command>cat &gt;&gt; /etc/sysconfig/createfiles...</command>: This
     215      command creates the <filename class="directory">/tmp/.X11-unix</filename>
     216      directory at startup, and ensures that the permissions and ownership
     217      are correct as required by applications using Xwayland.
     218    </para>
     219
    197220  </sect2>
    198221
Note: See TracChangeset for help on using the changeset viewer.