Re: [dev] running dwm from/with gnome

From: Eric Pruitt <eric.pruitt_AT_gmail.com>
Date: Mon, 16 May 2016 22:13:26 -0700

On Tue, May 17, 2016 at 10:45:19AM +1000, Timothy Rice wrote:
> There seems to be some confusion around xsessions etc, resulting in some
> factual errors in one or two recent emails. The following might be useful:
> [...]
> I can't speak one way or the other for the .xsession file, but it is not
> necessary for .xinitrc to be set executable. I use the TTY/startx approach
> and my .xinitrc has mode 0600.

Thanks for the information. On Debian, it turns out the executable bit
is in fact not required at least when using LightDM. On RHEL, however,
you have to set the executable bit on the xsession when using the
package xorg-x11-xinit-session. From the source:

    for session in ~/.xsession ~/.Xclients /etc/X11/xinit/Xclients ;
    do
    if [ -f ${session} ] ; then
      exec ${session}
    fi
    done

I'm not sure my other "factual error(s?)" was, but I would be happy to
be enlightened. I always use a login manager and have always used
xsession as a result, and I'm pretty sure the original poster is also
still using a login manager.

Eric
Received on Tue May 17 2016 - 07:13:26 CEST

This archive was generated by hypermail 2.3.0 : Tue May 17 2016 - 07:24:10 CEST