openxr-explorer icon indicating copy to clipboard operation
openxr-explorer copied to clipboard

Use pkexec or Similar for Changing Runtime

Open damaestro opened this issue 10 months ago • 1 comments

Changing the global runtime in the GUI fails when the application is not running as root. Please consider an update that uses some sort of privilege escalation technique (such as pkexec) so the GUI does not need to run as root. The GUI locks up when you try changing the runtime as non-root.

damaestro avatar Apr 20 '24 23:04 damaestro

More specifically, this seems to happen when ~/.config/openxr/1/active_runtime.json is a symlink to a system provided runtime definition. In that case you would not want to delete the destination, just the symlink.

damaestro avatar May 15 '24 02:05 damaestro