3

I have suddenly an issue where I cannot open web browsers like Firefox, Brave, and Chromium. It seems the shared library libX11.so.6 is the problem. snap is unresponsive, snap list and snap refresh give the same error. I searched and tried many solutions to no avail. If I try to install the library again I get a message that it is already there:

sudo apt install libx11-6 
Loading package lists... Done
Building dependency tree... Done
Reading status information... Done
libx11-6 is already the latest version (2:1.8.7-1build1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

I also tried sudo apt install --reinstall snapd and even sudo apt remove --purge snapd and reinstalled it, but the problem still persists.

If I try .sudo apt install firefox. I get this error:

enter image description here

I am out of options. I installed Google Chrome for the time being, my Tor browser is also working. All passwords are within Firefox and Chrome seems not to be able to import them (although it says it did).

I am using Ubuntu 24.04.

screenfetch
                          ./+o+-       farzan@ZenBook-UX363EA
                  yyyyy- -yyyyyy+      OS: Ubuntu 24.04 noble
               ://+//////-yyyyyyo      Kernel: x86_64 Linux 6.8.0-55-generic
           .++ .:/++++++/-.+sss/`      Uptime: 1h 12m
         .:++o:  /++++++++/:--:/-      Packages: 2701
        o:+o+:++.`..```.-/oo+++++/     Shell: bash
       .:+o:+o/.          `+sssoo+/    Resolution: 1920x1080
  .++/+:+oo+o:`             /sssooo.   DE: GNOME 46.5
 /+++//+:`oo+o               /::--:.   WM: Mutter
 \+/+o+++`o++o               ++////.   WM Theme: Adwaita
  .++.o+++oo+:`             /dddhhh.   GTK Theme: Yaru-dark [GTK2/3]
       .+.o+oo:.          `oddhhhh+    Icon Theme: Yaru-dark
        \+.++o+o``-````.:ohdhhhhh+     Font: Ubuntu Sans 11
         `:o+++ `ohhhhhhhhyo++os:      Disk: 243G / 449G (58%)
           .o:`.syhhhhhhh/.oo++o`      CPU: 11th Gen Intel Core i7-1165G7 @ 8x 4.7GHz [48.0°C]
               /osyyyyyyo++ooo+++/     GPU: Mesa Intel(R) Xe Graphics (TGL GT2)
                   ````` +oo+++o\:     RAM: 6220MiB / 15673MiB
                          `oo++.      
karel
  • 122,292
  • 133
  • 301
  • 332
Farzan
  • 125
  • 1
  • 9

1 Answers1

4

I found the answer to my problem, the credit goes to @user3814063 who provided an answer to a similar question just a few hours after my question here: snap: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory

The problem seems to be the "App Protection" action of icaclient (Citrix). As the original answer states, I run sudo apt remove --purge icaclient after which snap list and sudo snap refresh worked. However, the web browsers didn't work. There was an issue with core22 of snap. This issue was eventually solved with the command:

sudo snap refresh core22 --edge .

Thereafter reinstalled the latest version of icaclient according to the instructions at the Citrix website, but turned the option of App Protection off.

Everything is now up and running.

Farzan
  • 125
  • 1
  • 9