No need to manually create a login.conf class anymore since gdm provides

it by default.
This commit is contained in:
ajacoutot 2022-02-17 13:15:30 +00:00
parent 5630b4f9f0
commit 83cc4248be
2 changed files with 4 additions and 13 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.218 2022/01/11 21:54:51 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.219 2022/02/17 13:15:30 ajacoutot Exp $
COMMENT-main= GNOME desktop meta-package (core installation)
COMMENT-extras= GNOME desktop meta-package (world installation)
@ -10,6 +10,8 @@ PKGNAME= gnome-${V}
PKGNAME-main= gnome-${V}
PKGNAME-extras= gnome-extras-${V}
REVISION-main= 0
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>, \
Antoine Jacoutot <ajacoutot@openbsd.org>

View File

@ -1,4 +1,4 @@
$OpenBSD: README-main,v 1.46 2021/01/08 09:06:39 ajacoutot Exp $
$OpenBSD: README-main,v 1.47 2022/02/17 13:15:30 ajacoutot Exp $
+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
@ -63,8 +63,6 @@ is needed, `doas pkg_add unoconv` will take care of it.
Default limits
==============
Users
-----
The default limits set in login.conf(5) are not high enough to properly run
GNOME. The default "datasize" must be bumped. There are several ways to do this:
@ -72,13 +70,6 @@ GNOME. The default "datasize" must be bumped. There are several ways to do this:
- add users to the "staff" class (*not* recommended)
- create a "gnome" login class and add users to it (recommended, see below)
X / Login manager
-----------------
To avoid running out of file descriptors, the Xorg(1) session should run with
higher limits.
When using the GNOME Display Manager (GDM), this can be done creating a "gdm"
login class and expand it from the xenodm one (see below).
Cheat sheet
===========
# cat <<'EOF' >>/etc/login.conf
@ -87,8 +78,6 @@ gnome:\
:datasize-cur=1024M:\
:tc=default:
gdm:\
:tc=xenodm:
EOF
# usermod -L gnome ${username}
# rcctl disable xenodm