VT is always enabled on Linux, on Solaris and OpenSolaris it is not true always. VT can be on and off by running # svcadm enable vtdaemon # svcadm disable vtdaemon Now CanActivateSessions return TRUE if the seat is static. I'd say on Solaris, it should also check whether the service vtdaemon is online.
Created attachment 32651 [details] [review] Enhancement CanActivateSessions for OpenSolaris
Created attachment 35724 [details] [review] Enhancement CanActivateSessions for OpenSolaris
Created attachment 35746 [details] [review] Rewrite to avoid lots of ifdef based on Ray's review Based on Ray's review the patch - http://lists.freedesktop.org/archives/consolekit/2010-May/000086.html - I rework the patch with solution #2.
Comment on attachment 35746 [details] [review] Rewrite to avoid lots of ifdef based on Ray's review seems fine
Commit into master as http://cgit.freedesktop.org/ConsoleKit/commit/?id=b8a961f91105df661957f6b86922f744bac8b91c
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.