maintainer-feedback requested: [Bug 259753] xdm should depend on xsm for not returning to loging screen just after login if no .xsession file

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
Bugzilla Automation <[email protected]> has asked freebsd-x11 (Nobody)
<[email protected]> for maintainer-feedback:
Bug 259753: xdm should depend on xsm for not returning to loging screen just
after login if no .xsession file
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259753



--- Description ---
I installed from:
https://download.freebsd.org/ftp/snapshots/amd64/amd64/ISO-IMAGES/14.0/FreeBSD-
14.0-CURRENT-amd64-20211104-7ac82c96fe7-250453-disc1.iso.xz

After that I installed xdm (following section 5.6 of the handbook.

After rebooting, when I was logging with the right password, it would return
immediately to the logging screen with no apparent errors.

I discovered that the file:
/usr/local/etc/X11/xdm/Xsession have inside it:

f [ -s "$startup" ]; then
	if [ -x "$startup" ]; then
		exec "$startup"
	else
		exec /bin/sh "$startup"
	fi
else
	if [ -r "$resources" ]; then
		/usr/local/bin/xrdb -load "$resources"
	fi
	exec /usr/local/bin/xsm
fi

And so I needed to install X11/xsm (X session manager) with "pkg install
X11/xsm".

After doing so, and rebooted, I was able to boot with xdm... although the
environment I was put it surprised me a bit, but from there it did not took
look for me to edit .xsession to log in with my wanted desktop environment.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.