<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Both virt-install and virsh require that your user, at a minimum,
be a member of libvirt. You can alternatively run commands as
root.<br>
</p>
<br>
<div class="moz-cite-prefix">On 05/11/2016 08:15 PM, Héctor Abreu
wrote:<br>
</div>
<blockquote
cite="mid:CAOf8sh+-jh8VpJpNQoJivSbVseXpZNGkQXqgqPZNJ35H5N-g_Q@mail.gmail.com"
type="cite">
<p dir="ltr">Hi,</p>
<p dir="ltr">I am new to virt-install but I read in some tutorials
(and I think on the man page too) that you need root privileges
in order to run virt-install commands.</p>
<p dir="ltr">Regards,</p>
<p dir="ltr">Héctor.</p>
<div class="gmail_quote">El may 11, 2016 7:05 PM, "Narahari 'n'
Savitha" <<a moz-do-not-send="true"
href="mailto:savithari@gmail.com">savithari@gmail.com</a>>
escribió:<br type="attribution">
<blockquote class="quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><span style="font-size:13px">Friends:</span>
<div style="font-size:13px"><br>
</div>
<div style="font-size:13px">I need some help and guidance
from you regarding this virt-install issue I am seeing.</div>
<div style="font-size:13px"><br>
</div>
<div style="font-size:13px">OS : SuseEnterpriseLinuxServer
(SLES) 12 Service Pack 1</div>
<div style="font-size:13px">virt-install version on the box</div>
<div style="font-size:13px">
<div>virtual@SLES12-bare:~> virt-install --version</div>
<div>1.2.1</div>
</div>
<div style="font-size:13px"><br>
</div>
<div style="font-size:13px">libvirt version
: libvirt-1.3.4-565.1.x86_64</div>
<div style="font-size:13px"><br>
</div>
<div style="font-size:13px">What I tried:</div>
<div style="font-size:13px">=========</div>
<div style="font-size:13px"><br>
</div>
<div style="font-size:13px">I tried to start virt-install as
regular user and I am seeing errors listed below.</div>
<div style="font-size:13px"><br>
</div>
<div style="font-size:13px">If I start the same with sudo it
works (the user virtual shown here is a sudo enabled user)</div>
<div style="font-size:13px"><br>
</div>
<div style="font-size:13px">I really want to start the
virt-install as a regular user.</div>
<div style="font-size:13px"><br>
</div>
<div style="font-size:13px">Please help.</div>
<div style="font-size:13px"><br>
</div>
<div style="font-size:13px">Error</div>
<div style="font-size:13px">====</div>
<div style="font-size:13px"><br>
</div>
<div style="font-size:13px">-----------------------------------------------------------------------------------------------------------------------------</div>
<div style="font-size:13px">
<div>virtual@SLES12-bare:~> virt-install --connect
qemu:///session -n SLES12_SP1 --memory 4096 --vcpus 2
--cdrom
/data/ADP_x86_64_SLES12SP1.x86_64-12.1.6.preload.iso
--graphics spice --disk /data/kvm_images/SLES12_SP1.img</div>
<div>WARNING Graphics requested but DISPLAY is not set.
Not running virt-viewer.</div>
<div>WARNING No console to launch for the guest,
defaulting to --wait -1</div>
<div><br>
</div>
<div>Starting install...</div>
<div>ERROR Failed to connect socket to
'/run/user/500/libvirt/virtlogd-sock': No such file or
directory</div>
<div>Domain installation does not appear to have been
successful.</div>
<div>If it was, you can restart your domain by running:</div>
<div> virsh --connect qemu:///session start SLES12_SP1</div>
<div>otherwise, please restart your installation.</div>
</div>
<div style="font-size:13px"><br>
</div>
<div style="font-size:13px">--------------------------------------------------------------------------------------------------------------------------------</div>
<div style="font-size:13px"><br>
</div>
<div style="font-size:13px">Thank You for your time and
attention.</div>
</div>
<br>
_______________________________________________<br>
Ale mailing list<br>
<a moz-do-not-send="true" href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a moz-do-not-send="true"
href="http://mail.ale.org/mailman/listinfo/ale"
rel="noreferrer" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a moz-do-not-send="true"
href="http://mail.ale.org/mailman/listinfo" rel="noreferrer"
target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Ale mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ale@ale.org">Ale@ale.org</a>
<a class="moz-txt-link-freetext" href="http://mail.ale.org/mailman/listinfo/ale">http://mail.ale.org/mailman/listinfo/ale</a>
See JOBS, ANNOUNCE and SCHOOLS lists at
<a class="moz-txt-link-freetext" href="http://mail.ale.org/mailman/listinfo">http://mail.ale.org/mailman/listinfo</a>
</pre>
</blockquote>
<br>
</body>
</html>