Well. Some days ago i made an 'apt-get install virtualbox' on my kali linux 2.0.

I use xfce. apt-get downloaded like 300mb of files and installed about 1gb. Everything ok. Then i restarted my computer. Everything broke.

My graphical login disappeared, got a terminal login (very strange), so i discovered i could login using startx, i did it, but i got a surprise, everything was VERY UGLY, like i was using windows 3.1, icons pixeled, etc...

Wherever... System kept running xfce, programs working, etc... Tried to run internet, got disconnected, very strange too. So i searched the network manager to see my connections, where? The menu was gone.

Tried many aproaches:


/etc/init.d/network-manager force-reload  
service network-manager start  
ifconfig wlan0 up  
dhclient wlan0  
ip link show eth0  
ip link set eth0 up  
airmon-ng check kill  
service NetworkManager start

None of them worked. Its three problems in one:

Terminal login
ugly Xfce
Broked internet

The main problem is the internet, because without internet i cannot even repair the other problems and i cannot work.

Thought in undo the apt-get, don't know how, how can i recover everything? Why is this happening?


  • 1
    Merry Xmas. Kali is not meant as a desktop environment, it is meant to be run in a VM by experienced Linux administrators that also are IT security specialists, so these things happen, It looks like installing VirtualBox uninstalled some parts of your system. You could try sudo apt-get install task-xfce-desktop xfce4-goodies but I would backup, format and install Mint, Devuan, Debian or Ubuntu instead. – thecarpy Dec 25 '17 at 15:33
  • How can i run apt-get install task-xfce-desktop, without internet? – eeerrrttt Dec 25 '17 at 16:20
  • Also, virtualbox should work in Kali, as virtualbox is necessary to many security applications – eeerrrttt Dec 25 '17 at 16:21
  • Easiest solution: restore from a recent backup, or just reinstall completely. You shouldn't have anything important saved on a Kali Linux system anyway – Fox Dec 25 '17 at 17:28
  • 1
    Also, when debugging your networking, pick one method and stick with it. Using all of those network tools will conflict with each other and get you nowhere. If your graphical environment is broken, ditch Network Manager and use ifconfig, ip addr, or the standard Debian /etc/network/interfaces with the ifup/ifdown scripts. But just one of those will suffice. – multithr3at3d Dec 25 '17 at 18:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.