Installing Firefox on EC2 using Lambda Linux Project

339 views
Skip to first unread message

Ivan Cheung

unread,
Dec 9, 2015, 5:06:27 PM12/9/15
to Lambda Linux

I'm trying to set up a nodejs+selenium server on ec2.

I got node installed and working and I tried to set up Firefox using the tutorial here:

https://lambda-linux.io/blog/2015/01/28/announcing-firefox-browser-support-for-amazon-linux/

I got it all installed but however, whenever I run firefox, I get this error.

GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed

Anyone know how I can fix this?

Thanks!

Rajiv Ranganath

unread,
Dec 9, 2015, 9:52:02 PM12/9/15
to Ivan Cheung, Lambda Linux
Hi Ivan,

I just tried running Firefox on a new 2015.09.1 instance and was not
able to encounter the specific error message you mentioned.

Since Mozilla has changed their website to download the latest Firefox
release, I used the following command instead.

```
wget -O firefox-latest.tar.bz2
"https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US"
```

The rest of the instructions were the same. We will update the blog post
to reflect this.

Please note that it is normal to see "Glib" related warnings.

Thank you for using Lambda Linux Project packages.

Best,
Rajiv
> --
> You received this message because you are subscribed to the Google Groups
> "Lambda Linux" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to lambda-linux...@googlegroups.com.
> To post to this group, send email to lambda...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/lambda-linux/97928b13-0e7b-4de4-bd6c-fa02609da437%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Ivan Cheung

unread,
Dec 9, 2015, 9:59:56 PM12/9/15
to Rajiv Ranganath, Lambda Linux
Thanks Rajiv,

I'll try it out next time. I seem to have selenium+firefox working in another Ubuntu instance I spun up and just using apt-get to install everything for me.

Thanks,
Ivan
Reply all
Reply to author
Forward
0 new messages