Unable to launch firefox

workspace
terminal
browser

#1

I have a workspace,a nd I launched the terminal. I am trying to launch firefox and I got that error message.

>firefox

(process:10786): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed Error: no display specified

What should i do to launch firefox?


#2

What exactly are you trying to launch Firefox inside of your workspace for? The workspaces don’t have displays, so that is why you are receiving the error no display specified. You need to run Firefox in headless mode from inside of your Cloud9 workspace.


#3

If you need to run Firefox, and not in headless mode as @abailiss suggested, you might find the following interesting (be aware this requires more effort and isn’t the greatest desktop experience, but works nonetheless):