Changeset 6c6b4190


Ignore:
Timestamp:
11/27/2021 07:05:47 PM (2 years ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
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)
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • gnome/platform/gdm.xml

    r91977a4 r6c6b4190  
    138138    </para>
    139139
    140 <screen revision="sysv"><userinput>sed 's@systemd@elogind@' -i data/pam-lfs/gdm-launch-environment.pam &amp;&amp;
     140<screen revision="sysv"><userinput>sed -e 's@systemd@elogind@'                                \
     141    -e '/elogind/isession  required       pam_loginuid.so' \
     142    -i data/pam-lfs/gdm-launch-environment.pam &amp;&amp;
    141143
    142144mkdir build &amp;&amp;
  • introduction/welcome/changelog.xml

    r91977a4 r6c6b4190  
    4343    -->
    4444    <listitem>
     45      <para>November 27th, 2021</para>
     46      <itemizedlist>
     47        <listitem>
     48          <para>[pierre] - Fix Xwayland and GDM so that GNOME can be run
     49          without xorg-server.</para>
     50        </listitem>
     51      </itemizedlist>
     52    </listitem>
     53
     54    <listitem>
    4555      <para>November 26th, 2021</para>
    4656      <itemizedlist>
  • 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.