Not able to run firefox without LXDE

So I’m trying to run Firefox as kiosk mode on my Colibri iMX6, without the need of using LXDE. To do so, I did as follows:

  1. Started by disabling display-manager.service

    systemctl disable display-manager.service
  2. Created a service to start X on boot

    Description=start X server

  3. Enabled the startX.service

    systemctl enable startX.service
  4. Reboot

  5. Start Firefox from command line

    firefox -height 576 -width 720&

I get this response, but no firefox displayed on the screen:

root@colibri-imx6:~#     firefox -height 576 -width 720&
[1] 502
(process:502): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size== 0' failed
Perform final cleanup before process termination!

I expect this to work.

Note that the (process:502): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size== 0' failed is normal, while the Perform final cleanup before process termination! seems to be an exit message from firefox.

What version of the BSP are you using?
Is firefox with the configuration you did starting in a LXDE environment?

Hello max,

My BSP version is V2.6 Beta1 and I haven’t done any configuration to firefox, just the parameters that I pass through the command line.

Another thing that I notice is that after I attempt to open firefox I’m not able to open any other GUI program and I get the following message on shutdown(which doesn’t happen if I don’t open firefox):

A stop job is running for start X server (0s / 1min 30s)

Well it works here. (Using BSP 2.6Beta1, Colibri iMX6S)

Well I start X from the cmdline:

X &
firefox -height 576 -width 720 &

What happens when you start firefox differently?
firefox --safe-mode

What happens if you delete your mozilla settings, i.e.
rm -rf /home/root/.mozilla

I assume the ‘stop job’ is waiting for the assumed still running firefox to stop.

Deleting firefox settings didn’t change nothing.

I have enabled LXDE desktop environment to test if Firefox was still working with LXDE but it isn’t anymore. Whenever I start Firefox the system crashes.

I did make some configuration changes on my about:config, if I recall correctly the only parameters I changed was “browser. fullscreen. animateUp” and “browser. fullscreen. autohide”, but I’m guessing deleting the mozilla settings file should undo that…