Re: auto connect to guest host as simple user (non root)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 21 Sep 2016 12:56 pm, "Adel ESSAFI" <adelessafi@xxxxxxxxx> wrote:
>
> Dear list
> I have installed a guest windows xp system on my fedora 24 machine.
>
> I configured libvirt to run automatically at boot phase and it worked fine
>
> [etudiant@localhost ~]$  lsmod | grep kvm
> kvm_intel             184320  3
> kvm                   552960  1 kvm_intel
> irqbypass              16384  1 kvm
>
> I want to know, now, if it is possible to make a non-root user
> (etudiant in my case) to connect to the guest VM with no need to set
> the root password.
>
>

So far as I recall the default polkit rules for libvirtd allow connections if the user is in the libvirt group.

You'll also want to set an environment variable so that the default libvirt connection will be system rather than session.

This article I wrote a fair while back should help with configuration of polkit for libvirt

https://www.hogarthuk.com/?q=node/2

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux