the following change in the 84_session_management.patch fixes the issue (it only hides the shutdown and reboot items, screen locking persists and works fine)
-+ gtk_widget_show(adata->reboot_item); -+ gtk_widget_show(adata->shutdown_item); ++ if (!g_getenv ("LTSP_CLIENT")) { ++ gtk_widget_show(adata->reboot_item); ++ gtk_widget_show(adata->shutdown_item); ++ }
the following change in the 84_session_ management. patch fixes the issue (it only hides the shutdown and reboot items, screen locking persists and works fine)
-+ gtk_widget_ show(adata- >reboot_ item); show(adata- >shutdown_ item); show(adata- >reboot_ item); show(adata- >shutdown_ item);
-+ gtk_widget_
++ if (!g_getenv ("LTSP_CLIENT")) {
++ gtk_widget_
++ gtk_widget_
++ }