Default limits should be enough nowadays.
This commit is contained in:
parent
cd67c035fe
commit
aab6fc3193
@ -8,6 +8,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>
|
||||
|
||||
|
@ -58,26 +58,8 @@ The gnome-documents manager does not support Office type documents by default
|
||||
(e.g. docx, .odt, .ods) but relies on unoconv to display them. If such support
|
||||
is needed, `doas pkg_add unoconv` will take care of it.
|
||||
|
||||
Default limits
|
||||
==============
|
||||
|
||||
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:
|
||||
|
||||
- bump the "default" class "datasize-cur" to 1024M (*not* recommended)
|
||||
- add users to the "staff" class (*not* recommended)
|
||||
- create a "gnome" login class and add users to it (recommended, see below)
|
||||
|
||||
Cheat sheet
|
||||
===========
|
||||
# cat <<'EOF' >>/etc/login.conf
|
||||
|
||||
gnome:\
|
||||
:datasize-cur=1024M:\
|
||||
:tc=default:
|
||||
|
||||
EOF
|
||||
# usermod -L gnome ${username}
|
||||
# rcctl disable xenodm
|
||||
# rcctl enable multicast messagebus avahi_daemon gdm
|
||||
# reboot
|
||||
|
Loading…
x
Reference in New Issue
Block a user