maintainer-feedback requested: [Bug 265578] x11/xdm: allow X server arguments to be set through xdm configuration.

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 02 Aug 2022 16:18:10 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-x11 (Nobody)
<x11@FreeBSD.org> for maintainer-feedback:
Bug 265578: x11/xdm: allow X server arguments to be set through xdm
configuration.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265578



--- Description ---
Currently the X server arguments are unconditionally set in the rc.d script. As
a consequence, xdm ignores any X server argument set in the
/usr/local/etc/X11/xdm/Xservers file which should be the normal way to do this.

This patch changes the rc.d script so that:

1- The xdm_tty variable is set to 'default'. This disable the override and
allows xdm to be configured the normal way. xdm uses the ttyv8 terminal by
default anyway.

2- The server arguments are only overridden if the user explicitly specify a
value for xdm_tty.