Page 3 of 3

Install latest Chromium instead of Chrome in Porteus kiosk 32-bit 3.7.0

Posted: 27 Oct 2017, 11:09
by link08
So I decided to leave my project temporary with Firefox 50. It's OK for our application and it doesn't require pulseaudio. Also Firefox 50 starts in maximized mode ok.
So I logged in to kiosk system via ssh and started firefox from command line. There are lots of errors and warning, but firefox works ok. But I want to resolve those warnings. If someone can help - I will appreciate it:

Code: Select all

root@porteus-kiosk:~# firefox
libfam.so.0: cannot open shared object file: No such file or directory
Failed to load module: /usr/lib/gio/modules/libgiofam.so
/usr/lib/firefox-50.1.0/plugin-container: /usr/lib/libdbus-1.so.3: no version information available (required by /usr/lib/libatk-bridge-2.0.so.0)
/usr/lib/firefox-50.1.0/plugin-container: /usr/lib/libdbus-1.so.3: no version information available (required by /usr/lib/libatspi.so.0)

(firefox:2033): Gtk-WARNING **: Could not find the icon 'dialog-question'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
        http://icon-theme.freedesktop.org/releases

(firefox:2033): Gtk-WARNING **: Error loading theme icon 'dialog-question' for stock: Icon 'dialog-question' not present in theme Adwaita

(firefox:2033): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Icon 'image-missing' not present in theme Adwaita

(firefox:2033): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(firefox:2033): Gtk-WARNING **: Error loading theme icon 'dialog-question' for stock: Icon 'dialog-question' not present in theme Adwaita

(firefox:2033): Gtk-WARNING **: Error loading theme icon 'image-missing' for stock: Icon 'image-missing' not present in theme Adwaita

(firefox:2033): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
libfam.so.0: cannot open shared object file: No such file or directory
Failed to load module: /usr/lib/gio/modules/libgiofam.so
/usr/lib/firefox-50.1.0/updates/0/updater: /usr/lib/libdbus-1.so.3: no version information available (required by /usr/lib/libatk-bridge-2.0.so.0)
/usr/lib/firefox-50.1.0/updates/0/updater: /usr/lib/libdbus-1.so.3: no version information available (required by /usr/lib/libatspi.so.0)

Install latest Chromium instead of Chrome in Porteus kiosk 32-bit 3.7.0

Posted: 27 Oct 2017, 12:23
by link08
I try to add pulseaudio-9.0-i586-1.xzm and firefox-56.0.1-i686-1.xzm modules to Porteus kiosk 3.7.0 32 bit. I need pulseaudio package, because starting from version 52 Firefox only produce sound via pulseaudio.
When I try to run pulseaudio I get following error:

Code: Select all

root@porteus-kiosk:~# pulseaudio
pulseaudio: error while loading shared libraries: libssl.so.1: cannot open shared object file: No such file or directory
Then I try to use Porteus USM package manager to install libssl.so.1
I run sudo -i usm -s libssl.so.1 and get:
-----------------------------

Code: Select all

Are you searching for a library file? 

libssl.so.1, it seems a library.
Would you like to find the package for it? [y/n]

libssl.so.1  was found in   firestorm-opensim-4.4.2.34167-i686-1_slonly.txz 
But when I try to inject firestorm-opensim-4.4.2.34167-i686-1_slonly.txz to Porteus kiosk I see that package firestorm is very big (about 50 MB). When I try to inject the package in Porteus kiosk - Porteus kiosk hangs on boot.

How to find package for libssl.so.1?

Install latest Chromium instead of Chrome in Porteus kiosk 32-bit 3.7.0

Posted: 27 Oct 2017, 14:17
by Ed_P
link08 wrote:
27 Oct 2017, 11:09
So I decided to leave my project temporary with Firefox 50. It's OK for our application and it doesn't require pulseaudio. Also Firefox 50 starts in maximized mode ok.
So I logged in to kiosk system via ssh and started firefox from command line. There are lots of errors and warning, but firefox works ok. But I want to resolve those warnings. If someone can help - I will appreciate it:
If it works it means these errors are superficial. You might be able to minimize them by pulling up a icon theme from http://icon-theme.freedesktop.org/releases and adding the missing icons or a whole new theme to the kiosk.

Maybe a developer will stop in and offer a suggestion or two.

Install latest Chromium instead of Chrome in Porteus kiosk 32-bit 3.7.0

Posted: 30 Oct 2017, 11:45
by link08
After inserting module gamin-0.1.10-i486-5.xzm Porteus kiosk hangs on boot. That mean that id doesn't react on pressing CTRL+ALT+F1. Probably without help I will stick with Firefox 50 version forever.

Install latest Chromium instead of Chrome in Porteus kiosk 32-bit 3.7.0

Posted: 31 Oct 2017, 06:41
by Ed_P
Hey link08, you tried. And you've learn some things. It's all good. :good:

Install latest Chromium instead of Chrome in Porteus kiosk 32-bit 3.7.0

Posted: 31 Oct 2017, 13:36
by fanthom
Pulseaudio requires setting up ConsoleKit and can run only from unprivileged user. Apulse is much easier to integrate with kiosk - you should consider using it (compile and add relevant apulse libs/utils and copy /usr/bin/firefox from 64bit kiosk).

Install latest Chromium instead of Chrome in Porteus kiosk 32-bit 3.7.0

Posted: 05 Dec 2017, 00:35
by link08
Lately we tried to adopt Chromium 56 or Chromium 61 from http://www.slackware.com/~alien/slackbu ... /pkg/14.1/ to Porteus Kiosk 32 bit.
After lots of hours of work I can conclude that both Chromium 56 and Chromium 61 requires libc.so.6 and when I add libc.so.6 to the image Porteus Kiosk kernel panic on boot. That means that we need to upgrade kernel which means to basicaly make new version of kiosk distribution. I would like to do that if I receive some guidance from community.

For now I've added following modules to Porteus Kiosk

aaa_elflibs-14.2-i586-23.xzm
at-spi2-atk-2.18.1-i586-1.xzm
at-spi2-core-2.18.3-i586-1.xzm
cairo-1.14.6-i586-2.xzm
gnutls-3.5.8-i586-1_slack14.2.xzm
gtk\ 3-3.18.9-i586-1.xzm
libunistring-0.9.3-i486-1.xzm
mozilla-nss-3.31.1-i586-1_slack14.2.xzm
nettle-3.2-i586-1.xzm
p11-kit-0.23.2-i586-1.xzm

Beside modules I've added libraries:

libdbus-1.so
libdbus-1.so.3
libdbus-1.so.3.14.6
libFLAC.so
libFLAC.so.8
libFLAC.so.8.3.0
libogg.so.0.8.2
libogg.so
libogg.so.0

All these libraries are located in /usr/lib and I've created separate module with them with instructions http://porteus-kiosk.org/modules.html

I took these libraries from regular 32 bit porteus, where btoh Chromium 55 and 61 run fine. I didn't make symlincs. Instead I coppied files with the name of symlincs. It's hard for me to make symlincs in squashfs directory.

After adding these modules and libraries I start receiving libc.so.6 library error.

Also keep in mind that porteus kiosk do not like when too much modules are in iso, so I combined them into 1 using instructions in http://porteus-kiosk.org/modules.html
Too unsquashfs to the same folder you need to use -f switch.

Would be nice if we create community edition of Porteus kiosk 32 bit, since there are still lots of Pentium 4 and Celeron computers, espaccialy in 3rd world countries and Porteus_kiosk is may be the single distribution that can run on those computers fast and do not occupy lots of RAM. Though I would be glad if developers rewise their desizion to drop Porteus kiosk 32 bit.

Install latest Chromium instead of Chrome in Porteus kiosk 32-bit 3.7.0

Posted: 05 Dec 2017, 08:02
by link08
Chromium 55 also require libc.so.6. I wonder - why there are not packages of Chromium 54,53,52 on repositories http://porteus.org/porteus-mirrors.txt