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

Here you can post about the issues related to modifications performed manually (not through the kiosk wizard). Example: swapped kernel, added 3rd party modules or files.
Please describe in detail what has been changed and hopefully other kiosk user will be able to help.
Porteus team wont resolve bugs posted in this category as we support only modifications made by the kiosk wizard.
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
link08
Black ninja
Black ninja
Posts: 30
Joined: 27 Sep 2017, 14:40
Distribution: Porteus-Kiosk-3.7.0-i586

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

Post#31 by link08 » 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:

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)

link08
Black ninja
Black ninja
Posts: 30
Joined: 27 Sep 2017, 14:40
Distribution: Porteus-Kiosk-3.7.0-i586

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

Post#32 by link08 » 27 Oct 2017, 12:23

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?

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

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

Post#33 by Ed_P » 27 Oct 2017, 14:17

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.
Ed

link08
Black ninja
Black ninja
Posts: 30
Joined: 27 Sep 2017, 14:40
Distribution: Porteus-Kiosk-3.7.0-i586

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

Post#34 by link08 » 30 Oct 2017, 11:45

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.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

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

Post#35 by Ed_P » 31 Oct 2017, 06:41

Hey link08, you tried. And you've learn some things. It's all good. :good:
Ed

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

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

Post#36 by fanthom » 31 Oct 2017, 13:36

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).
Please add [Solved] to your thread title if the solution was found.

link08
Black ninja
Black ninja
Posts: 30
Joined: 27 Sep 2017, 14:40
Distribution: Porteus-Kiosk-3.7.0-i586

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

Post#37 by link08 » 05 Dec 2017, 00:35

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.

link08
Black ninja
Black ninja
Posts: 30
Joined: 27 Sep 2017, 14:40
Distribution: Porteus-Kiosk-3.7.0-i586

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

Post#38 by link08 » 05 Dec 2017, 08:02

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

Locked