ivan-hc / Boxes-appimage

Unofficial GNOME Boxes AppImage built on top of "Conty" (Arch Linux).
5 stars 0 forks source link

hi ivan, isee your answer for the virtualbox issus, i test your boxes appimage, ,have some bug #3

Open newyorkthink opened 1 month ago

newyorkthink commented 1 month ago
  1. firest your boxes appimage always show missing libpixbufloader-svg.so image
    
    ./boxes.AppImage
    Running Conty
    Nvidia driver handler is enabled

(org.gnome.Boxes:424443): dbind-WARNING **: 13:09:36.580: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

(org.gnome.Boxes:424443): Gtk-WARNING **: 13:09:37.198: im-ibus.so: cannot open shared object file: No such file or directory

(org.gnome.Boxes:424443): Gtk-WARNING **: 13:09:37.198: Loading IM context type 'ibus' failed

(org.gnome.Boxes:424443): Gtk-WARNING : 13:09:37.307: Could not load a pixbuf from icon theme. This may indicate that pixbuf loaders or the mime database could not be found. Gtk:ERROR:../gtk/gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Adwaita/scalable/status/image-missing.svg: Unable to load image-loading module: libpixbufloader-svg.so: libpixbufloader-svg.so: cannot open shared object file: No such file or directory (gdk-pixbuf-error-quark, 5) Bail out! Gtk:ERROR:../gtk/gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Adwaita/scalable/status/image-missing.svg: Unable to load image-loading module: libpixbufloader-svg.so: libpixbufloader-svg.so: cannot open shared object file: No such file or directory (gdk-pixbuf-error-quark, 5)

![Peek 2024-07-29 13-10](https://github.com/user-attachments/assets/2758b6d0-c806-4b02-be88-7a8d6c4bf79c)

the bug can fix:
this bug cause that boxes is based gtk
so your need add libpixbufloader-svg.so when you finish run create-arch-bootstrap.sh:

cp ./root.x86_64/usr/lib/gtk-3.0/3.0.0/immodules/im-ibus.so ./root.x86_64/usr/lib cp ./root.x86_64/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-* ./root.x86_64/usr/lib



and this my note for review:
![image](https://github.com/user-attachments/assets/f03f7894-3959-42b2-ad63-85336f7c8d78)

the following, i just tamp fixed (this is temporay fixed, plesae mege in cont.y):
![image](https://github.com/user-attachments/assets/501dc3c3-82ff-41c6-ab68-38e477b153a4)
![Peek 2024-07-29 13-14](https://github.com/user-attachments/assets/390aa64c-4bc2-4f8e-8557-d23a2f1b811c)
newyorkthink commented 1 month ago

and the all appimage software for base gtk , need ibus frame work , don't forge include this

newyorkthink commented 1 month ago

and the second bug: the usb driver cannot redirection Peek 2024-07-29 13-22


(org.gnome.Boxes:12190): Gtk-WARNING **: 13:21:54.133: Loading IM context type 'ibus' failed

(org.gnome.Boxes:12190): Gtk-WARNING **: 13:21:54.134: im-ibus.so: cannot open shared object file: No such file or directory

(org.gnome.Boxes:12190): Gtk-WARNING **: 13:21:54.134: Loading IM context type 'ibus' failed

(org.gnome.Boxes:12190): Gtk-WARNING **: 13:21:54.155: im-ibus.so: cannot open shared object file: No such file or directory

(org.gnome.Boxes:12190): Gtk-WARNING **: 13:21:54.155: Loading IM context type 'ibus' failed
spice-client-glib-usb-helper: Error PoliciKit error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.spice-space.lowlevelusbaccess is not registered
spice-client-glib-usb-helper: Error PoliciKit error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.spice-space.lowlevelusbaccess is not registered
spice-client-glib-usb-helper: Error PoliciKit error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.spice-space.lowlevelusbaccess is not registered
spice-client-glib-usb-helper: Error PoliciKit error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.spice-space.lowlevelusbaccess is not registered
spice-client-glib-usb-helper: Error PoliciKit error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.spice-space.lowlevelusbaccess is not registered

(org.gnome.Boxes:12190): Gtk-WARNING **: 13:22:21.353: im-ibus.so: cannot open shared object file: No such file or directory

(org.gnome.Boxes:12190): Gtk-WARNING **: 13:22:21.353: Loading IM context type 'ibus' failed

(org.gnome.Boxes:12190): Gtk-WARNING **: 13:22:21.356: im-ibus.so: cannot open shared object file: No such file or directory

(org.gnome.Boxes:12190): Gtk-WARNING **: 13:22:21.356: Loading IM context type 'ibus' failed

(org.gnome.Boxes:12190): Gtk-WARNING **: 13:22:21.424: im-ibus.so: cannot open shared object file: No such file or directory

(org.gnome.Boxes:12190): Gtk-WARNING **: 13:22:21.424: Loading IM context type 'ibus' failed
spice-client-glib-usb-helper: Error PoliciKit error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.spice-space.lowlevelusbaccess is not registered
spice-client-glib-usb-helper: Error PoliciKit error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.spice-space.lowlevelusbaccess is not registered
spice-client-glib-usb-helper: Error PoliciKit error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.spice-space.lowlevelusbaccess is not registered
spice-client-glib-usb-helper: Error PoliciKit error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.spice-space.lowlevelusbaccess is not registered
spice-client-glib-usb-helper: Error PoliciKit error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.spice-space.lowlevelusbaccess is not registered
spice-client-glib-usb-helper: Error PoliciKit error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.spice-space.lowlevelusbaccess is not registered
spice-client-glib-usb-helper: Error PoliciKit error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.spice-space.lowlevelusbaccess is not registered
spice-client-glib-usb-helper: Error PoliciKit error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.spice-space.lowlevelusbaccess is not registered
spice-client-glib-usb-helper: Error PoliciKit error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.spice-space.lowlevelusbaccess is not registered
spice-client-glib-usb-helper: Error PoliciKit error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.spice-space.lowlevelusbaccess is not registered
spice-client-glib-usb-helper: Error PoliciKit error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.spice-space.lowlevelusbaccess is not registered
spice-client-glib-usb-helper: Error PoliciKit error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.spice-space.lowlevelusbaccess is not registered
spice-client-glib-usb-helper: Error PoliciKit error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.spice-space.lowlevelusbaccess is not registered
spice-client-glib-usb-helper: Error PoliciKit error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.spice-space.lowlevelusbaccess is not registered
spice-client-glib-usb-helper: Error PoliciKit error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.spice-space.lowlevelusbaccess is not registered
spice-client-glib-usb-helper: Error PoliciKit error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.spice-space.lowlevelusbaccess is not registered
newyorkthink commented 1 month ago

and the three: note: vmware workstion 17.5.2 for people free, the cause is the broadcom company acquire the vmware company .

so vmware workstation for people free

i try build conty for vmware workstion it, always need mkdir /etc/vmware

is difficult work

newyorkthink commented 1 month ago

the four post: xdroid is the best android simulator for linux maybe you intrest for this: https://www.linzhuotech.com/index.php/home/index/xdroid.html https://www.linzhuotech.com/Product/download i don;t have to built it

newyorkthink commented 1 month ago

the four post: xdroid is the best android simulator for linux maybe you intrest for this: https://www.linzhuotech.com/index.php/home/index/xdroid.html https://www.linzhuotech.com/Product/download i don;t have to built it

and this free

newyorkthink commented 1 month ago

i forget; thank in advance :)

ivan-hc commented 1 month ago

OK, theni in order:

  1. to fix the first issue I need to copy some existing libraries in /usr/lib
    cp ./root.x86_64/usr/lib/gtk-3.0/3.0.0/immodules/im-ibus.so ./root.x86_64/usr/lib/
    cp ./root.x86_64/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-* ./root.x86_64/usr/lib/
  2. the USB issue, I don't know what I must do
  3. and 4. are requests for applications? VMware and Xdroid? I've never used them, so I don't know if I'm ablo to do what you asked.

if you can, please tell me more on the issue 2, about USB support, thanks

ivan-hc commented 1 month ago

@newyorkthink I think I've solved the issue with GTK messages, by following your instructions.

NOTE, I've not installed the libvirt-related drivers on my host, so I get the message

Boxes-Message: 18:47:59.501: libvirt-machine.vala:290: Failed to connection to system libvirt: Unable to open qemu+unix:///system: Failed to connect socket to '/var/run/libvirt/virtqemud-sock-ro': No such file or directory

About USB support, I can reproduce the issue, I receive this message

spice-client-glib-usb-helper: Error PoliciKit error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.spice-space.lowlevelusbaccess is not registered

"spice" is installed on the guest, but I think it should be installed also on the host system

This is the screenshot of my terminal while running a Debian VM Istantanea_2024-07-29_18-49-57

can you confirm that installing spice on bot host and guest solves the issue?

newyorkthink commented 1 month ago

@newyorkthink I think I've solved the issue with GTK messages, by following your instructions.

NOTE, I've not installed the libvirt-related drivers on my host, so I get the message

Boxes-Message: 18:47:59.501: libvirt-machine.vala:290: Failed to connection to system libvirt: Unable to open qemu+unix:///system: Failed to connect socket to '/var/run/libvirt/virtqemud-sock-ro': No such file or directory

About USB support, I can reproduce the issue, I receive this message

spice-client-glib-usb-helper: Error PoliciKit error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.spice-space.lowlevelusbaccess is not registered

"spice" is installed on the guest, but I think it should be installed also on the host system

This is the screenshot of my terminal while running a Debian VM Istantanea_2024-07-29_18-49-57

can you confirm that installing spice on bot host and guest solves the issue?

hi, i see your new latest version for the box appimage, and i download it and test.

first bug about gtk and ibus ,the bug is fixed. Peek 2024-07-30 01-48

and the usb driver bug, is too difficult, it not fixed, and i try add more lib , but it just not fixed image

i add the more package , but cannot fixed this

not i miss same bug that it show for your terminal

./boxes.AppImage
Running Conty
Nvidia driver handler is enabled

(org.gnome.Boxes:820017): dbind-WARNING **: 01:52:48.928: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
Boxes-Message: 01:52:51.241: libvirt-machine.vala:290: Failed to connection to system libvirt: Unable to open qemu+unix:///system: Failed to connect socket to '/var/run/libvirt/virtqemud-sock-ro': No such file or directory

(org.gnome.Boxes:820017): GLib-GObject-CRITICAL **: 01:52:51.262: ../glib/gobject/gsignal.c:2635: handler '3117' of instance '0x5a81c30dcb70' is not blocked

** (org.gnome.Boxes:820017): WARNING **: 01:53:04.152: (../libvirt-gobject/libvirt-gobject-connection.c:314):domain_event_cb: code should not be reached
spice-client-glib-usb-helper: Error PoliciKit error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.spice-space.lowlevelusbaccess is not registered
spice-client-glib-usb-helper: Error PoliciKit error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.spice-space.lowlevelusbaccess is not registered
spice-client-glib-usb-helper: Error PoliciKit error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.spice-space.lowlevelusbaccess is not registered
spice-client-glib-usb-helper: Error PoliciKit error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.spice-space.lowlevelusbaccess is not registered
spice-client-glib-usb-helper: Error PoliciKit error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.spice-space.lowlevelusbaccess is not registered
Boxes-Message: 01:53:19.973: machine.vala:201: display appimage_env disconnected

Peek 2024-07-30 01-53

newyorkthink commented 1 month ago

not i miss same bug that it show for your terminal my answer have error

this is right: now i same bug that it show for like your terminal

newyorkthink commented 1 month ago

your built the box appimage is perfect i think it complete 90% and the finally problem just driver redireaction.

ivan-hc commented 1 month ago

yes, its difficult to implement USB support in this kind of Appimage, we have seen this also in VirtualBox

ivan-hc commented 1 month ago

can you fork this repo and try toadd changes by yourself? Maybe we can try to fix the issues together.