27 Commits

Author SHA256 Message Date
Alexei Sorokin
3cf4015f34 Accepting request 731591 from home:iznogood:branches:X11:Utilities
- Update to version 1.30.0:
  * Add lightdm_user_get_is_locked ().
  * Hide users with shell /bin/false.
  * Remove unity-system-compositor support (dead upstream).
  * Fix dm-tool crash.
  * Update documentation.
- Refresh patches with quilt.
- Use modern macros.

OBS-URL: https://build.opensuse.org/request/show/731591
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=120
2019-09-18 09:04:31 +00:00
Alexei Sorokin
5649753051 - Update to version 1.28.0.
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=114
2018-10-25 15:07:51 +00:00
Alexei Sorokin
0f78e3dfc0 - Update to version 1.26.0.
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=112
2018-04-12 19:48:18 +00:00
c19c59c65a Accepting request 430301 from home:XRevan86
- Update to version 1.19.4.

OBS-URL: https://build.opensuse.org/request/show/430301
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=81
2016-09-25 17:30:30 +00:00
S. B.
41decf1f2f Accepting request 351631 from home:mimi_vx:branches:X11:Utilities
- update to 1.17.3
- refresh patches:
   lightdm-disable-utmp-handling.patch
   lightdm-set-gdmflexiserver-envvar.patch
   lightdm-sysconfig-support.patch
   lightdm-use-run-dir.patch
   lightdm-xauthlocalhostname-support.patch
   lightdm.spec
* Don't enable the hardware cursor in Unity System Compositor anymore.
      Unity 8 now correctly provides its own cursor and other shells should too
* Handle XDMCP Request packet with no addresses.
* Don't start LightDM if the XDMCP server is configured with a key that
      doesn't exist.
* Add IP addresses to XDMCP log messages.
* Refactor XDMCP error handling.
* Add more XDMCP tests.
* Add a backup-logs option that can be used to disable existing logging
      files having a .old suffix added to them.
* Add LC_PAPER, LC_NAME, LC_ADDRESS, LC_TELEPHONE, LC_MEASUREMENT and
      LC_IDENTIFICATION variables to the list of inherited locale variables.
* Implement XDMCP ForwardQuery.
* Fix small memory leak in XDMCP logging code.
* Disable log backups - this interferes with logrotate.
* Support using libaudit to generate audit events.
* Handle trailing whitespace on boolean values in configuration.
* Update example configuration to more correctly match allowed options.
* Fix unnecessary X server from being launched when locking seats.
* Check the version of the X server we are running so we correctly pass
     -listen tcp when required.
* Allow reading /proc/<PID>/net/dev from within a guest session.

OBS-URL: https://build.opensuse.org/request/show/351631
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=72
2016-01-02 12:53:52 +00:00
Guido Berhoerster
290a0d8fff - update to version 1.12.0
- Fix assumption that the display server is X when running scripts.
  - Don't access .dmrc files until information from these files is
    required.
  - Don't check the logind CanGraphical seat property unless
    login-check-graphical option is set to true. There are too many
    cases of drivers that don't set the appropriate flags for this
    feature to work.
  - Make socket writing code used between greeter and daemon more
    robust to errors.
  - Fix small memory leaks.
  - Improve logging messages.
  - Test improvements.
  - Rework logind code that gets session ID. The previous method
    was racy and a change in lightdm 1.11.7 led to a lockup when
    this race occurred.
  - Handle CanGraphical property on logind seats
  - Use logind to provide the list of seats to use. Deprecate the
    old method of manually defining seats.
  - Add --show-config option that shows combined configuration.
  - Drop the surfaceflinger seat type. This was a temporary
    solution while Ubuntu Phone was migrating to Mir.
  - Add a seat option 'allow-user-switching' that can disable all
    user switching for that seat
  - Add a new session type 'mir-container' that allows the session
    to run inside a custom system compositor
  - Only seat0 takes VT from Plymouth
  - Removed unused GAsyncResultIface.is_tagged as this attribute
    was not available in earlier versions of Glib I/O.
  - Abort autogen if yelp-tools not installed

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=59
2014-09-30 07:57:15 +00:00
Guido Berhoerster
683c729d06 - update to version 1.10.2
- Use logind to provide the list of seats to use
  - Fix crash if running script hooks with non-X display servers
  - Add a seat option 'allow-user-switching' that can disable all
    user switching for that seat
  - Make PAM services configurable
  - Add liblightdm method to get user UID
  - Add a new session type 'mir-container' that allows the session
    to run inside a custom system compositor
  - Add --show-config option that shows combined configuration
  - Use XDG_SESSION_ID from PAM instead of using the logind D-Bus
    API
  - Make socket writing code used between greeter and daemon more
    robust to errors
  - Correct section name in default users.conf file
  - Fix tests failing with Qt 5.3 due to it checking
    getuid/geteuid which we are faking
  - Fix small memory leaks
  - Test improvements
- fix users.conf section name
- enable logind multiseat by default
- configure lightdm to use the xdm PAM services directly instead of
  symlinking them

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=58
2014-09-17 06:29:28 +00:00
Guido Berhoerster
89b6f7b530 - update to version 1.10.0
- Fix return value for Vala bindings to
    Greeter.start_session_sync
  - Fix logging when failing to find session
  - Update the lightdm AppArmor abstraction to allow the guest
    session to start when AppArmor is mediating signals and ptrace
    and fix a minor, but noisy, denial when applications attempt to
    read /proc/<PID>/stat
  - Pass --enable-hardware-greeter to unity-system-compositor for
    Mir sessions on xlocal seats
  - Handle not getting an X connection when attempting to get X
    layouts
  - Read config data from both XDG_DATA_DIRS and XDG_CONFIG_DIRS
  - Ensure X authority is written before X server is started
  - Activate after unlocking a logind session
  - Don't use g_hash_table_get_keys_as_array, it's a glib 2.40
    feature
  - Honour session type requested by greeter for guest sessions
  - Log to wtmp and btmp
  - Implement guest-session config option
  - Handle signals being received in child processes instead of
    treating them like they are received in the daemon
  - Set utmp ut_line to the display name (i.e. :0) to match what
    other programs expect (e.g. 'w')
  - Fix lightdm_greeter_ensure_shared_data_dir_sync returning the
    wrong value
  - Fix shared data tests so you can run test suite without root
    again
  - Be extra careful not to call any non thread safe function after
    a fork

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=55
2014-04-08 21:06:07 +00:00
Guido Berhoerster
feb61bb67d - update to version 1.8.8
- Handle signals being received in child processes instead of
    treating them like they are received in the daemon
  - Ensure X authority is written before X server is started
  - Honour session type requested by greeter for guest sessions
  - Fix some small memory leaks detected by valgrind
  - Fix double removal of source IDs

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=53
2014-03-13 08:43:54 +00:00
Guido Berhoerster
5bf154e8ef - simplify lightdm-xauthlocalhostname-support.patch
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=48
2014-01-23 20:32:41 +00:00
Guido Berhoerster
f0640c65af - Update to version 1.8.2
- Fix crash when starting with existing X servers

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=42
2013-10-16 09:11:41 +00:00
Guido Berhoerster
6818f48c7c - update to version 1.7.18
- Set XDG_VTNR=1 as a fallback if using SeatUnity without a
    functioning compositor or working VT switching, so that logind
    will recognize the VT as active
  - Fix ConsoleKit support broken in 1.7.5
  - Fix --test-mode
  - Add support for running Surfaceflinger sessions
  - surfaceflinger: Set XDG_VTNR=0 if VTs are not available
  - Allow compiling of liblightdm-qt without liblightdm-gobject
  - Add missing documentation for xremote seat options
  - Set session environment variables for guest sessions (1.7
    regression)
  - Don't fail writing X authority if reading it had an error
  - Update environment variables that we pass to Mir

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=38
2013-10-07 10:06:15 +00:00
Guido Berhoerster
48c4681e41 - update to version 1.7.12
- Add xdg-seat config setting
  - Notify Unity System Compositor of the session being
    authenticated
  - Fix crash when greeter quits due to read watch not being
    removed
  - Correctly setup Unity System Compositor environment
  - Improve log messages
  - Fix session locking broken in 1.7.5
  - Load lightdm.conf after lightdm.conf.d/*.conf
  - Also support loading config from /usr/share
  - When switching sessions show a greeter if authentication
    required
  - Set $XDG_CURRENT_DESKTOP if specified in the xsession file
  - Change logging prefixes to make it easier to troubleshoot
    multiseat setups
  - Bring Ubuntu packaging in-tree
  - Correctly set XDG_VTNR for unity sessions that are not
    autologin
  - Add support for Mir sessions and greeters
  - Set XDG_VTNR for unity sessions
  - Fix desktop-session-start upstart signal not being emitted
    since 1.7.5
  - Fix greeter log broken in 1.7.5.

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=35
2013-09-08 19:47:46 +00:00
Guido Berhoerster
1b30bfdddd Accepting request 184084 from home:gberh:branches:X11:Utilities
- update to version 1.7.7
  - Fix uninitialized pointer introduced in 1.7.3
  - Enable compile warnings and fix code generating warnings

- update to version 1.7.6
  - Restore greeter hints that were regressed in 1.7.5.
  - Don't run greeters through session wrapper - regression
    in 1.7.5
  - Quit Plymouth correctly when using the unity seat type
  - Release the VT when the system compositor fails to start
  - Load sessions and greeters from /usr/share/lightdm/sessions and
    /usr/share/lightdm/greeters. The existing directories are
    checked if the sessions are not in these directories.
  - Refactor the Display class so that it merges with the Seat
    class
  - Support running the greeter and session in different display
    servers instead of re-using the same one during a login.
  - Add more regression tests
  - Documentation fixes
  - Set XDG_SEAT and XDG_VTNR environment variables.
  - Add initial support for Unity (i.e. Mir based) seats.
  - Add a greeter wrapper option.
  - Load configuration from /etc/lightdm/lightdm.conf.d.
  - Fix compile warnings
  - Fix tests not running from install directory inside checkout.
  - Fix incorrectly distributed guest-session apparmor data
  - Fix .pc file for liblightdm-qt5-3
  - Add a new option "autologin-in-background" which lets an
    autologin happen in a second display while still showing the
    greeter.

OBS-URL: https://build.opensuse.org/request/show/184084
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=33
2013-07-23 13:31:24 +00:00
Guido Berhoerster
bcfafcfb34 Fixup last commit
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=32
2013-05-05 08:27:11 +00:00
Guido Berhoerster
8c6c7c6774 add back missing patches
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=26
2013-04-15 08:23:41 +00:00
Guido Berhoerster
9705e9f5cb - update to version 1.6.0
- allow VNC command to be specified in lightdm.conf
  - fix build with gobject-introspection 1.35.9
  - fix authentication cancel regression caused in 1.5.2
  - fix stale X server being left behind when using LockSession
    D-Bus API
  - adjust AppArmor profile to also work with logind
  - don't use GIO to access X authority files - it uses GVFS which
    is unnecessary overhead/complexity
  - handle over/underflows when reading from greeter
  - improve warning message when XDMCP packet has length mismatch
  - only report test command line if it fails
  - add more regression tests
  - QLightDM: Add Qt5 version of the library: liblightdm-qt5-2
  - QLightDM: Add some missing role names in UsersModel
  - QLightDM: Add a backgroundPath role to UsersModel
  - QLightDM: Fix potential crash in QLightDM::UsersModel closedown
  - improve guest session apparmor
  - run each test in its own /tmp dir so they can't interfere with
    eachother
  - fix script hooks no longer working with latest glib
  - fix display clean up code
  - add man page for lightdm-set-defaults
  - use xzip for distribution, don't distribute old metadata
  - correctly check if display is active when session quits
  - relicense liblightdm to LGPL-2/LGPL-3 so GPL-2 code can link
    against it
  - selectively lock memory rather than calling mlockall for main
    daemon
- dropped obsolete lightdm-fix-determining-active-display.patch,

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=25
2013-04-15 08:13:18 +00:00
Guido Berhoerster
36d00f8fdf - update to version 1.4.1
- fix script hooks no longer working with latest glib
  - ensure test programs quit when the status socket closes
  - stop deprecation warnings from glib >= 2.36
- updated lightdm-use-fine-grained-memory-locking.patch to
  incoroporate subsequent commit to use mlockall in session-child
  mode

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=21
2013-03-27 09:27:48 +00:00
Guido Berhoerster
34a1be0c84 - changed lightdm-xauthlocalhostname-support.patch so that
XAUTHLOCALHOSTNAME is set to the current hostname instead of just
  "localhost" (see
  https://bugzilla.novell.com/show_bug.cgi?id=538064#c25,
  bnc#796230)
- added lightdm-use-run-dir.patch in order to use /run instead of
  /var/run on >= 12.3

OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=17
2013-01-30 18:08:44 +00:00
Guido Berhoerster
9740a25172 Accepting request 112926 from home:gberh:branches:X11:Utilities
- update to version 1.2.0
  - new major release, please see the included NEWS for a detailed
    list of changes
- dropped lightdm-desktop-session-env-pam.patch since
  DESKTOP_SESSION is now in the PAM environment before
  pam_open_session() is called
- dropped lightdm-remove-xauthority-ownership-fix.patch since the
  code has been removed by upstream
- dropped lightdm-call-g_thread_init-conditionally.patch since the
  problem has been fixed by upstream
- removed lightdm-gtk-greeter and lightdm-qt-greeter which are now
  separate projects

OBS-URL: https://build.opensuse.org/request/show/112926
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/lightdm?expand=0&rev=8
2012-04-09 22:56:49 +00:00
Ruediger Oertel
3b2d33356f Accepting request 86884 from X11:xfce
- update to version 1.0.2
  - fix daemon from blocking if Accounts Service does not exist
  - fix greeter log file not being written
  - don't set LANG environment variable if using Accounts Service
  - fix gdmflexiserver not working due to it not being in PATH
  - don't authenticate the greeter user
  - allow greeters to be disabled in configure flags
  - fix over allocation of read buffer in greeter protocol
  - make sure objects are cleaned up on exit
  - fix minor memory leaks
  - fix hugely oversized allocation in greeter buffer, can trigger
    crashes when entering very long passwords

- update to version 1.0.1
  - GTK greeter now remembers last user
  - GTK greeter now initializes i18n
  - start authentication for automatically selected user in GTK
    greeter
  - link liblightdm-qt against QtGui
  - fix liblightdm-qt crashing when face images are installed
  - set correct permissions on session log files
  - prefer a locale with a codeset over one without for setting
    LANG
  - introduce a lightdm-guest-session-wrapper session command
    which MAC systems like AppArmor and SELinux can use for
    attaching a restrictive policy to guest sessions
  - provide an AppArmor profile for guest session lockdown

OBS-URL: https://build.opensuse.org/request/show/86884
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lightdm?expand=0&rev=13
2011-10-06 14:43:16 +00:00
Ruediger Oertel
33510c1096 Accepting request 85316 from X11:xfce
- update to version 1.0.0
  - explicitly grab keyboard focus in GTK greeter
  - fix removed power and a11y menu items in GTK greeter
  - put system binary directory into path when running in test mode
  - call pam_getenvlist after pam_setcred

OBS-URL: https://build.opensuse.org/request/show/85316
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lightdm?expand=0&rev=10
2011-09-28 15:23:59 +00:00
Sascha Peilicke
da59a39d71 Accepting request 84411 from X11:xfce
- update to version 0.9.8
  - allow lightdm --version to be run as non-root
  - automatically respond to PAM messages without prompts
  - create 'AddLocalXSeat' D-Bus method, and require root to use
    'AddSeat'
  - fix multi-seat configuration picking the same display number
  - use correct D-Bus and power interface in liblightdm-qt
  - run pam_setcred inside the session process so pam_group works
  - make sure one session is always selected in the GTK greeter
- install displaymanager configuration script into
  %{_libexecdir}/X11/displaymanagers/ (bnc#714003)

OBS-URL: https://build.opensuse.org/request/show/84411
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lightdm?expand=0&rev=8
2011-09-22 10:55:59 +00:00
Sascha Peilicke
c976757384 Accepting request 83794 from X11:xfce
- update to current pre-0.9.8 bzr snapshot
  - add ability to set the language of a user from the greeter
  - set LANG variable based on the user language
  - add language selector into GTK greeter (disabled by default)
  - allow TCP/IP connections if xserver-allow-tcp is true
 

- added configuration script for /etc/init.d/xdm

- update to current pre-0.9.8 bzr snapshot
  - Remove GetSeatForCookie and GetSessionForCookie now
    XDG_SEAT_PATH and XDG_SESSION_PATH exist
  - Change log filenames to be unique across different display
    types
  - Fix up script hooks, add regression tests for them
  - Complete removal of X code from the core of LightDM, so it can
    better support various display types
  - Set PAM_TTY to the display name, not the tty device
  - Only unlock displays if switched to from greeter
  - Make log file not system readable
  - Write ~/.Xauthority inside the session process so it cannot be
    hijacked
  - Set PAM_TTY and PAM_XDISPLAY when opening PAM session
  - Add VNC server support
  - Do not write ~/.dmrc and ~/.Xauthority as root, this addresses
    CVE-2011-3349

OBS-URL: https://build.opensuse.org/request/show/83794
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lightdm?expand=0&rev=7
2011-09-21 15:11:10 +00:00
Sascha Peilicke
adb8e98730 Accepting request 81653 from X11:xfce
- update to version 0.9.5
  - use accounts service in the daemon if it is available
  - correctly load seat type in multi seat configuration
  - add display-setup, session-setup and session-cleanup scripting
    hooks
  - fix cancel button in GTK greeter
  - fix line through GTK greeter menu items
  - exit daemon if a seat fails which has exit-on-failure set to
    true
  - add HasGuestAccount property to seat D-Bus interface
  - fix XDMCP authorization
  - update man file
- removed lightdm-fix-underlinking.patch and
  lightdm-add-scripting-hooks.patch which have been integrated
  upstream
- depend on the new gdmflexiserver compatibility wrapper

OBS-URL: https://build.opensuse.org/request/show/81653
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lightdm?expand=0&rev=5
2011-09-09 11:39:09 +00:00
Lars Vogdt
3ea0f7c2f7 Accepting request 80785 from X11:xfce
- add branding for lightdm-gtk-greeter

- reworked lightdm-add-scripting-hooks.patch in order to match the
  version committed upstream
- added lightdm-set-gdmflexiserver-envvar.patch which sets the
  GDMFLEXISERVER environment variable for the gdmflexiserver
  wrapper
- added lightdm-lock-screen-before-switch.patch in order to try
  locking the screen before switching users
- fixed usage of --libexecdir

- use update-alternatives for selecting the default greeter

- added lightdm-fix-underlinking.patch in order to fix an
  underlinking issue with test-qt-greeter

- Added proper Supplements for the greeters
- remove version require for the greeters, 3rd party greeters
  don't always follow the same version as lightdm

- added lightdm-add-scripting-hooks.patch which implements
  scripting hooks compatible with xdm/gdm (lp#602505)

- update to verion 0.9.4
  - lightdm-set-defaults enables tweaking the default session and
    chosen greeter for lightdm
  - move xsessions-directory and xgreeters-directory from
    [SeatDefaults] to [LightDM].
  - add AddSeat D-Bus method for adding dynamic seats
  - added a dm-tool program that allows user switching and adding

OBS-URL: https://build.opensuse.org/request/show/80785
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lightdm?expand=0&rev=3
2011-09-05 14:37:55 +00:00
Sascha Peilicke
817aaf7f0d Accepting request 78002 from X11:xfce
Please add lightdm

OBS-URL: https://build.opensuse.org/request/show/78002
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lightdm?expand=0&rev=1
2011-08-08 13:58:36 +00:00