[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Review Request 118804: Register ksmserver as logind session leader
From:       "Elias Probst" <mail () eliasprobst ! eu>
Date:       2014-06-23 20:26:55
Message-ID: 20140623202655.22642.97353 () probe ! kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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

(Updated June 23, 2014, 8:26 p.m.)


Status
------

This change has been discarded.


Review request for Plasma.


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


Repository: plasma-workspace


Description
-------

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.

See also my mail on systemd-devel: \
http://lists.freedesktop.org/archives/systemd-devel/2014-June/020238.html


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


[Attachment #5 (text/html)]

<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 \
solid;">  <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="https://git.reviewboard.kde.org/r/118804/">https://git.reviewboard.kde.org/r/118804/</a>
  </td>
    </tr>
   </table>
   <br />



<table bgcolor="#e0e0e0" width="100%" cellpadding="8" style="border: 1px gray \
solid;">  <tr>
  <td>
   <h1 style="margin-right: 0.2em; padding: 0; font-size: 10pt;">This change has been \
discarded.</h1>  </td>
 </tr>
</table>
<br />


<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" \
style="background-image: \
url('https://git.reviewboard.kde.org/static/rb/images/review_request_box_top_bg.ab6f3b1072c9.png'); \
background-position: left top; background-repeat: repeat-x; border: 1px black \
solid;">  <tr>
  <td>

<div>Review request for Plasma.</div>
<div>By Elias Probst.</div>


<p style="color: grey;"><i>Updated June 23, 2014, 8:26 p.m.</i></p>







<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Bugs: </b>


 <a href="https://bugs.kde.org/show_bug.cgi?id=335390">335390</a>


</div>



<div style="margin-top: 1.5em;">
 <b style="color: #575012; font-size: 10pt;">Repository: </b>
plasma-workspace
</div>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
 <table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" \
style="border: 1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">This is an initial (not yet working) attempt to fix bug#335390.

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

See also my mail on systemd-devel: \
http://lists.freedesktop.org/archives/systemd-devel/2014-June/020238.html</pre>  \
</td>  </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">- Copy /usr/lib/systemd/system/systemd-logind.service to \
                /etc/systemd/system/systemd-logind.service
- Set &quot;Environment=SYSTEMD_LOG_LEVEL=debug&quot; in the [Service] section of \
                /etc/systemd/system/systemd-logind.service
- Run &quot;systemctl daemon-reload&quot;
- 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 &quot;journalctl -n 20 -f -u systemd-logind&quot; to monitor logind
- Run &quot;tail -f ~/.xsession-errors&quot; or &quot;journalctl --user -n 20 -f \
--user-unit ksmserver&quot; (for systemd user-session users) to monitor \
                ksmserver&#39;s output
- restart ksmserver

</pre>
  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>ksmserver/screenlocker/logind.cpp <span style="color: \
grey">(dcfc7f321b3cf29ef68aac8006aa37f5e4e00956)</span></li>

</ul>

<p><a href="https://git.reviewboard.kde.org/r/118804/diff/" style="margin-left: \
3em;">View Diff</a></p>







  </td>
 </tr>
</table>




  </div>
 </body>
</html>



_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic