Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 566560 - x11-apps/xinit - Xsession.desktop should depend on minimal USE
Summary: x11-apps/xinit - Xsession.desktop should depend on minimal USE
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-22 23:20 UTC by Lagu
Modified: 2024-02-09 14:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lagu 2015-11-22 23:20:51 UTC
Hi, well i basically, i try to start the Xsession but i can't D: so in the logs:

/etc/X11/Sessions/Xsession: line 106: exec: xsm: don't found

well the xsession is started with this file:

/usr/share/xsessions/Xsession.desktop

and it belongs to xinit, checking the ebuild of the app:

	!minimal? (
...
		x11-apps/xsm
...
	)

src_install() {
...
	insinto /usr/share/xsessions
	doins "${FILESDIR}"/Xsession.desktop
}

The xsession files only should be installed with "-minimal", in the "..." lines i can be missed things.

Thx.
Comment 1 Lagu 2015-11-23 00:08:52 UTC
Xsession file:

if [ -x "$startup" ]; then
        exec "$startup"
elif [ -x "$HOME/.Xclients" ]; then
        exec "$HOME/.Xclients"
elif [ -x /etc/X11/xinit/Xclients ]; then
        exec /etc/X11/xinit/Xclients
elif [ -x /etc/X11/Xclients ]; then
        exec /etc/X11/Xclients
else
        exec xsm
fi
Comment 2 Matt Turner gentoo-dev 2019-03-03 22:41:51 UTC
(In reply to Lagu from comment #1)
> Xsession file:
> 
> if [ -x "$startup" ]; then
>         exec "$startup"
> elif [ -x "$HOME/.Xclients" ]; then
>         exec "$HOME/.Xclients"
> elif [ -x /etc/X11/xinit/Xclients ]; then
>         exec /etc/X11/xinit/Xclients
> elif [ -x /etc/X11/Xclients ]; then
>         exec /etc/X11/Xclients
> else
>         exec xsm
> fi

xsm is the 5th thing it'll try. I think there's value in installing the file even without xsm.
Comment 3 Lagu 2019-03-04 02:11:15 UTC
maybe just include xsm in the depends?