Open cattaka opened 11 years ago
I'm not familiar with display access control in Debian/Linux, so I don't know if this is a bug in Simulator or an issue with OS configuration.
@rpl: do you have any insight?
exactly the same issue
idem, has the same issue. The stderr : (firefox:10269): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: mauvaise classe ELF : ELFCLASS64
(firefox:10269): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: mauvaise classe ELF : ELFCLASS64
(firefox:10269): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: mauvaise classe ELF : ELFCLASS64
(firefox:10269): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: mauvaise classe ELF : ELFCLASS64
(firefox:10269): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: mauvaise classe ELF : ELFCLASS64
(firefox:10269): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: mauvaise classe ELF : ELFCLASS64
(firefox:10269): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: mauvaise classe ELF : ELFCLASS64
(firefox:10269): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: mauvaise classe ELF : ELFCLASS64
(firefox:10269): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: mauvaise classe ELF : ELFCLASS64
(firefox:10269): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: mauvaise classe ELF : ELFCLASS64
(firefox:10269): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: mauvaise classe ELF : ELFCLASS64
(firefox:10269): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: mauvaise classe ELF : ELFCLASS64
(firefox:10269): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: mauvaise classe ELF : ELFCLASS64
(firefox:10269): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: mauvaise classe ELF : ELFCLASS64
(firefox:10269): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so: mauvaise classe ELF : ELFCLASS64 /usr/lib/gio/modules/libgvfsdbus.so: mauvaise classe ELF : ELFCLASS64 Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so debug: r2d2b2g: XULAPP: Firefox 19.0 19.0 debug: r2d2b2g: HAS_CONNECT_DEVTOOLS: false warning: rotate-image: Plural form unknown for locale "null" info: rotate-image: startup info: r2d2b2g: Simulator.onMessage getIsRunning info: r2d2b2g: Simulator.onMessage listApps info: r2d2b2g: Simulator.sendListApps info: r2d2b2g: Simulator.onMessage listTabs info: r2d2b2g: Simulator.onMessage getPreference info: r2d2b2g: Simulator.onMessage toggle info: r2d2b2g: rsc.remoteDebuggerPort: found free port 60777 No protocol specified No protocol specified Error: cannot open display: :0.0 info: r2d2b2g: linux/b2g/b2g terminated with 256
@doomsplayer @nfroidure Are you also using Debian, and if so, which version are you using? I'm just trying to figure out if this is a Debian-specific issue or if it affects multiple Linux distributions.
i use archlinux. ÔÚ 2013-3-30 ÉÏÎç1:37£¬"Myk Melez" notifications@github.comдµÀ£º
@doomsplayer https://github.com/doomsplayer @nfroidurehttps://github.com/nfroidureAre you also using Debian, and if so, which version are you using? I'm just trying to figure out if this is a Debian-specific issue or if it affects multiple Linux distributions.
¡ª Reply to this email directly or view it on GitHubhttps://github.com/mozilla/r2d2b2g/issues/268#issuecomment-15651589 .
i use debian (squeeze) indeed : Linux 3.2.0-0.bpo.1-amd64 #1 SMP Sat Feb 11 08:41:32 UTC 2012 x86_64 GNU/Linux
xhost + also solved the problem for me
Ok, so then the question is why a b2g process spawned by the Firefox process doesn't have access to the xserver, even though the Firefox process itself has access.
I'm using Debian squeeze. When I pressed lunch button on Simulator Dashboar, The window of emulator is not displayed.
I checked terminal and got logs. info: r2d2b2g: Simulator.onMessage toggle info: r2d2b2g: rsc.remoteDebuggerPort: found free port 60481 No protocol specified No protocol specified Error: cannot open display: :0.0 info: r2d2b2g: linux/b2g/b2g terminated with 256
It seems that, when display's access control was enabled, The window of emulator can not displayed.
I solved this issue using "$ xhost +". But I wish to notice about that error to user.