along with some other XDM users, I noticed the x11/xdm package does not extract a rc script in /usr/local/etc/rc.d, hence it's mandatory to enable an netry in /etc/ttys no start XDM at login by default. I'm currently using a simple service I created myself (tested and working), you may want to revise it and include something similar in the official XDM port.
My XDM a service is defined as follows:
Thursday at 11:41 AM#2
I've noted that there is no xdm service file in any of the rc.d directories I can find (in /etc/rc.d and /usr/local/etc/rc.d) on either of the machines I've tried...Is there something additional I need to install?
Hi, finally another XDM user!
I usually start it from /etc/ttys as per default, turning on the 8th entry, I've never attempted to start as rc service, nad I can confirmx11/xdm port doesn't extract any script inside /usr/local/etc/rc.d, and on the other had, it seems there's no default xdm service in FreeBSD, otherwise rc.conf(5) would have mentioned it, and it doesn't; also see this thread on freebbsd-questions mailing list. Hence, is it possible SirDice had forgotten about having made his own script when he stated so?
Anyway I suppose you could safely make one as well...I'm far less competent than you here, but something like:
# PROVIDE: xdm
# REQUIRE: DAEMON LOGIN FILESYSTEMS moused
# KEYWORD: nojail shutdown
This script is broken and blocks the boot process when enabled. Pending further
investigation on the forums.
Closing it as nobody seems to be interested in fixing it.
I'll put one in.
A commit references this bug:
Date: Wed Jan 8 16:29:08 UTC 2020
New revision: 522434
Add simple rc script for xdm.
All of the other display managers have one, and it saves user
confusion to have this method available too.
Submitted by: firstname.lastname@example.org (based on)
XDM script committed to ports. Thanks for the starting rc script-- apart from -nodaemon it was fine, although you can use devel/rclint for hints on how to format it correctly and required_files isn't really necessary as the config file is installed by the port and doesn't crash xdm if it doesn't exist.