[Spice-devel] [vdagent-linux v2 0/5] do not DnD on locked/login screen

Victor Toso victortoso at redhat.com
Sat Apr 23 10:53:12 UTC 2016


I've talked a bit with Ray Strode (halfline) about the best ways to identify
from the agent, if we are in a locked/login screen in both logind and
console-kit based systems. I'm cc'ing him here in case we have more questions.
Many thanks Ray.

This series intend to fix DnD on two different situations:
 1.) User is logged in but session is locked
  * Patch 0001 for systemd-logind systems
    (rhel7) https://bugzilla.redhat.com/show_bug.cgi?id=1323623
  * Patch 0003 for console-kit systems (RHEL6)
    (rhel6) https://bugzilla.redhat.com/show_bug.cgi?id=1323630

 2.) No user is logged, system is on Loggin Screen
  * Patch 0004 for systemd-logind systems
    (rhel7) https://bugzilla.redhat.com/show_bug.cgi?id=1328761
  * Patch 0005 for console-kit systems
    (rhel6) https://bugzilla.redhat.com/show_bug.cgi?id=1323640

More details on previous email:
https://lists.freedesktop.org/archives/spice-devel/2016-April/028340.html

v1->v2
* Cleanup patches sent in a different batch
  https://lists.freedesktop.org/archives/spice-devel/2016-April/028454.html
* Change function name from session_is_locked to
  session_info_session_is_locked
* Include check for session type to avoid DnD on Loggin Screen

Victor Toso (5):
  session-info: check for a locked session
  build-sys: console-kit with dbus as default
  console-kit: implement check for locked session
  session-info: check if session belongs to user
  console-kit: implement check for session type

 configure.ac                 |  17 ++---
 src/console-kit.c            | 156 ++++++++++++++++++++++++++++++++++++++++++-
 src/dummy-session-info.c     |  10 +++
 src/session-info.h           |   4 ++
 src/systemd-login.c          | 154 ++++++++++++++++++++++++++++++++++++++++++
 src/vdagent.c                |   9 +++
 src/vdagentd-proto-strings.h |   1 +
 src/vdagentd-proto.h         |   1 +
 src/vdagentd.c               |  16 +++++
 9 files changed, 354 insertions(+), 14 deletions(-)

-- 
2.5.5



More information about the Spice-devel mailing list