Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: mocore on April 09, 2019, 08:50:54 AM

Title: tc 10.x chromium-browser : Fontconfig error: Cannot load default config file
Post by: mocore on April 09, 2019, 08:50:54 AM

idk ! what happen
 :o

Quote
$ tce-load -iw fontconfig
fontconfig is already installed!
$ chromium-browser
Fontconfig error: Cannot load default config file
Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
...
[end of stack trace]
Calling _exit(1). Core file will not be generated.

i tried  "$ dbus-launch" 

then chromium-browser

but still same error =/
Title: Re: tc 10.x chromium-browser : Fontconfig error: Cannot load default config file
Post by: Juanito on April 09, 2019, 09:14:16 AM
As per the dbus info file:
Code: [Select]
$ sudo /usr/local/etc/init.d/dbus [start|stop|restart|reload|status]
Title: Re: tc 10.x chromium-browser : Fontconfig error: Cannot load default config file
Post by: mocore on April 09, 2019, 10:30:36 AM
hi juanito

 i try "sudo /usr/local/etc/init.d/dbus start"

and after "chromium-browser"

but still same error !?!!

Quote
sudo /usr/local/etc/init.d/dbus status

dbus is running.

thanks !...

side note idk if this relevant   
Quote
loading xorg-7.7 with tce-ab
i saw
many error's

/usr/bin/tce-load 147 desktop.sh:not found

Title: Re: tc 10.x chromium-browser : Fontconfig error: Cannot load default config file
Post by: Rich on April 09, 2019, 10:48:00 AM
Hi mocore
Is  desktop.sh  not found or is  desktop.sh  not finding something?  Xlibs.tcz  provides  desktop.sh.
Title: Re: tc 10.x chromium-browser : Fontconfig error: Cannot load default config file
Post by: Juanito on April 10, 2019, 01:15:56 AM
Assuming we are speaking of the chromium-browser extension from the tc-10.x x86 repo...

I just downloaded and loaded chromium-browser and it worked fine - I was using Xorg-7.7-3d at the time.

There were a couple of error messages (the dbus daemon was not running), but that didn't prevent things from working:
Code: [Select]
$ chromium-browser
[6969:6979:0410/091105:ERROR:bus.cc(307)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
[6:6:0410/091105:ERROR:nss_util.cc(452)] Error initializing NSS without a persistent database: NSS error code: -8023
Title: Re: tc 10.x chromium-browser : Fontconfig error: Cannot load default config file
Post by: mocore on April 10, 2019, 08:59:03 AM
Quote
Assuming we are speaking of the chromium-browser extension from the tc-10.x x86 repo...

sorry juanito!
i did not mention that
this was running : corepure64.gz & vmlinuz64 from 10.x/x86_64/release/distribution_files

was going intending to post in the pure64 forum but ... i was not shore at the time what the exact core .gz i had booted =/



Hi mocore
Is  desktop.sh  not found or is  desktop.sh  not finding something?  Xlibs.tcz  provides  desktop.sh.

unfortunately i don't know , i had loaded Xorg-7.7  using tce-ab >search >install , and wrote down the error.


Title: Re: tc 10.x chromium-browser : Fontconfig error: Cannot load default config file
Post by: Juanito on April 10, 2019, 09:20:06 AM
This fixes things for me:
Code: [Select]
$ sudo ln -s /tmp/tcloop/fontconfig/usr/local/etc/fonts /etc
Title: Re: tc 10.x chromium-browser : Fontconfig error: Cannot load default config file
Post by: Rich on April 10, 2019, 10:06:16 AM
Hi mocore
side note idk if this relevant   
Quote
loading xorg-7.7 with tce-ab
i saw
many error's


/usr/bin/tce-load 147 desktop.sh:not found
I would call seeing many errors relevant.

Line 147 of  tce-load  does call  desktop.sh.  What do the following commands return:
Code: [Select]
ls -l /usr/local/tce.installed/Xlibs
ls -l /usr/bin/desktop.sh
Title: Re: tc 10.x chromium-browser : Fontconfig error: Cannot load default config file
Post by: mocore on April 16, 2019, 03:35:43 PM
Code: [Select]
$ sudo ln -s /tmp/tcloop/fontconfig/usr/local/etc/fonts /etcthanks juanito ! that works!!
..
I would call seeing many errors relevant.

Line 147 of  tce-load  does call  desktop.sh.  What do the following commands return:
Code: [Select]
ls -l /usr/local/tce.installed/Xlibs
ls -l /usr/bin/desktop.sh


hi rich
iv found that the desktop.sh errors appear after openbox is loaded if openbox is loaded before xorg

id been trying set things up from memory and had forgotten that the load order can be important ,.. until i was reminded trying to config sound via alsa/hdmi