By Sheldon L | Published at 2020-04-21 | Updated at 2020-04-21 |
If UGI dead.
# `Ctrl + Alt + F1~F6`
# open proxy if you have one
v2ray
# `Ctrl + Z` NOT `Ctrl + C`
export all_proxy=socks5://127.0.0.1:1080
dpkg --configure -a
apt --fix-broken install
apt --fix-missing update
apt autoremove
apt update
# TRY
apt upgrade -y && apt autoremove
# OR
apt full-upgrade # cafully use
# See: https://www.kali.org/docs/general-use/xfce-faq/
# Install xfce and remove gnome
apt install kali-desk-xfce # choose light dm
update-alternatives --config x-session-manager # choose Xfce's option
# after setup xfce, if you wanna remove gnome or not
apt purge --autoremove kali-desktop-gnome
# if still have issues back up .cache .config .local, then:
rm -r .cache .config .local
# `Ctrl + Alt + F7`
# reinstall
apt install --reinstall lightdm kali-desktop-xfce
# reconfigure
cat /etc/X11/default-display-manager # current display-manager
sudo dpkg-reconfigure <current display-manager> # reconfigure