16.02.2023 18:29, Mikhail пишет:
> /etc/X11/xenodm/Xsession file has a check for x bit
> 
> startup=$HOME/.xsession
> [...]
> if [ -s "$startup" ]; then
>         if [ -x "$startup" ]; then
>                 "$startup"
>         else
>                 /bin/sh "$startup"
>         fi
> [...]

This will fail if .xsession is anything but strict sh code.
Lots of shell code requires ksh, not sh.

> diff /var/git/xenocara
> commit - 1322100d794a22f2ed024540585b4b8cbd0ebd3e
> path + /var/git/xenocara
> blob - 748a8c16624bec701895533a501ee9d54f6843a3
> file + app/xenodm/man/xenodm.man
> --- app/xenodm/man/xenodm.man
> +++ app/xenodm/man/xenodm.man
> @@ -1118,7 +1118,6 @@ Don't forget that the file must have execute permissio
>  The user's
>  .Pa .xsession
>  file might look something like this example.
> -Don't forget that the file must have execute permission.

So this sill seems warranted as it changes behaviour.

>  .Bd -literal -offset Ds
>  #! /bin/sh
>  xrdb -merge "$HOME/.Xresources"
> 

Reply via email to