firefox 195 Gdk-ERROR 08 02 02 249 The program firefox received an X Window System error

0 votes

Hi Guys,

I am trying to run firefox inside docker container using X11 forwarding. But it shows me the below error.

process 198: D-Bus library appears to be incorrectly set up; failed to read machine uuid: UUID file '/etc/machine-id' should contain a hex string of length 32, not length 0, with no other text
See the manual page for dbus-uuidgen to correct this issue.
  D-Bus not built with -rdynamic so unable to print a backtrace
Running without a11y support!
Gtk-Message: 08:01:58.321: Failed to load module "pk-gtk-module"
Gtk-Message: 08:01:58.321: Failed to load module "canberra-gtk-module"
Gtk-Message: 08:01:58.324: Failed to load module "pk-gtk-module"
Gtk-Message: 08:01:58.324: Failed to load module "canberra-gtk-module"
Gtk-Message: 08:02:01.167: Failed to load module "pk-gtk-module"
Gtk-Message: 08:02:01.167: Failed to load module "canberra-gtk-module"
Gtk-Message: 08:02:01.171: Failed to load module "pk-gtk-module"
Gtk-Message: 08:02:01.172: Failed to load module "canberra-gtk-module"
(firefox:195): Gdk-ERROR **: 08:02:02.249: The program 'firefox' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
  (Details: serial 316 error_code 2 request_code 130 (unknown) minor_code 3)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Gtk-Message: 08:02:02.346: Failed to load module "pk-gtk-module"
Gtk-Message: 08:02:02.347: Failed to load module "canberra-gtk-module"
Gtk-Message: 08:02:02.350: Failed to load module "pk-gtk-module"
Gtk-Message: 08:02:02.350: Failed to load module "canberra-gtk-module"
[Child 298, Chrome_ChildThread] WARNING: pipe error (3): Connection reset by peer: file /builddir/build/BUILD/firefox-68.6.0/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358
Exiting due to channel error.
[Child 322, Chrome_ChildThread] WARNING: pipe error (3): Connection reset by peer: file /builddir/build/BUILD/firefox-68.6.0/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 358
Exiting due to channel error.
Trace/breakpoint trap (core dumped)

Apr 16, 2020 in Docker by akhtar
• 38,260 points
1,229 views

1 answer to this question.

0 votes

Hi@akhtar,

As you are using X11 forwarding from your host machine to container. So you have to add xauth cookies in your docker container from your host machine.

$ xauth add <cookies>

Hope this will work.

answered Apr 16, 2020 by MD
• 95,460 points

Related Questions In Docker

0 votes
4 answers
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,020 points
2,715 views
0 votes
1 answer
0 votes
1 answer

Error response from daemon: client is newer than server (client API version: x.xx, server API version: 1.23)

Hi@akhtar, This version of vSphere Integrated Containers Engine ...READ MORE

answered Apr 8, 2020 in Docker by MD
• 95,460 points
1,176 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP