<div dir="ltr"><div dir="ltr">
<div dir="ltr" class="gmail_attr">Den sön 5 maj 2019 kl 21:26 skrev Gunnar Hjalmarsson <<a href="mailto:gunnarhj@ubuntu.com">gunnarhj@ubuntu.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Ubuntu does that as well, at least when GDM or LightDM is used. Maybe <br>
worth mentioning that the scripts in the Ubuntu versions of those DMs <br>
are run as bash processes. (That was changed a few years ago; previously <br>
they were run as dash processes.)<br>
</blockquote>
</div><div dir="ltr"><br></div><div dir="ltr">OK, that's good but since Ubuntu does have /bin/sh pointing to /bin/dash and the initialisation procedure sources scripts with #!/bin/sh it doesn't go all the way in this case.</div><div><br></div><div>/Gösta</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Den sön 5 maj 2019 kl 21:26 skrev Gunnar Hjalmarsson <<a href="mailto:gunnarhj@ubuntu.com">gunnarhj@ubuntu.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2019-05-04 15:49, Josefsson-Ljungdahl wrote:<br>
> I do not know if Ubuntu sources /etc/profile during graphical login but<br>
> Mint does.<br>
<br>
Ubuntu does that as well, at least when GDM or LightDM is used. Maybe <br>
worth mentioning that the scripts in the Ubuntu versions of those DMs <br>
are run as bash processes. (That was changed a few years ago; previously <br>
they were run as dash processes.)<br>
<br>
-- <br>
Gunnar Hjalmarsson<br>
<a href="https://launchpad.net/~gunnarhj" rel="noreferrer" target="_blank">https://launchpad.net/~gunnarhj</a><br>
</blockquote></div></div>