Commit graph

8 commits

Author SHA1 Message Date
Ben Woods
ce4ac09b17 x11/lightdm: Update to 1.22.0
- Update PAM file to include system defaults
- Set PATH to default from /etc/login.conf
- Don't pass-through empty PATH from lightdm to X11 (breaks runtime)
2017-08-05 08:17:54 +00:00
Ben Woods
2300533f55 x11/lightdm: Fix locale selection
- Allow locale selection on login screen. First, lightdm must be patched
  to correctly detect utf8 locales, which have a UTF-8 suffix on FreeBSD
  instead of utf8 like on Linux systems. Secondly, we have to use locale
  codes in the language menuitem as FreeBSD doesn't have support for
  locale naming (missing _NL_IDENTIFICATION_LANGUAGE implementation).

- Use @sample for lightdm-gtk-greeter config file to prevent it from
  being overwritten when the package is reinstalled / upgraded.

PR:		220614
Submitted by:	pawel
MFH:		2017Q3
2017-07-24 12:47:45 +00:00
Ben Woods
1c5651c00b x11/lightdm: Use correct replacement for clearenv()
The previous patch to replace the Linux clearenv(3) function did not
actually clear the environment, but instead created a new environment
variable named environ with the value "NULL".

PR:		218564
Reported by:	jbeich
Obtained from:	FreeBSD env(1) command
MFH:		2017Q2
2017-04-12 15:44:24 +00:00
Ben Woods
25ea7cceab x11/lightdm: Improve rc script to use daemon(8)
This fixes an issue noticed when sysutils/bsdstats was installed and
enabled at runtime in /etc/rc.conf, but for whatever reason was failing
to send the updated statistics. Upon failing, the lightdm process would
receive a SIGHUP, causing it to stop seconds after the login screen was
displayed (before the user even had a chance to login).
2017-02-12 16:36:59 +00:00
Ben Woods
1ecfa8ea32 Fix typo in Xsession file introduced in r433837 2017-02-12 14:10:53 +00:00
Ben Woods
eae391e7b3 x11/lightdm: Make Xsession check for more system-wide config files
Xresources, Xkbmap and Xmodmap will now be read if they are found in
%%LOCALBASE%%/etc/X11/ or %%LOCALBASE%%/etc/X11/xinit/
with or without a "." prefix.

User-specific versions are still also found in $HOME/ with a "." prefix.
2017-02-11 07:09:56 +00:00
Ben Woods
106f55f757 x11/lightdm: Correct off-by-one error when relating vtN to /dev/ttyvN
- lightdm will now correctly report vt9 as using /dev/ttyv8
2017-01-03 12:00:38 +00:00
Ben Woods
81a45042c3 Add x11/lightdm and x11/lightdm-gtk-greeter.
Lightdm is a display manager that:
* Is cross-desktop - supports different desktops
* Supports different display technologies
* Is lightweight - low memory usage and fast performance
* Has a comprehensive test suite

WWW: https://www.freedesktop.org/wiki/Software/LightDM/

lightdm-gtk-greeter is the reference GTK+ greeter for LightDM.

WWW: https://launchpad.net/lightdm-gtk-greeter

Approved by:	adamw (mentor, implicit)
2016-12-26 06:53:37 +00:00