Here's some incomplete for now notes on getting this up:
https://dev1galaxy.org/viewtopic.php?id=2844
- Need to use ubuntu 22
- install tigervnc to connect
- Follow instructions from here to be able to reboot from a tigervnc session:
https://dev1galaxy.org/viewtopic.php?id=2844
AdminIdentities=unix-user:user needs to put in a file called /etc/polkit-1/localauthority.conf.d/99-my-admin-configuration.conf and just to be on the safe side also in /etc/polkit-1/localauthority.conf.d/60-desktop-policy.conf these two extra files don't fix the problem but they should provide your main user account (obviously if your user name is not user then change the username accordingly) with some admin id Make Display red: redshift -O 1000 Reset Display redshift -x next you need to create another pkla file /etc/polkit-1/localauthority/50-local.d/allow_all_users_to_shutdown_reboot_suspend.pkla which should contain (again if your username is different change user to that name)(I have found this solution works with lxde on lightdm (now am currently searching for a solution to allow lightdm to shutdown when one logs out which I am sure must be something like this) [Allow all users to shutdown] Identity=unix-user:user Action=org.freedesktop.login1.power-off-multiple-sessions ResultAny=yes ResultActive=yes ResultInactive=yes [Allow all users to reboot] Identity=unix-user:user Action=org.freedesktop.login1.reboot-multiple-sessions ResultAny=yes ResultActive=yes ResultInactive=yes [Allow all users to suspend] Identity=unix-user:user Action=org.freedesktop.login1.suspend-multiple-sessions ResultAny=yes ResultActive=yes ResultInactive=yes [Allow all users to ignore inhibit of shutdown] Identity=unix-user:user Action=org.freedesktop.login1.power-off-ignore-inhibit ResultAny=yes ResultActive=yes ResultInactive=yes [Allow all users to ignore inhibit of reboot] Identity=unix-user:user Action=org.freedesktop.login1.reboot-ignore-inhibit ResultAny=yes ResultActive=yes ResultInactive=yes [Allow all users to ignore inhibit of suspend] Identity=unix-user:user Action=org.freedesktop.login1.suspend-ignore-inhibit ResultAny=yes ResultActive=yes ResultInactive=yes
Comments
Post a Comment