<div dir="ltr">Has anyone ever tried this? Or this is barely supported scenario? Kind of confused here<br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-11-21 13:33 GMT+03:00 Дориан Грей <span dir="ltr"><<a href="mailto:stein.hak@gmail.com" target="_blank">stein.hak@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi all,<br><br></div><div>I use libvirt/kvm for my virtualization needs and have a little scerio in mind that I want to implement: a small linux box boots up, launches an X session and after that launches a virtual machine with a fullscreen sdl window, With this I hope to achive several goals: user gets a familiar experience with guest os ( I had windows in mind), near native graphics responsiveness ( we deploy cctv video servers and viewing live video in a virt machine is a must) and security based on isolation from i/o ports.<br><br></div><div>But when I tried this scenario with   <br><graphics type='sdl' display=':0.0' xauth='/home/stein/.XAuthority'/> <br><br></div><div>in xml file I got:<br><br>linux-aeo3:/etc/libvirt/qemu # virsh start wintest<br>setlocale: No such file or directory<br>error: Failed to start domain wintest<br>error: internal error: early end of file from monitor: possible problem:<br>No protocol specified<br>xcb_connection_has_error() returned true<br>pulseaudio: pa_context_connect() failed<br>pulseaudio: Reason: Connection refused<br>pulseaudio: Failed to initialize PA contextaudio: Could not init `pa' audio driver<br>ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave<br>alsa: Could not initialize DAC<br>alsa: Failed to open `default':<br>alsa: Reason: Device or resource busy<br>ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave<br>alsa: Could not initialize DAC<br>alsa: Failed to open `default':<br>alsa: Reason: Device or resource busy<br>audio: Failed to create voice `dac'<br>No protocol specified<br>Could not initialize SDL(No available video device) - exiting<br><br></div><div>Even if I disable audio and get rid of alsa problems, I still get Could not initialize SDL(No available video device) - exiting error.<br><br></div><div>What am I doing wrong?<br><br></div><div>Please not that lauching qemu-kvm with sdl window goes without problems.<br><br></div><div>Thanks in advance!<br><br></div></div>
</blockquote></div><br></div>