<html>
    <head>
      <base href="https://bugzilla.rosalinux.ru/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Platform</th>
          <td>2021.1
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_CONFIRMED "
   title="CONFIRMED - GDM does not source the .bash_profile"
   href="https://bugzilla.rosalinux.ru/show_bug.cgi?id=11600">11600</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>GDM does not source the .bash_profile
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>ROSA-based products
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>ROSA Fresh
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>CONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>System (kernel, glibc, systemd, bash, PAM...)
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>bugs&#64;lists.rosalinux.ru
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ilfatgap&#64;gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>bugs&#64;lists.rosalinux.ru
          </td>
        </tr>

        <tr>
          <th>Target Milestone</th>
          <td>---
          </td>
        </tr></table>
      <p>
        <div>
        <pre>При логине через GDM пользовательский .bash_profile не читается. Как не
читаются .profile и .xprofile.
При входе через ssh .bash_profile читается, проблем нет.
Через SDDM все профайлы читаются:

/usr/share/sddm $ grep -r profile *
scripts/wayland-session:    [ -f /etc/profile ] &amp;&amp; . /etc/profile
scripts/wayland-session:    if [ -f $HOME/.bash_profile ]; then
scripts/wayland-session:      . $HOME/.bash_profile
scripts/wayland-session:    elif [ -f $HOME/.profile ]; then
scripts/wayland-session:      . $HOME/.profile
scripts/wayland-session:    [ -f $zdir/zprofile ] &amp;&amp; . $zdir/zprofile
scripts/wayland-session:    [ -f $zhome/.zprofile ] &amp;&amp; . $zhome/.zprofile
scripts/wayland-session:    [ -f /etc/profile ] &amp;&amp; . /etc/profile
scripts/wayland-session:    [ -f $HOME/.profile ] &amp;&amp; . $HOME/.profile
scripts/Xsession:    [ -f /etc/profile ] &amp;&amp; . /etc/profile
scripts/Xsession:    if [ -f $HOME/.bash_profile ]; then
scripts/Xsession:      . $HOME/.bash_profile
scripts/Xsession:    elif [ -f $HOME/.profile ]; then
scripts/Xsession:      . $HOME/.profile
scripts/Xsession:    [ -f $zdir/zprofile ] &amp;&amp; . $zdir/zprofile
scripts/Xsession:    [ -f $zhome/.zprofile ] &amp;&amp; . $zhome/.zprofile
scripts/Xsession:    [ -f /etc/profile ] &amp;&amp; . /etc/profile
scripts/Xsession:    [ -f $HOME/.profile ] &amp;&amp; . $HOME/.profile
scripts/Xsession:[ -f /etc/xprofile ] &amp;&amp; . /etc/xprofile
scripts/Xsession:[ -f /usr/local/etc/xprofile ] &amp;&amp; . /usr/local/etc/xprofile
scripts/Xsession:[ -f $HOME/.xprofile ] &amp;&amp; . $HOME/.xprofile</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>