Review Request 118804: Register ksmserver as logind session leader

Elias Probst mail at eliasprobst.eu
Thu Jun 19 14:06:18 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/118804/
-----------------------------------------------------------

(Updated June 19, 2014, 2:06 p.m.)


Review request for Plasma.


Changes
-------

Review is on hold for now - needs some work outside ksmserver first.


Bugs: 335390
    https://bugs.kde.org/show_bug.cgi?id=335390


Repository: plasma-workspace


Description (updated)
-------

This is an initial (not yet working) attempt to fix bug#335390.

After some discussion in #systemd, it seems there's some more work needed outside of ksmserver. Will have to figure out the next actions to be taken to continue on this.


Diffs
-----

  ksmserver/screenlocker/logind.cpp dcfc7f321b3cf29ef68aac8006aa37f5e4e00956 

Diff: https://git.reviewboard.kde.org/r/118804/diff/


Testing
-------

- Copy /usr/lib/systemd/system/systemd-logind.service to /etc/systemd/system/systemd-logind.service
- Set "Environment=SYSTEMD_LOG_LEVEL=debug" in the [Service] section of /etc/systemd/system/systemd-logind.service
- Run "systemctl daemon-reload"
- Reboot (also possible without a reboot, but far more complicated and requires to terminate the X session anyways, so a reboot is the most straightforward solution)

To test
- apply patch + rebuild plasma-workspace
- kill ksmserver
- Run "journalctl -n 20 -f -u systemd-logind" to monitor logind
- Run "tail -f ~/.xsession-errors" or "journalctl --user -n 20 -f --user-unit ksmserver" (for systemd user-session users) to monitor ksmserver's output
- restart ksmserver


Thanks,

Elias Probst

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20140619/4a019e33/attachment.html>


More information about the Plasma-devel mailing list