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

            Bug ID: 265578
           Summary: x11/xdm: allow X server arguments to be set through
                    xdm configuration.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11@FreeBSD.org
          Reporter: cmangin@arobas.net
             Flags: maintainer-feedback?(x11@FreeBSD.org)
          Assignee: x11@FreeBSD.org

Created attachment 235637
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=235637&action=edit
Patch to the x11/xdm port

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.