summaryrefslogtreecommitdiff
path: root/src/seat.c
Commit message (Collapse)AuthorAgeFilesLines
* Consolidate Seat.setup and Seat.start for readabilityRichard Hansen2023-04-281-7/+0
| | | | | The name "setup" implies early initialization, when it was actually run just before start.
* Try activating an existing greeter before checking for switch supportRichard Hansen2023-04-281-6/+6
| | | | | | | If the seat has an existing greeter session then we should activate it regardless of whether the seat supports user switching. (If the seat does not support user switching then there shouldn't be an existing greeter session, I think. Either way, it doesn't hurt to try.)
* Improve debug logging when seat_switch_to_greeter failsRichard Hansen2023-04-281-1/+14
| | | | This will make it easier to troubleshoot multiseat issues.
* Delete redundant cleanup codeRichard Hansen2023-04-281-5/+2
|
* Determine a session is wayland with a better heuristicworldofpeace2019-12-101-1/+1
| | | | | | | | | Using the compiled in string WAYLAND_SESSIONS_DIR had some problems. In environments like NixOS, which install packages under their own immutable prefix under /nix/store. this assumption that the package would be compiled with `datadir=/usr/share` will break down. Checking if the directory contains the appropriate string is much simpler and will work with platforms like NixOS (or others as this setup popularizes).
* Use more modern *_get_instance_private() method for storing private dataRobert Ancell2018-08-301-114/+187
|
* Remove use of deprecated g_type_class_add_privateRobert Ancell2018-08-301-2/+1
|
* Set XDG_SEAT env variable in script hooksRobert Ancell2018-08-211-0/+2
|
* Move variable declarations from the start of function blocks.Robert Ancell2018-01-121-301/+144
| | | | It's well past 1999...
* Ensure XDMP X sever shuts down when session closesRobert Ancell2018-01-121-3/+3
| | | | | | | | Previously we were attempting to reconnect a greeter, however we can't trust the X server after the session is run, so we should instead close the connection. The XDMCP client is expected to reconnect again. https://bugs.launchpad.net/bugs/1739787
* Fix LightDM failing to start greeters on remote X servers.Robert Ancell2018-01-111-6/+5
| | | | | This change caused the VNC support to break, so contains some logic fixes for that.
* Set names for XDMCP and VNC seatsRobert Ancell2018-01-111-5/+9
|
* Fix warnings with new g_object_ref type checking in GLibRobert Ancell2017-12-111-5/+5
|
* Remove unnecessary semicolons on the end of macrosRobert Ancell2017-12-111-1/+1
|
* Use g_auto to automatically free memoryRobert Ancell2017-09-271-55/+36
|
* Fix timed autologins not using autologin-session when no session specifiedRobert Ancell2017-09-211-0/+7
|
* Expose autologin-session as a hint to the greeterRobert Ancell2017-09-211-0/+6
| | | | Based on a patch by Roland Tapken.
* Fix warning logging on unreffed objectRobert Ancell2016-12-091-5/+7
|
* Don't try and copy environment variables that don't existRobert Ancell2016-12-091-5/+10
|
* Always pass through LD_PRELOAD, LD_LIBRARY_PATH and PATH to sessions/display ↵Robert Ancell2016-12-071-15/+7
| | | | servers
* Set hints for in-session-greetersRobert Ancell2016-08-121-0/+5
|
* Fix greeter being killing a started session once if a new authentication is ↵Robert Ancell2016-08-111-3/+3
| | | | started
* Fix reference count when creating sessions from greetersRobert Ancell2016-08-111-1/+1
|
* Fix warning about display server parentRobert Ancell2016-07-141-0/+3
|
* Allow greeters to run in-sessionRobert Ancell2016-06-281-21/+49
|
* Use seat name in greeter log filenameRobert Ancell2016-06-201-1/+1
|
* Rename xlocal seat to local - it supports Mir and Wayland as well as X. The ↵Robert Ancell2016-06-201-1/+1
| | | | xlocal seat type is now an alias for local
* Remove MirServer class and connect Mir sessions directly to ↵Robert Ancell2016-06-201-31/+64
| | | | UnitySystemCompositor
* Correctly free seat module data on exitRobert Ancell2016-06-071-2/+10
|
* Refactor GreeterSession and Greeter into separate modules. This is to allow ↵Robert Ancell2016-05-191-71/+99
| | | | in-session greeters in the future.
* Use GSubprocess instead of g_spawn_async - it doesn't throw a compiler ↵Robert Ancell2016-04-281-4/+3
| | | | warning about the args
* Add a backup-logs option to re-enable the old log backup modeRobert Ancell2015-10-281-1/+3
|
* Use logrotate to handle files in the default log directory.Robert Ancell2015-10-221-1/+1
|\ | | | | | | | | | | This change introduces support for log rotation using the logrotate tool for file in the default log directory (/var/log/lightdm). To support this scenario, existing system log files are not moved to *.old when starting.
| * Use logrotate to handle files in the default log directoryAlexandros Frantzis2015-10-201-1/+1
| |
* | Handle trailing whitespace on boolean valuesRobert Ancell2015-10-211-1/+13
|/
* Use g_object_clear where we can for readibilityRobert Ancell2015-10-161-48/+20
|
* Tidy up finalize methodsRobert Ancell2015-10-161-11/+5
|
* When locking a session, if an existing greeter can't be reused, then it's ↵Robert Ancell2015-10-161-8/+57
|\ | | | | | | stopped and its display server is reused with a new greeter.
| * Merged changes from parent branch.Jesús González2015-04-281-3/+5
| |\
| * \ Merged changes from parent branch.Jesús González2015-02-131-0/+48
| |\ \ | | | | | | | | Fixed "lock-seat-after-vt-switch" test to expect X server reuse by the new greeter instead of X server reinitiation.
| * | | Store in the seat the replacement greeter that shall be started when the ↵Jesús González2015-01-051-2/+29
| | | | | | | | | | | | | | | | replaced one stops
| * | | When locking a session, if an existing greeter can't be reused, then it's ↵Jesús González2014-12-251-6/+24
| | | | | | | | | | | | | | | | stopped and its display server is reused with a new greeter.
| * | | Add a test showing double locking a seat casues a second display server to startRobert Ancell2014-12-091-0/+2
| | | |
* | | | Merge with trunkRobert Ancell2015-08-101-0/+8
|\ \ \ \
| * | | | Implement autologin-session option (finally). This allows you to set the ↵Robert Ancell2015-08-101-0/+8
| | |_|/ | |/| | | | | | | | | | user session for the autologins (overriding the session for that user)
* | | | Support Wayland sessions / greetersRobert Ancell2015-07-281-1/+5
|/ / /
* | | Quiesce initctl errors when not running under upstartMartin Pitt2015-04-081-3/+5
| |/ |/|
* | Fixes a bug that prevents session locking if the session was unlocked after ↵Jesús González2015-02-121-0/+48
|\ \ | |/ |/| | | changing VT and using the screensaver to unlock the screen.
| * Merged changes from parent branchJesús González2014-11-211-4/+9
| |\ | |/ |/|
| * Merged changes from parent branchJesús González2014-10-141-14/+14
| |\