summaryrefslogtreecommitdiff
path: root/src/session.c
Commit message (Collapse)AuthorAgeFilesLines
* Use logrotate to handle files in the default log directoryAlexandros Frantzis2015-10-201-2/+8
|
* Use g_object_clear where we can for readibilityRobert Ancell2015-10-161-10/+3
|
* Tidy up finalize methodsRobert Ancell2015-10-161-8/+4
|
* Initialize file descriptor handles so we don't attempt to close stdin by ↵Robert Ancell2015-03-161-0/+2
| | | | accident
* Merged changes from parent branchJesús González2014-11-211-0/+2
|\
| * Revert removal of ConsoleKit support.Robert Ancell2014-11-141-6/+34
| | | | | | | | | | | | ConsoleKit has recently been forked for XFCE and Illumos is using ConsoleKit + LightDM. http://lists.freedesktop.org/archives/lightdm/2014-November/000731.html
| * Merge with trunkRobert Ancell2014-11-131-0/+2
| |\
| | * Close session pipe when child process exits - this was leaking file ↵Robert Ancell2014-11-131-0/+2
| | | | | | | | | | | | descriptors for each login / authentication
| * | Merge with trunkRobert Ancell2014-10-021-3/+3
| |\ \ | | |/
| * | Remove ConsoleKit support since upstream is long dead. Please migrate to ↵Robert Ancell2014-10-011-34/+6
| | | | | | | | | | | | logind or use LightDM 1.10 if ConsoleKit support is required.
* | | Merged changes from parent branchJesús González2014-10-141-4/+4
|\ \ \ | | |/ | |/|
| * | Refactored code to replace hardcoded signal identification strings by constants.Jesús González2014-09-301-3/+3
| |/
| * Rename login1_session variable to login1_session_id to be clearerRobert Ancell2014-09-231-10/+10
| |
| * Remove trailing whitespaceRobert Ancell2014-09-191-2/+2
| |
* | Refactored code to add seat_find_session_by_login1_id() for better SOLID ↵Jesús González2014-09-201-11/+11
| | | | | | | | | | practice as suggested by @robert-ancell. Also renamed variables and functions with *login1_session* in their names to *login1_session_id* for better nomenclature coherency.
* | Fixes a bug that prevents session locking if the session was unlocked after ↵Jesús González2014-09-191-2/+9
|/ | | | | changing VT and using the screensaver to unlock the screen. As a side effect, lightdm is now aware of session changes performed using VT switching.
* Convert remaining login1 functions into methods in Login1ServiceRobert Ancell2014-09-041-3/+3
|
* Don't try and guess if the session ID is from logind or ConsoleKit - be explicitRobert Ancell2014-09-031-5/+3
|
* Don't try and read both a login1 session id and ConsoleKit id from the ↵Robert Ancell2014-09-031-1/+1
| | | | session child
* Make a login1 service object (not currently required, but will be used for ↵Robert Ancell2014-08-221-1/+1
|\ | | | | | | automatic multi-seat support)
| * Connect to logind on startupRobert Ancell2014-08-221-1/+1
| |
* | Add a new session type 'mir-container' that allows the session to run inside ↵Robert Ancell2014-08-211-7/+17
|/ | | | a custom system compositor
* When unlocking an existing session cleanly exit the child and refresh the ↵Robert Ancell2014-03-241-0/+16
| | | | PAM credentials
* Flesh out support for activating sessions with CK or logind to be more explicitMichael Terry2014-03-171-0/+13
|
* Fix small leaks detected by valgrindRobert Ancell2014-03-061-1/+1
|
* Be extra careful not to call any non thread safe function after a forkRobert Ancell2014-02-261-9/+12
|
* Remove debugging lineMichael Terry2014-02-191-1/+0
|
* explicitly provide shared dir path to sessionsMichael Terry2014-02-191-0/+13
|
* Remove source after g_child_watch_add completesRobert Ancell2013-12-111-0/+2
|
* Merge from trunkMichael Terry2013-10-281-13/+1
|\
| * Correctly set $XDG_SESSION_CLASS for greeters. This was regressed in 1.7.5 ↵Robert Ancell2013-10-221-13/+1
| | | | | | | | for ConsoleKit and was never passed to logind.
* | Don't attach the name to the display server, instead attach it to the Mir ↵Robert Ancell2013-10-281-0/+15
|/ | | | session
* Log where the session log file isRobert Ancell2013-09-191-0/+2
|
* More restructuring to make switching to greeter on switchRobert Ancell2013-08-241-2/+2
|
* delay setting Session pid to 0 (for logging)a7x2013-08-141-2/+3
| | | | | | The Session pid is currently used in Session log messages. Delay setting it to 0 so that more log messages have a meaningful prefix (to make it possible to correlate them with other log messages).
* remove redundant Session log message texta7x2013-08-141-8/+8
|
* add session PID to Session (including Greeter) log messagesa7x2013-08-141-14/+14
| | | | This makes it easier to debug multiseat setups.
* have Session implement the Logger interfacea7x2013-08-141-1/+21
| | | | | | | | | | | | | This is a step toward logging the session PID in each Session log message, which will make it easier to debug multiseat setups. The PID is set to 0 when the Session process terminates, so it is not possible to follow a Session's complete lifetime in the logs. But it's better than nothing. A future commit could easily change this to log some other identifier, such as the associated Display or Seat name, or the PID before the process terminated.
* Fix session locking broken in 1.7.5Robert Ancell2013-08-081-4/+4
|
* Make Mir tests pass, break VNC and XDMCP tests..Robert Ancell2013-07-261-3/+51
|
* Merge in X module renaming changesRobert Ancell2013-07-241-27/+27
|\
| * Name X modules with standard naming formatRobert Ancell2013-07-241-27/+27
| |
* | Load and use session typesRobert Ancell2013-07-241-1/+8
| |
* | Refactor local session starting inhibitorRobert Ancell2013-07-241-1/+1
| |
* | Don't subclass session - we don't know the session type until after ↵Robert Ancell2013-07-231-0/+16
| | | | | | | | authentication
* | Merge with trunkRobert Ancell2013-07-231-35/+151
|\ \ | |/
| * Merge with trunkRobert Ancell2013-07-211-3/+3
| |\
| | * Stop generating glib marshals by using glib >= 2.30Robert Ancell2013-07-201-3/+3
| | |
| * | Make greeter shutdown more reliable fixing testsRobert Ancell2013-07-191-1/+10
| | |
| * | Fix seat stopping codeRobert Ancell2013-07-181-0/+2
| | |