Hi All,
I want to move virsh-manager from root to todd. Where does virsh-manager keep its configuration settings?
Not having much luck with "ls -a" and "find".
Many thanks, -T
On 2020-07-06 11:43, ToddAndMargo via users wrote:
I want to move virsh-manager from root to todd. Where does virsh-manager keep its configuration settings?
I don't know why you'd want to set out doing that. And I think you mean "virt-manager"
Putting "todd" is the libvirt group is really all that is needed.
But, I think, most things are kept under
/var/lib/libvirt/
as well as
/etc/libvirt
You may run into issues with things that may need ownership by root and or qemu as well as selinux contexts. I don't know how well virsh would work under those conditions either.
On 2020-07-05 21:11, Ed Greshko wrote:
On 2020-07-06 11:43, ToddAndMargo via users wrote:
I want to move virsh-manager from root to todd. Where does virsh-manager keep its configuration settings?
I don't know why you'd want to set out doing that. And I think you mean "virt-manager"
Putting "todd" is the libvirt group is really all that is needed.
But, I think, most things are kept under
/var/lib/libvirt/
as well as
/etc/libvirt
You may run into issues with things that may need ownership by root and or qemu as well as selinux contexts. I don't know how well virsh would work under those conditions either.
my virt-manager starts as a user now, but the VM's I configured are gone (back as root)
On Jul 6, 2020, at 00:33, ToddAndMargo via users users@lists.fedoraproject.org wrote:
my virt-manager starts as a user now, but the VM's I configured are gone (back as root)
When you run virt-manager as root, which connection are you using? Is it “qemu:///system” or “qemu:///session”?
-- Jonathan Billings billings@negate.org
On 2020-07-06 06:32, Jonathan Billings wrote:
On Jul 6, 2020, at 00:33, ToddAndMargo via users users@lists.fedoraproject.org wrote:
my virt-manager starts as a user now, but the VM's I configured are gone (back as root)
When you run virt-manager as root, which connection are you using? Is it “qemu:///system” or “qemu:///session”?
Hi Jonathan,
I am not sure what you are asking.
This is my launcher run line:
$ beesu "xhost +si:localuser:root; virt-manager"
When not using virt-manager to conenct to a VM, I use
$ remote-viewer spice://127.0.0.1:xxxx
xxxx is the port for a particular VM.
This is my notes on where things are stored:
XML files: /etc/libvirt/qemu/
"img" files: /var/lib/libvirt/images I store mine in /home/kvm
Log files: ~/.cache/virt-manager/virt-manager.log
Does that help?
-T