Hi DRC,

starting firefox from the command line, like you proposed, works. But I get some messages, I don't know, how to assess:

$ DBUS_SESSION_BUS_ADDRESS= firefox
Gtk-Message: 09:15:57.854: Failed to load module "xapp-gtk3-module"
Gtk-Message: 09:15:57.854: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it. [378359, Main Thread] WARNING: GTK+ module /snap/firefox/3600/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded. GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.: 'glib warning', file /build/firefox/parts/firefox/build/toolkit/xre/nsSigHandlers.cpp:187

(firefox:378359): Gtk-WARNING **: 09:15:57.926: GTK+ module /snap/firefox/3600/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded. GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
Gtk-Message: 09:15:57.926: Failed to load module "canberra-gtk-module"
[378359, Main Thread] WARNING: GTK+ module /snap/firefox/3600/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded. GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.: 'glib warning', file /build/firefox/parts/firefox/build/toolkit/xre/nsSigHandlers.cpp:187

(firefox:378359): Gtk-WARNING **: 09:15:57.928: GTK+ module /snap/firefox/3600/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded. GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
Gtk-Message: 09:15:57.928: Failed to load module "canberra-gtk-module"

But starting firefox this way is an emergency solution in my eyes. Are you sure, that it's not possible to make the snap version of firefox startable via icon inside the TVNC session, like any other regular application?

Uninstalling the snap version of firefox and reinstalling it through apt seems to be a bit difficult and error-prone. There are many different recommendations in the web, which steps should be done therefore to make firefox working properly, when installing with apt on Ubuntu 22.04. Currently I'm unsure, which of those I should consider or not. Finding a proper one will take some time. I would have to see, when I will find that time.

BR

tkansgar

Am 05.01.2024 um 19:31 schrieb 'DRC' via TurboVNC User Discussion/Support:
My suggestion regarding dbus-x11 was to Felix and was pertaining to a different issue.

Try unsetting DBUS_SESSION_BUS_ADDRESS, e.g.:

$ DBUS_SESSION_BUS_ADDRESS= firefox

That works for me.  Apparently this is a known issue with snap applications running in VNC:

https://bugzilla.mozilla.org/show_bug.cgi?id=1767183
https://askubuntu.com/questions/1452155/how-can-i-get-snap-applications-to-run-in-vnc-session

You can work around it by uninstalling the snap version of Firefox and reinstalling Firefox using APT.


On 1/5/24 11:47 AM, Torsten Kupke wrote:
Hi,

I'm not sure, whether this has been asked here already. Since upgrading Ubuntu from 18.04 to 22.04 and TurboVNC from 2.2.7 to 3.1 I'm unable to use firefox inside the TVNC session. The firefox icon is not visible in the dock on the left side and in the list of startable applications. But it is definitely installed on that machine. And when I sit locally in front of it, firefox is present in the dock outside of the TVNC session and startable. When I try to start it inside from a terminal shell, I get this:

$ firefox
/user.slice/user-700.slice/session-c2.scope is not a snap cgroup

I googled this and found several solution proposals. But they all look strange to me (maybe because I'm no Linux nerd). Can anyone tell me, what's the correct and best solution to make firefox startable inside the TVNC session again? By the way, dbus-x11 cannot be the reason, since it is installed already.

BR

tkansgar



--
You received this message because you are subscribed to the Google Groups "TurboVNC 
User Discussion/Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to turbovnc-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/turbovnc-users/9e21cf5f-9bcc-4376-9c62-c2ca026d67a1%40t-online.de.

Reply via email to