Fedora 26 introduces Wayland as the new display server protocol, and this introduces new challenges.
The wayland developers have chosen not to support running a GUI application as root: which breaks virt-manager and virt-viewer. Both applications need to run as root, in order for them to execute commands such as mount and etc...
There seems to be very little way around this, except to temporarily allow root execution using:
$ xhost +si:localuser:root
Permission can later be revoked using:
$ xhost -si:localuser:root
I hope that a more elegant solution will be forthcoming from either the wayland or libvirt developers.
The wayland developers have chosen not to support running a GUI application as root: which breaks virt-manager and virt-viewer. Both applications need to run as root, in order for them to execute commands such as mount and etc...
There seems to be very little way around this, except to temporarily allow root execution using:
$ xhost +si:localuser:root
Permission can later be revoked using:
$ xhost -si:localuser:root
I hope that a more elegant solution will be forthcoming from either the wayland or libvirt developers.
I couldn't refrain from commenting. Exceptionally well written!
ReplyDelete