firefox remote on wayland/dbus does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firefox (Ubuntu) |
Fix Released
|
High
|
Olivier Tilloy |
Bug Description
[agnew(~)] lsb_release -rc
Release: 21.04
Codename: hirsute
[agnew(~)] dpkg-query -W firefox
firefox 87.0+build3-
[agnew(~)]
Attempting to open links with `firefox $URL` times out and gives me the old familiar profile-locked error dialog.
As far as I can tell, all of the ducks are lined up correctly (thanks to the fix for LP:1921931)
[agnew(~)] tr \\0 \\n < /proc/$(pgrep -x firefox)/environ | egrep -i 'dbus|wayland'
XDG_SESSION_
MOZ_ENABLE_
DBUS_SESSION_
MOZ_DBUS_REMOTE=1
WAYLAND_
XAUTHORITY=
[agnew(~)] sh -x $(which firefox) https:/
+ set -e
+ MOZ_LIBDIR=
+ which /usr/bin/firefox
+ MOZ_APP_
+ MOZ_APP_
+ export MOZ_APP_LAUNCHER
+ [ wayland = wayland ]
+ export MOZ_ENABLE_
+ export MOZ_DBUS_REMOTE=1
+ [ ! -x /usr/lib/
+ moz_debug=0
+ moz_debugger_args=
+ moz_debugger=gdb
+ [ 1 -gt 0 ]
+ break
+ [ 0 -eq 1 ]
+ exec /usr/lib/
[GFX1-]: No GPUs detected via PCI
[GFX1-]: glxtest: process failed (received signal 11)
(firefox:60063): Gtk-WARNING **: 10:09:52.171: Loading IM context type 'xim' failed
(firefox:60063): Gtk-WARNING **: 10:09:52.174: Loading IM context type 'xim' failed
(firefox:60063): Gtk-WARNING **: 10:09:52.179: Loading IM context type 'xim' failed
(firefox:60063): Gtk-WARNING **: 10:09:52.179: Loading IM context type 'xim' failed
(firefox:60063): Gtk-WARNING **: 10:09:52.197: Loading IM context type 'xim' failed
(firefox:60063): Gtk-WARNING **: 10:09:52.199: Loading IM context type 'xim' failed
###!!! [Parent]
[agnew(~)]
However, on dbus-monitor, I see:
method call time=1619043038
array of bytes [
02 00 00 00 17 00 00 00 30 00 00 00 2f 68 6f 6d 65 2f 70 61 75 6c 00 2f
75 73 72 2f 6c 69 62 2f 66 69 72 65 66 6f 78 2f 66 69 72 65 66 6f 78 00
68 74 74 70 73 3a 2f 2f 75 62 75 6e 74 75 2e 63 6f 6d 2f 00
]
error time=1619043038
string "The name org.mozilla.
And, indeed, firefox is not listening on that name (which is correct for my profile, "default") or indeed any other such name:
[agnew(~)] busctl --user | grep -i firefox
:1.162 54607 firefox paul :1.162 user@1000.service - -
:1.163 54607 firefox paul :1.163 user@1000.service - -
[agnew(~)] _
---
ProblemType: Bug
AddonCompatChec
ApportVersion: 2.20.11-0ubuntu65
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
BuildID: 20210318103112
CasperMD5CheckR
Channel: Unavailable
CurrentDesktop: GNOME
DefaultProfileI
DefaultProfileP
DefaultProfileP
/usr/lib/
prefs.js
DistroRelease: Ubuntu 21.04
ForcedLayersAccel: False
InstallationDate: Installed on 2011-11-06 (3454 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
NonfreeKernelMo
Package: firefox 87.0+build3-
PackageArchitec
ProcCmdline: BOOT_IMAGE=
ProcVersionSign
Profile1Extensions: extensions.sqlite corrupt or missing
Profile1Incompa
Profile1Locales: extensions.sqlite corrupt or missing
Profile1PrefErrors: Unexpected character ',' before close parenthesis @ /usr/lib/
Profile1PrefSou
/usr/lib/
prefs.js
Profile1Themes: extensions.sqlite corrupt or missing
Profile2Incompa
Profile2PrefErrors: Unexpected character ',' before close parenthesis @ /usr/lib/
Profile2PrefSou
/usr/lib/
prefs.js
Profiles:
Profile2 - LastVersion=
Profile1 - LastVersion=
Profile0 (Default) - LastVersion=
RunningIncompat
Tags: wayland-session hirsute
Uname: Linux 5.11.0-16-generic x86_64
UpgradeStatus: Upgraded to hirsute on 2021-04-21 (0 days ago)
UserGroups: adm admin cdrom dialout docker libvirt lpadmin lxd microk8s plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 03/21/2018
dmi.bios.release: 1.35
dmi.bios.vendor: LENOVO
dmi.bios.version: M1AKT35A
dmi.board.name: 3111
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40700 WIN 3258011708158
dmi.chassis.type: 3
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkCentre M710q
dmi.product.name: 10MRCTO1WW
dmi.product.sku: LENOVO_
dmi.product.
dmi.sys.vendor: LENOVO
modified.
apport information