Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 2021 01:09:46 GMT
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org
Subject:   git: c479fe8851 - main - Simplify XDM configuration instructions
Message-ID:  <202104160109.13G19kDJ097273@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by 0mp:

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

commit c479fe88519d2c739817188c2d37126151e308da
Author:     Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2021-04-16 01:02:15 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
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].
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104160109.13G19kDJ097273>