<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<br><br><div><div id="SkyDrivePlaceholder"></div>> Date: Mon, 21 May 2012 12:31:09 -0400<br>> Subject: Re: [libvirt-users] Problem with pty<br>> From: javi@legido.com<br>> To: dano1988@hotmail.it; libvir-list@redhat.com; libvirt-users@redhat.com; roberto.sassu@polito.it; paolo.smiraglia@polito.it<br>> <br>> Are you running the command as root?<br>> <br>> Regards<br>> <br><br>Yes, if I run it from standard libvirt directory it works, if I run it from not standard directory (I configured it with option --prefix=/usr/local/recompiledlibvirt/) it doesn't.<br><br>Daniele<br><br>> On 21/05/2012, Daniele Milani <dano1988@hotmail.it> wrote:<br>> ><br>> > Dear all<br>> > I have the following problem:<br>> > -I'm running libvirt 0.9.11 on ubuntu 12.04;<br>> > -when I try to create a VM with the following configuration:<br>> > ...<br>> > <serial type='pty'><br>> >       <source path='/dev/pts/2'/><br>> >       <target port='0'/><br>> >       <alias name='serial0'/><br>> > </serial><br>> > <console type='pty' tty='/dev/pts/2'><br>> >       <source path='/dev/pts/2'/><br>> >       <target type='serial' port='0'/><br>> >       <alias name='serial0'/><br>> > </console><br>> > ...<br>> > I obtain this output:<br>> > errore: Impossibile creare il dominio da domain_alpha_1.xml<br>> > (error, impossible to create a domain from domain_alpha_1.xml)<br>> > errore: errore interno Process exited while reading console log output:<br>> > chardev: opening backend "pty" failed: Permission denied<br>> ><br>> > Does anyone know what's going wrong and ho to fix it?<br>> ><br>> > Thanks,<br>> ><br>> > Daniele Milani<br>> >                                    <br>> <br>> -- <br>> Sent from my mobile device<br></div>                                          </div></body>
</html>