The officially official Devuan Forum!

You are not logged in.

#1 2024-01-15 08:54:19

jue-gen
Member
Registered: 2022-07-07
Posts: 101  

[SOLVED] libvirt / Virtual Machine Manager als root?

Hello everyone, what do you think?:
For example, when I start Heads with libvirt / Virtual Machine Manager, the root password is requested. Is that ok or should it be set up so that libvirt / Virtual Machine Manager can be started as a normal user?

Offline

#2 2024-01-23 18:38:41

FOSSenjoyer
Member
Registered: 2024-01-23
Posts: 3  

Re: [SOLVED] libvirt / Virtual Machine Manager als root?

Should work fine, you have added your user at the libvirt group ?

usermod -G libvirt -a $USER

Offline

#3 2024-01-23 20:02:42

jue-gen
Member
Registered: 2022-07-07
Posts: 101  

Re: [SOLVED] libvirt / Virtual Machine Manager als root?

Yes, thank you very much FOSSenjoyer! I much prefer it that way, of course.

Offline

#4 2024-01-24 12:09:19

stopAI
Member
Registered: 2023-04-04
Posts: 118  

Re: [SOLVED] libvirt / Virtual Machine Manager als root?

Also ad your user to

 libvirt-qemu

group

adduser username libvirt-qemu

Offline

#5 2024-01-24 12:24:53

jue-gen
Member
Registered: 2022-07-07
Posts: 101  

Re: [SOLVED] libvirt / Virtual Machine Manager als root?

Yes, done, stopAI. Does that have any additional benefit?

Offline

#6 2024-01-24 16:47:48

stopAI
Member
Registered: 2023-04-04
Posts: 118  

Re: [SOLVED] libvirt / Virtual Machine Manager als root?

Yes, done, stopAI. Does that have any additional benefit?

In order to manage virtual machines as a regular user, that user needs to be added to the that group. Members of the libvirt group have passwordless access to the RW daemon socket by default.

Offline

#7 2024-01-24 17:13:34

jue-gen
Member
Registered: 2022-07-07
Posts: 101  

Re: [SOLVED] libvirt / Virtual Machine Manager als root?

Thank you smile

Offline

Board footer