git: c479fe8851 - main - Simplify XDM configuration instructions

Mateusz Piotrowski <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by 0mp:

URL: https://cgit.FreeBSD.org/doc/commit/?id=c479fe88519d2c739817188c2d37126151e308da

commit c479fe88519d2c739817188c2d37126151e308da
Author:     Mateusz Piotrowski <[email protected]>
AuthorDate: 2021-04-16 01:02:15 +0000
Commit:     Mateusz Piotrowski <[email protected]>
CommitDate: 2021-04-16 01:02:15 +0000

    Simplify XDM configuration instructions
    
    Historically, the easiest way to configure XDM was to edit the ttys(5)
    file. Since last year, however, users can simply set xdm_enable="YES"
    in rc.conf(5) instead.
    
    The original ttys(5) configuration instructions has been preserved in
    the rc script for XDM.
---
 documentation/content/en/books/handbook/x11/_index.adoc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/documentation/content/en/books/handbook/x11/_index.adoc b/documentation/content/en/books/handbook/x11/_index.adoc
index b481c18773..81365c5356 100644
--- a/documentation/content/en/books/handbook/x11/_index.adoc
+++ b/documentation/content/en/books/handbook/x11/_index.adoc
@@ -822,14 +822,14 @@ This section demonstrates how to configure the X Display Manager on FreeBSD. Som
 
 === Configuring XDM
 
-To install XDM, use the package:x11/xdm[] package or port. Once installed, XDM can be configured to run when the machine boots up by editing this entry in [.filename]#/etc/ttys#:
+To install XDM, use the package:x11/xdm[] package or port. Once installed, XDM can be configured to run when the machine boots up by adding the following line to [.filename]#/etc/rc.conf#:
 
-[source,shell]
+[.programlisting]
 ....
-ttyv8   "/usr/local/bin/xdm -nodaemon"  xterm   off secure
+xdm_enable="YES"
 ....
 
-Change the `off` to `on` and save the edit. The `ttyv8` in this entry indicates that XDM will run on the ninth virtual terminal.
+XDM will run on the ninth virtual terminal by default.
 
 The XDM configuration directory is located in [.filename]#/usr/local/etc/X11/xdm#. This directory contains several files used to change the behavior and appearance of XDM, as well as a few scripts and programs used to set up the desktop when XDM is running. <<xdm-config-files>> summarizes the function of each of these files. The exact syntax and usage of these files is described in man:xdm[1].
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-doc-all
To unsubscribe, send any mail to "[email protected]"
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.