maintainer-feedback requested: [Bug 259753] xdm should depend on xsm for not returning to loging screen just after login if no .xsession file
Date: Wed, 10 Nov 2021 12:16:28 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-x11 (Nobody) <x11@FreeBSD.org> 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.