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

--- Comment #1 from Sebastian Mogl <sebastian.m...@treuchtlingen.de> ---
So after doing some research, this is probably best implemented as a
session-management-backend in plasma-worspace in
libkworkspace/sessionmanagementbackend.cpp¹.

* New Class that implements and only allows logout.
    * logout by running the command: `x2goterminate-session`
    * Session status would be always Ready
* Hook in initializer that uses the X2go-Backend if the `X2GO_SESSION`
envoirnment variable is set before checking for logind after checking for the
test session variable.

¹:
https://invent.kde.org/plasma/plasma-workspace/-/blob/master/libkworkspace/sessionmanagementbackend.cpp

Locking could be handled by running `x2gosuspendsession`, but that isn't
handled by the backends yet.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to