diff options
author | Ben Woods <woodsb02@FreeBSD.org> | 2019-02-04 18:26:14 +0800 |
---|---|---|
committer | Ben Woods <woodsb02@FreeBSD.org> | 2019-02-04 18:26:14 +0800 |
commit | 690e8861091143545848e63116078c88f9357c91 (patch) | |
tree | 0a988b8720c4cebcb04c52cf6c45bef61f44f831 /x11 | |
parent | 946a595f42adc2bfb85019751e43d105adfb4604 (diff) | |
download | freebsd-ports-gnome-690e8861091143545848e63116078c88f9357c91.tar.gz freebsd-ports-gnome-690e8861091143545848e63116078c88f9357c91.tar.zst freebsd-ports-gnome-690e8861091143545848e63116078c88f9357c91.zip |
x11/lightdm: Include pkg-message explaining how to fix LightDM coredumps
PR: 229471
Submitted by: madpilot
Reported by: Manuel Stühn <freebsd@justmail.de>
MFH: 2019Q1
Diffstat (limited to 'x11')
-rw-r--r-- | x11/lightdm/Makefile | 2 | ||||
-rw-r--r-- | x11/lightdm/pkg-message | 9 |
2 files changed, 9 insertions, 2 deletions
diff --git a/x11/lightdm/Makefile b/x11/lightdm/Makefile index 94487595bbe4..1da5f8533aad 100644 --- a/x11/lightdm/Makefile +++ b/x11/lightdm/Makefile @@ -3,7 +3,7 @@ PORTNAME= lightdm PORTVERSION= 1.24.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11 MASTER_SITES= https://launchpad.net/${PORTNAME}/${PORTVERSION:R}/${PORTVERSION}/+download/ diff --git a/x11/lightdm/pkg-message b/x11/lightdm/pkg-message index d12f83c8d11a..e7dfa70e54cd 100644 --- a/x11/lightdm/pkg-message +++ b/x11/lightdm/pkg-message @@ -1,2 +1,9 @@ -For lightdm to function, it requires one of the available greeters to be +For LightDM to function, it requires one of the available greeters to be installed, which are available in the ports tree at x11/lightdm-*greeter* + +LightDM needs the maximum amount of memory a daemon may request to be locked +into main memory using mlock(2) to be increased above the FreeBSD default. +Without doing this, LightDM will often crash when the service is started. +To increase this limit, run the following commands: +# sed -i '' -e 's/memorylocked=128M/memorylocked=256M/' /etc/login.conf +# cap_mkdb /etc/login.conf |