Hello everyone,

I recently came up with the following problem:

I am booting on a persistent USB Kali Linux 2022.2 USB drive.
Graphical server does not start as shown in the booting informations
gnome won't start.JPG

I used ctrl+ alt + f2 to use the terminal. But a lot of the programs are not accessible.
dmesg does not work, as weel as other commands.
/var/log/dmesg does not exist

I tried to use "systemctl status gdm.service", here is the output:
sytemctl output.JPG
I got the same error message for dmesg


I did:
cat /etc/apt/apt.conf.d/20snapd.conf
and got some weird output probably something like hexadecimal.
Could anyone check their file and show me how you file looks like?

I recently updated/installed snap and/or snapd so it may be related to that.

Trying to use "apt" end up showing me the same error message (command not found and problem with this 20snapd.conf file)
==> So I can't do "sudo apt remove snap"

Tried to find troubleshooting linked to thoses error messages on Google but found nothing.

Please any suggestion is welcomed. Thanks