Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Kali cannot enter the graphical interface after rebooting after updating the software

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Yesterday, when the virtual machine updated the kali software, it was not finished. The virtual machine hung up. Today, after updating and rebooting, I found that I could not enter the graphical interface. Luckily, some great gods have also encountered and solved the problem! Now I would like to share my little experience. (see page: http://www.cnsecer.com/6003.html)

First of all, after rebooting, the interface enters the text editing mode. You enter the account name: root password: xxxx and enter it directly.

Kali~#

Then enter:

Kali~# ifconfig (to see if the network card is started, enter kali~# ifconfig eth0 up to restart the network card if it is not started)

Kali~# ping www.baidu.com (if you can't ping, then reconfigure the network card so that you can access the Internet to solve the following problems)

Kali~# apt-get clean & & apt-get update & & apt-get upgrade-y & & apt-get dist-upgrade-y

Next, you are about to copy into the critical step. I have been stuck in this step for a long time, and no personal profile is different, so the path is also different.

Kali~# cd / etc

Kali~ / etc# ls (see if there is X11 in the file directory shown, which is uppercase and followed by the number 11, not the letter ll)

Next

Kaili~ / etc#cd / X11

Kali~ / etc/X11#ls (is there a file name with original in the file displayed, and xorg.conf.nvidia-xconfig-original in my file)

Kali~ / etc/X11#cp xorg.conf.nvidia-xconfig-original / etc/X11/xorg.conf (you can also retreat to the root directory: kali~# cp / etc/X11/xorg.conf.nvidia-xconfig-original / etc/X11/xorg.conf)

And then you can.

Kali~#reboot

Time is in a hurry, the format is not clear, please forgive me!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report