[Bug 34793] spice client doesn't inhibit screensaver properly

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Apr 2 11:28:19 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=34793

--- Comment #5 from David Jaša <jasa.david at gmail.com> 2012-04-02 11:28:19 PDT ---
(In reply to comment #4)
> Note I believe that this is only the proper behavior when running windowed, I
> believe that in fullscreen mode we should simply inhibit the screensaver,
> relying on the guest's screensaver / locking.
> 

I think that this is only true for safe and not valuable client systems - for
example, locked-down thin clients. For fat clients, this is perfect opportunity
for evil maids to switch spice-client out of full-screen mode (no matter if the
guest is locked or not) and do harm on client computer.

> > > The problem with this is that it is highly desktop environment specific ...
> > 
> > That should not prevent us from implementing a solution for the platforms we
> > care about.
> 
> Agreed, but it is less then ideal which is why I mentioned this.
> 

When we start interacting with client DE wrt screen lock functionality, it
might be worth also to find out all keys that lock screen (including Fn-based
ones on laptops), pass these keys to the client machine and create dynamically
'send key' menu options for passing of these key combos to the guest. First
part is actual behaviour with Ctrl-Alt-Del combos on Win7 clients so users
already expect this behaviour on some clients.

WRT guest screen lock, if there is a generic way to send command to lock screen
(the keycode of Fn-F2 on my Thinkpad T510 comes to my mind), it might make
sense to implement a spice-server feature to lock guest screen after client
disconnect or before client connect. ovirt-agent (rhev-agent) currently
implements such feature but spice-server is a better place for it IMO.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the spice-bugs mailing list