Hello, I''m using fedora 7 with xen 3.1 from binaries rpm. I try to use the sdl display, but when i configure my VM with *<graphics type=''sdl''/> * no window pops up. Thanks to goolgle, I''ve found someone how got the same issue, and it seems that qemu-dm was not compile whith sdl support. What is the best way to recompile qemu-dm whith sdl support? In fact, I''d like to have sdl for local display of my VM, and vnc for remote access to it. What configuration should I use to do so? Thanks
"mathieu rohon" <nooroon@gmail.com> writes:> Hello, > > I''m using fedora 7 with xen 3.1 from binaries rpm. > I try to use the sdl display, but when i configure my VM with > > *<graphics type=''sdl''/> > * > no window pops up. > Thanks to goolgle, I''ve found someone how got the same issue, and it > seems that qemu-dm was not compile whith sdl support. > What is the best way to recompile qemu-dm whith sdl support? > > In fact, I''d like to have sdl for local display of my VM, and vnc for > remote access to it. > What configuration should I use to do so? > > ThanksSupport for the SDL display in libvirt is incomplete[*]. You''d have to bypass libvirt to use it. Are you sure you really need SDL? It has a serious usability problem: if you close its window, the PV framebuffer backend terminates, and you have to reboot the guest to get another one[**]. Why can''t you stick to VNC? It works fine locally. Sorry, I can''t answer you question on qemu-dm. [*] https://bugzilla.redhat.com/show_bug.cgi?id=240233 [**] Actually, you can restart the backend by hand, if you know what you''re doing. Cheesy hacks in the backend make this work.
On Fri, Nov 23, 2007 at 11:22:17AM +0100, mathieu rohon wrote:> Hello, > > I''m using fedora 7 with xen 3.1 from binaries rpm. > I try to use the sdl display, but when i configure my VM with > > *<graphics type=''sdl''/> > * > no window pops up. > Thanks to goolgle, I''ve found someone how got the same issue, and it > seems that qemu-dm was not compile whith sdl support. > What is the best way to recompile qemu-dm whith sdl support? > > In fact, I''d like to have sdl for local display of my VM, and vnc for > remote access to it.You can''t have both. You have to choose one, and VNC is the only sane one to choose. SDL sucks because if your X session dies, it kills the SDL window & thus kills your VM. Not cool. The ''virt-viewer'' program can be used to popup a minimal window for a VNC display whether local or remote. Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
With sdl display, I don''t any mouse and keyboard issues, that''s not the case in VNC. Tha fact that te VM dies when the X session dies is not a matter for me. My aim is to have a Windows VM which works as if it was not in a VM. Thanks to sdl display, the windows VM is more fluid. But I''d like to use VNC if I can have the same result. In a second hand, I''d like to have a local AND remote display. With VNC, I can''t have both at the same time. I though that I could have it thanks to SDL (for local) and VNC (for remote). Is there a way, with VNC, to configure two access (local and remote) to the VM at the same time? 2007/11/23, Daniel P. Berrange <berrange@redhat.com>:> > On Fri, Nov 23, 2007 at 11:22:17AM +0100, mathieu rohon wrote: > > Hello, > > > > I''m using fedora 7 with xen 3.1 from binaries rpm. > > I try to use the sdl display, but when i configure my VM with > > > > *<graphics type=''sdl''/> > > * > > no window pops up. > > Thanks to goolgle, I''ve found someone how got the same issue, and it > > seems that qemu-dm was not compile whith sdl support. > > What is the best way to recompile qemu-dm whith sdl support? > > > > In fact, I''d like to have sdl for local display of my VM, and vnc for > > remote access to it. > > You can''t have both. You have to choose one, and VNC is the only sane > one to choose. SDL sucks because if your X session dies, it kills the > SDL window & thus kills your VM. Not cool. The ''virt-viewer'' program > can be used to popup a minimal window for a VNC display whether local > or remote. > > Dan. > -- > |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 > -=| > |=- Perl modules: http://search.cpan.org/~danberr/ > -=| > |=- Projects: http://freshmeat.net/~danielpb/ > -=| > |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B > 9505 -=| >
mathieu rohon wrote:> With sdl display, I don''t any mouse and keyboard issues, that''s not the case > in VNC. Tha fact that te VM dies when the X session dies is not a matter for > me. > My aim is to have a Windows VM which works as if it was not in a VM. Thanks > to sdl display, the windows VM is more fluid. But I''d like to use VNC if I > can have the same result.Have you tried virt-viewer (it''s in recent Fedora) instead of vncviewer or the default virt-manager widget? Also I''ve found that setting up libvirt to use a USB graphics tablet instead of the default PS/2 mouse improves mouse handling no end.> In a second hand, I''d like to have a local AND remote display. With VNC, I > can''t have both at the same time. I though that I could have it thanks to > SDL (for local) and VNC (for remote).VNC should support screen sharing, if that''s what you want. Or do you mean two separate displays? Perhaps rdesktop would suit you.> Is there a way, with VNC, to configure two access (local and remote) to the > VM at the same time?vncviewer -Shared. Not sure if there is a virt-viewer option for this. Rich. -- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 03798903
2007/11/27, Richard W.M. Jones <rjones@redhat.com>:> > mathieu rohon wrote: > > With sdl display, I don''t any mouse and keyboard issues, that''s not the > case > > in VNC. Tha fact that te VM dies when the X session dies is not a matter > for > > me. > > My aim is to have a Windows VM which works as if it was not in a VM. > Thanks > > to sdl display, the windows VM is more fluid. But I''d like to use VNC if > I > > can have the same result. > > Have you tried virt-viewer (it''s in recent Fedora) instead of vncviewer > or the default virt-manager widget? > > Also I''ve found that setting up libvirt to use a USB graphics tablet > instead of the default PS/2 mouse improves mouse handling no end.Thanks to VNC USB tablet, the issue whith mouse synchronisation has disappeared. But the VNC display is still less fluid than sdl display.> In a second hand, I''d like to have a local AND remote display. With VNC, I > > can''t have both at the same time. I though that I could have it thanks > to > > SDL (for local) and VNC (for remote). > > VNC should support screen sharing, if that''s what you want. Or do you > mean two separate displays? Perhaps rdesktop would suit you. > > > Is there a way, with VNC, to configure two access (local and remote) to > the > > VM at the same time? > > vncviewer -Shared. Not sure if there is a virt-viewer option for this.I''m using a classical VNC client. But even if i use the -shared option, another client can''t display the VM screen. I think that the server embedded in qemu-dm is not configured to shared the VM screen, and i can''t find the way to configure this VNC server. For information, I''ve tried the FC 8. In this release, the qemu-dm should have been configured with sdl libs, and the sdl display is working for VM. Rich.> > -- > Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ > Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod > Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in > England and Wales under Company Registration No. 03798903 > >