On 20/02/2018 19:39, Bruce Dubbs wrote: > Pierre Labastie wrote: >> On 20/02/2018 12:47, Pierre Labastie wrote: >>> On 31/01/2018 10:24, [email protected] wrote: >>>> Version: systemd edition - Version 2018-01-30 >>>> [...] >>>> - EXO is required if Xfwm is present. (Please note that we can build Xfwm >>>> without EXO package while we can use Xfwm with lxqt) >>>> >>> >>> Actually, there is an advice at the beginning of the Xfce Desktop chapter: >>> "Build Xfce core packages in the order presented in the book for the easiest >>> resolution of dependencies." >>> And EXO is presented before xfwm in this chapter. >>> >> >> Actually, it is lightdm-gtk-greeter, which requires EXO (exactly, "configure" >> tests for exo-csource and errors out if not found). But actually, exo-csource >> is only needed in maintainer mode, which is disabled by default. So configure >> can be fooled with "HAVE_EXO_CSOURCE=yes ./configure ...". NB: CFLAGS should >> include -Wno-error=deprecated-declarations. >> >> Same for itstool in lightdm. It is not used during a normal build, only >> tested >> by configure. configure can be fooled with "ITSTOOL=/bin/true ./configure >> ..." >> >> To finish with lightdm, there is a PATH problem: if the DE is installed in >> /opt, (with .desktop file in /usr), it seems the PATH is not set correctly, >> and login fails. I guess "source /etc/profile" should be added somewhere... >> Not found yet > > In /etc/lightdm/Xsession, I have: > > > echo "Running X session wrapper" > > # Load profile > for file in "/etc/profile" "$HOME/.bash_profile"; do > if [ -f "$file" ]; then > echo "Loading profile from $file"; > . "$file" > fi > done > > I am not sure where I figured out the Xsession. It is not installed by > default. I am attaching what I have. > > -- Bruce
I found that adding a line ". /etc/profile" in /usr/bin/lightdm-session is enough, at least for starting LXQt. I suggest to propose that in the book. There are two ways to do that: a sed (but it looks ugly), or a full cat. I'll commit the sed (because I've tested it), but feel free to modify. Pierre -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
