Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] KVM OpenRC (Read 827 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] KVM OpenRC

I installed Artix with OpenRC about a week ago and things have generally been fine. I tried to install KVM today so I can run Whonix but I ran into this issue:
Code: [Select]
error: Failed to connect socket to '/var/run/libvirt/virtqemud-sock': No such file or directory

I managed to get it working fine on my previous install but since then I've forgotten what I did to get it working. Previous install was the LXQT version but this time I installed from base with LVM and LUKS. Oh and while I'm making this post I'll mention that for some reason, each time I boot I have to do startx twice from a different TTY. The first one always goes to black screen but it works when i do it a second time, not sure why and not sure where to start looking.  If any additional info is needed I'm happy to provide, relatively new to this though so sorry if this post is awful.

Re: KVM OpenRC

Reply #1
Needed to start libvirtd. Added it to runlevel but thought it would start automatically after restart. Still unsure about the xinitrc thing though.

Re: KVM OpenRC

Reply #2
but thought it would start automatically after restart.
It should I would have thought. Or what the point of the service file   . Check /var/log/rc.log. To see if there are errors. Best to turn on rc_verbose in  /etc/rc.conf  , reboot then check.