RandomCoderOrg / udroid-wiki

udroid Documentation & wiki
https://udroid-rc.gitbook.io/udroid-wiki
10 stars 3 forks source link

Firefox not working on udroid #14

Open Githubmaniak opened 1 year ago

Githubmaniak commented 1 year ago

I installed ubuntu 22.04 jammy xfce4 and used Termux x11 as the display, but when I run Firefox, it only shows a message that the tab has crashed.

SaicharanKandukuri commented 1 year ago

run this in jammy

install_firefox() {
    # trigger normal installation to resolve all dependencies (fonts)
    apt-get install -y firefox

    # remove firefox snap and install firefox from ppa for debian package
    rm -rf /etc/apt/preferences.d/fire*
    apt remove firefox* -y
    apt update && apt install firefox software-properties-common -y
    add-apt-repository --yes ppa:mozillateam/ppa

echo '
Package: *
Pin: release o=LP-PPA-mozillateam
Pin-Priority: 1001
' | sudo tee /etc/apt/preferences.d/mozilla-firefox
    echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-mozillateam:${distro_codename}";' | sudo tee /etc/apt/apt.conf.d/51unattended-upgrades-firefox

    apt remove firefox -y
    apt install firefox -y
}

install_firefox
Githubmaniak commented 1 year ago

@SaicharanKandukuri Screenshot_20230929-030405

I ran termux, logged into udroid, pasted it, started x11 to run Firefox, but it still doesn't work.

Tanzin01 commented 7 months ago

Same issue

Tanzin01 commented 7 months ago

same issue. Also the terminal doesn't even start, the one from home screen bottom

zenmindai commented 7 months ago

I am running into the same issue, but, at least in my case, the problem is deeper. Specifically in the error logs, I found mutiple warnings and errors about the xfwm4 and GL renderer.

I would like to try a possible solution by changing the default render, to something like Zink, but I have not yet found any good instructions to change it without doing a bunch of weird alias changes in the bashrc.

Ideas or suggestions are welcome to troubleshoot.

(xfwm4:26033): xfwm4-WARNING **: 18:23:58.963: Unsupported GL renderer (llvmpipe (LLVM 15.0.7, 128 bits)). 

(xfsettingsd:26057): libupower-glib-WARNING **: 18:23:59.066: Couldn't connect to proxy: Could not connect: No such file or directory 

** (xfce4-power-manager:26072): WARNING **: 18:23:59.950: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.xfce.PowerManager': no such name

** (xfce4-power-manager:26072): WARNING **: 18:23:59.951: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.freedesktop.PowerManagement': no such name 

Xlib:  extension "DPMS" missing on display ":0". 

(xfce4-power-manager:26072): xfce4-power-manager-WARNING **: 18:23:59.962: Monitor is not DPMS capable 

(xfce4-power-manager:26072): GLib-GIO-CRITICAL **: 18:23:59.963: g_dbus_connection_signal_subscribe: assertion 'G_IS_DBUS_CONNECTION (connection)' failed 

(xfce4-session:25970): xfce4-session-WARNING **: 18:24:00.094: Unable to launch "update-notifier" (specified by autostart/update-notifier.desktop): Failed to execute child process ?update-notifier? (No such file or directory) 

(polkit-gnome-authentication-agent-1:26082): polkit-gnome-1-WARNING **: 18:24:00.153: Error getting authority: Error initializing authority: Could not connect: No such file or directory 

(xfce4-session:25970): xfce4-session-WARNING **: 18:24:00.158: Unable to launch "nm-applet" (specified by autostart/nm-applet.desktop): Failed to execute child process ?nm-applet? (No such file or directory)
Connection failure: Connection refused
pa_context_connect() failed: Connection refused 

(xfce4-session:25970): xfce4-session-WARNING **: 18:24:00.506: Unable to launch "/usr/libexec/geoclue-2.0/demos/agent" (specified by autostart/geoclue-demo-agent.desktop): Failed to execute child process ?/usr/libexec/geoclue-2.0/demos/agent? (No such file or directory) 

(xfce4-session:25970): xfce4-session-WARNING **: 18:24:00.588: Unable to launch "/usr/libexec/gnome-shell-overrides-migration.sh" (specified by autostart/gnome-shell-overrides-migration.desktop): Failed to execute child process ?/usr/libexec/gnome-shell-overrides-migration.sh? (No such file or directory) 

** (xiccd:26135): CRITICAL **: 18:24:00.690: Failed to connect to colord: Could not connect: No such file or directory 

(xfce4-session:25970): xfce4-session-WARNING **: 18:24:00.691: Unable to launch "blueman-applet" (specified by autostart/blueman.desktop): Failed to execute child process ?blueman-applet? (No such file or directory) 

(xfce4-power-manager:26072): libupower-glib-WARNING **: 18:24:00.800: Couldn't connect to proxy: Could not connect: No such file or directory 

(xfce4-power-manager:26072): xfce4-power-manager-CRITICAL **: 18:24:00.811: Error getting system bus connection : Could not connect: No such file or directory 

(xfce4-power-manager:26072): xfce4-power-manager-CRITICAL **: 18:24:00.813: xfpm_polkit_check_auth_intern: assertion 'polkit->priv->proxy != NULL' failed 

(xfce4-power-manager:26072): xfce4-power-manager-CRITICAL **: 18:24:00.813: xfpm_polkit_check_auth_intern: assertion 'polkit->priv->proxy != NULL' failed 

(xfce4-power-manager:26072): xfce4-power-manager-CRITICAL **: 18:24:00.814: xfpm_polkit_check_auth_intern: assertion 'polkit->priv->proxy != NULL' failed 

(xfce4-power-manager:26072): xfce4-power-manager-CRITICAL **: 18:24:00.814: xfpm_polkit_check_auth_intern: assertion 'polkit->priv->proxy != NULL' failed 

(xfce4-power-manager:26072): xfce4-power-manager-CRITICAL **: 18:24:00.816: Unable to connect to the system bus : Could not connect: No such file or directory 

(xfce4-power-manager:26072): xfce4-power-manager-WARNING **: 18:24:00.831: could not map keysym 1008ffa8 to keycode

(xfce4-power-manager:26072): xfce4-power-manager-WARNING **: 18:24:00.833: Unable connect to system bus: Could not connect: No such file or directory 

** (xfce4-power-manager:26072): WARNING **: 18:24:00.834: No outputs have backlight property 

** (xfpm-power-backlight-helper:26156): WARNING **: 18:24:00.855: failed to find any devices: Error opening directory ?/sys/class/backlight?: Permission denied 

(xfce4-power-manager:26072): xfce4-power-manager-CRITICAL **: 18:24:00.861: Unable to get system bus connection : Could not connect: No such file or directory 

** (xfce4-screensaver:26134): WARNING **: 18:24:01.057: screensaver already running in this session
system-config-printer-applet: failed to connect to system D-Bus 

(xfdesktop:26069): GVFS-RemoteVolumeMonitor-WARNING **: 18:24:01.342: remote volume monitor with dbus name org.gtk.vfs.UDisks2VolumeMonitor is not supported 

(wrapper-2.0:26086): GLib-GIO-CRITICAL **: 18:24:01.692: g_file_new_for_path: assertion 'path != NULL' failed 

(wrapper-2.0:26086): GLib-GIO-CRITICAL **: 18:24:01.699: g_file_monitor_file: assertion 'G_IS_FILE (file)' failed 

(wrapper-2.0:26086): GLib-GObject-WARNING **: 18:24:01.699: invalid (NULL) pointer instance 

(wrapper-2.0:26086): GLib-GObject-CRITICAL **: 18:24:01.699: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed 

(wrapper-2.0:26086): Gtk-WARNING **: 18:24:01.704: Attempting to add a widget with type GtkToggleButton to a container of type XfcePanelPlugin, but the widget is already inside a container of type XfcePanelPlugin, please remove the widget from its existing container first. 

(wrapper-2.0:26114): libactions-WARNING **: 18:24:01.887: Calling CanShutdown failed GDBus.Error:org.xfce.SessionManager.Error.Failed: Could not connect: No such file or directory 

(wrapper-2.0:26114): libactions-WARNING **: 18:24:01.896: Calling CanRestart failed GDBus.Error:org.xfce.SessionManager.Error.Failed: Could not connect: No such file or directory 

(xfce4-session:25970): xfce4-session-WARNING **: 18:24:01.904: failed to run script: Failed to execute child process ?/usr/bin/pm-is-supported? (No such file or directory) 

(xfce4-session:25970): xfce4-session-WARNING **: 18:24:01.915: failed to run script: Failed to execute child process ?/usr/bin/pm-is-supported? (No such file or directory) 

(xfce4-session:25970): xfce4-session-WARNING **: 18:24:01.926: failed to run script: Failed to execute child process ?/usr/bin/pm-is-supported? (No such file or directory) 

(wrapper-2.0:26086): Gtk-WARNING **: 18:24:02.065: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner GtkToggleButton) 

** (xfdesktop:26069): WARNING **: 18:24:02.171: Failed to get system bus: Could not connect: No such file or directory 

(xfce4-panel:26060): xfce4-panel-CRITICAL **: 18:24:48.779: panel-window.c:2391 (panel_window_active_window_geometry_changed): expression 'WNCK_IS_WINDOW (active_window)' failed. 

(Thunar:26064): GVFS-RemoteVolumeMonitor-WARNING **: 18:24:48.905: remote volume monitor with dbus name org.gtk.vfs.UDisks2VolumeMonitor is not supported
# Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: Process org.gnome.Terminal exited with status 8 

(thunar:30659): GVFS-RemoteVolumeMonitor-WARNING **: 18:25:39.030: remote volume monitor with dbus name org.gtk.vfs.UDisks2VolumeMonitor is not supported
^C
** (xiccd:26135): WARNING **: 18:26:07.567: Exiting

** (xfce4-power-manager:26072): WARNING **: 18:26:07.601: Error: The connection is closed

** (xfce4-power-manager:26072): WARNING **: 18:26:07.607: Error: The connection is closed

(xfce4-power-manager:26072): GLib-GObject-CRITICAL **: 18:26:07.611: g_object_unref: assertion 'G_IS_OBJECT (object)' failed 

(xfce4-power-manager:26072): libxfce4ui-WARNING **: 18:26:07.615: ICE I/O Error 

(xfce4-power-manager:26072): GLib-GObject-CRITICAL **: 18:26:07.615: g_object_unref: assertion 'G_IS_OBJECT (object)' failed 

(xfce4-panel:26060): libxfce4ui-WARNING **: 18:26:07.625: ICE I/O Error