[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to do display sharing between guests or bring up guests display



Hi Elliott,

Thanks!

As per the link you shared, VNC & SDL are two ways to get GUI display up for guests. I am going through VNC & tried SDL, added below line in guest1.cfg file.
vfb = [ 'sdl=1' ]
when creating guest machine by running command "xl create -c guest1.cfg" then its throwing errors:

root@raspberrypi4-64:~/guest1# xl create -c guest1.cfg
Parsing config from guest1.cfg
libxl: error: libxl_qmp.c:1400:qmp_ev_fd_callback: Domain 3:error on QMP socket: Connection reset by peer
libxl: error: libxl_qmp.c:1439:qmp_ev_fd_callback: Domain 3:Error happened with the QMP connection to QEMU
libxl: error: libxl_dm.c:3351:device_model_postconfig_done: Domain 3:Post DM startup configs failed, rc=-26
libxl: error: libxl_create.c:1867:domcreate_devmodel_started: Domain 3:device model did not start: -26
libxl: error: libxl_aoutils.c:646:libxl__kill_xs_path: Device Model already exited
libxl: error: libxl_domain.c:1183:libxl__destroy_domid: Domain 3:Non-existant domain
libxl: error: libxl_domain.c:1137:domain_destroy_callback: Domain 3:Unable to destroy guest
libxl: error: libxl_domain.c:1064:domain_destroy_cb: Domain 3:Destruction of domain failed


It works absolutely fine & guest1 comes up if vfb = [ 'sdl=1' ] is not included in the configuration file. Anything wrong with the statement 
added or any other steps need to be followed for this? Looking after your response asap.

Regards,
Vipul Kumar

On Thu, Sep 22, 2022 at 12:03 AM Elliott Mitchell <ehem+xen@xxxxxxx> wrote:
On Wed, Sep 21, 2022 at 10:54:55PM +0530, Vipul Suneja wrote:
> Now I have built a custom image with GUI & ported it as a guest2(DOMU2),
> guest2 came up as a console & couldn't see the GUI screen(Display screen
> connected to rpi4 via HDMI) coming up.
>
> Can you please guide me on display sharing or how to bring up guests
> display?

This has already been answered in several locations.  The first place to
ask for help with the RP4 is their own forums.  Turns out the topic is
well known:

https://forums.raspberrypi.com/viewtopic.php?t=232323#p1775083

(huh, their forum moved to the raspberrypi.com domain; they really need
an entry for Xen in their other OSes area)


--
(\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
 \BS (    |         ehem+sigmsg@xxxxxxx  PGP 87145445         |    )   /
  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.