[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/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259753

            Bug ID: 259753
           Summary: xdm should depend on xsm for not returning to loging
                    screen just after login if no .xsession file
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: [email protected]
          Reporter: [email protected]
             Flags: maintainer-feedback?([email protected])
          Assignee: [email protected]

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
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.