From owner-dev-commits-doc-all@freebsd.org Fri Apr 16 01:09:47 2021 Return-Path: Delivered-To: dev-commits-doc-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 18E6D5DF6AF for ; Fri, 16 Apr 2021 01:09:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FLymW01yhz5470; Fri, 16 Apr 2021 01:09:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E807C1BC03; Fri, 16 Apr 2021 01:09:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13G19kjZ097274; Fri, 16 Apr 2021 01:09:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13G19kDJ097273; Fri, 16 Apr 2021 01:09:46 GMT (envelope-from git) Date: Fri, 16 Apr 2021 01:09:46 GMT Message-Id: <202104160109.13G19kDJ097273@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: c479fe8851 - main - Simplify XDM configuration instructions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c479fe88519d2c739817188c2d37126151e308da Auto-Submitted: auto-generated X-BeenThere: dev-commits-doc-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the doc repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2021 01:09:47 -0000 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. <> summarizes the function of each of these files. The exact syntax and usage of these files is described in man:xdm[1].