After your fresh install of kali, you might run into some problems.
One of them consists of the login screen missing and returning:
If you get the following error:
Don't forget to make sure that all your packages are up to date.
Please leave a link if you copy this tutorial.
One of them consists of the login screen missing and returning:
"Oh no! Something has gone wrong.To fix this issue (a temporary fix), press CTRL+ALT+F1, it will take you to the terminal. From there, check if you can use the command "startx"
A problem has occured and the system can't recover. Please contact a system administrator"
If you get the following error:
root@kali:~#startx
-bash: startx: command not foundThe problem would be that you don't have the x window system functioning yet, install it by using the command:
apt-get install x-window-systemLet it install and from there, you should be able to access your graphical user interface using "startx"
Don't forget to make sure that all your packages are up to date.
Please leave a link if you copy this tutorial.
Apres une installation de kali linux, vous avez peut etre rencontrée la probleme suivante:
Si il retourne l'erreur suivante:
Verifiez que tous vos paquets sont mis a jour.
Veuillez laisser un indice si vous copiez ce guide.
"Oh Mince, quelque chose s'est mal passéPour resoudre cette probleme (resolution temporaire), appuiyez sur CTRL+ALT+F1, pour ouvrir le terminal.Dans le terminal, voyez si vous pouvez executer la commande "startx"
Oh mince! Quelque chose s'est mal passé. Un problème est survenu et le système ne peut pas se récupérer. Déconnectez-vous et essayez à nouveau.
"
Si il retourne l'erreur suivante:
root@kali:~#startx
-bash: startx: command not foundIl est possible que vous n'avez pas encore la systeme de fenetre X (x window system) installée, ulilisez cette commande pout l'installer:
apt-get install x-window-systemLaisse installer, Apres installation, vous pouvez maintenant acceder a l'interface graphique avec la commande "startx"
Verifiez que tous vos paquets sont mis a jour.
Veuillez laisser un indice si vous copiez ce guide.
Hello. I have this problem. I pressed CTRL+ALT+F1, than I login with root and my password. When I typed "startx" it returned "command not found". Than I tried "apt-get install x-window-system" but it returned "Unable to fetch some archives, maybe run "apt-get update" or try with --fix missing?" I tried to update but it says "Some index files failed to doenload. They have been ignored, or old ones used instead.".
ReplyDeleteI have installed Kali Linux 1.0.6 64-bit (dual boot with Windows 8.1). And in installation I have chosed my laptop's wifi modem. Thanks for your help.
Hello, please try to test the network connectivity first using a ping. (ex "ping www.google.com")
Deleteif it does not return any data or returns an error, the problem might be on the network connection.
If the network connection works, then the problem might be in your mirror files, try using a different mirror/source for your packages.
Hi Eliris, I met the same problem, plus I got no network connection. I wonder how you can configure network via this terminal? Thank you!
Deleteit keeps saying apt-get install x-window-system permission denied.
ReplyDeleteMe sale:
ReplyDeleteKali GNU/ Linux 1.0.6 kali tty1
Kali login:
Password:
Y no puedo escribir en el password :/
Cuando escribes en el password no se ve lo que estás tecleando, pero sí estás escribiendo.
DeleteThis is step by step how to fixs or resolves problem Kali GNU/Linux 1.0.7 kali tty1 caused by lost or removed GNOME Desktop Environment
Delete# apt-get update # apt-get install xorg # startx
Note: The steps above need internet connection, so you need to connect your pc to wifi or LAN. Here iam use wifi connection.
To connect wifi, follow below instructions :
Okay, I'm going to try and answer your question, even though there is no terminal output included in your question.
The command ifconfig wlan0 does not turn on your wireless card. It gives you information about your wlan0. To turn on your wireless card, you would enter ifconfig wlan0 up. Although, it's not always wlan0. To find out the name of your wireless card, type iwconfig, and look at the row that has some information in it, not 'no wireless extensions'.
To be able to run the commands ifconfig wlan0 up, iwconfig wlan0 essid name key password and dhclient wlan0, you need to be root. So, you have to put the word sudo before those commands (unless you're already logged in as root).
The password in the command iwconfig wlan0 essid name key password should be in hexadecimal. If you want to type the ASCII password, you would use iwconfig wlan0 essid name key s:password.
The command iwconfig wlan0 essid name key password only works with access points that use WEP as encryption. If the access point uses WPA/WPA2, you'll have to use another method to connect, found here: How do I connect to a WPA wifi network using the command line?
Also, might I ask, is there a reason why you're trying to connect to a WiFi network through command line? Unless you're experimenting of course. Source: http://askubuntu.com/questions/294257/connect-to-wifi-network-through-ubuntu-terminal
After you follows step by step above intructions, i am pretty sure that you has login linux in GUI. The last one is you open terminal and type this command
# apt-get install gnome-core kali-defaults kali-root-login desktop-base
# reboot
Now your linux boot normally and the problem fixed.
Login: root
DeletePassword: yourpassword
so what is the permanent fix?
ReplyDeletethnx pro is work :)
ReplyDeleteyes thanks so much. now i success to fix it
ReplyDeleteWhat is the permanent fix?
ReplyDeletei can't fix it :'(
ReplyDeleteThis is step by step how to fixs or resolves problem Kali GNU/Linux 1.0.7 kali tty1 caused by lost or removed GNOME Desktop Environment
ReplyDelete# apt-get update
# apt-get install xorg
# startx
Note: The steps above need internet connection, so you need to connect your pc to wifi or LAN. Here iam use wifi connection.
To connect wifi, follow below instructions :
Okay, I'm going to try and answer your question, even though there is no terminal output included in your question.
The command
# ifconfig wlan0 does not turn on your wireless card. It gives you information about your wlan0. To turn on your wireless card, you would enter
#ifconfig wlan0 up. Although, it's not always wlan0. To find out the name of your wireless card, type iwconfig, and look at the row that has some information in it, not 'no wireless extensions'.
To be able to run the commands ifconfig wlan0 up,
# iwconfig wlan0 essid name key password and dhclient wlan0, you need to be root. So, you have to put the word sudo before those commands (unless you're already logged in as root).
The password in the command iwconfig wlan0 essid name key password should be in hexadecimal. If you want to type the ASCII password, you would use iwconfig wlan0 essid name key s:password.
The command iwconfig wlan0 essid name key password only works with access points that use WEP as encryption. If the access point uses WPA/WPA2, you'll have to use another method to connect, found here: How do I connect to a WPA wifi network using the command line?
Also, might I ask, is there a reason why you're trying to connect to a WiFi network through command line? Unless you're experimenting of course. Source: http://askubuntu.com/questions/294257/connect-to-wifi-network-through-ubuntu-terminal
After you follows step by step above intructions, i am pretty sure that you has login linux in GUI. The last one is you open terminal and type this command
# apt-get install gnome-core kali-defaults kali-root-login desktop-base
# reboot
Now your linux boot normally and the problem fixed.
NOT WORK !!!
ReplyDeleteThank you. Saved a lot of time and a possible reinstall.
ReplyDeleteAwesome , I got it up and running again !! Thanks a million
ReplyDeleteThis comment has been removed by the author.
ReplyDeletehi, the fix works for me, but the background of kali is like crashed, lines are crossing the background, and some icons in applications menu doesnt appear or you cant see them when i clic on it the pop up but not knowing what i just opend.... any suggestion?
ReplyDeleteis not workin
ReplyDeleteAfter # apt-get install x-window-system # startx, I'm getting the error of "Segmentation fault"
ReplyDeleteKali Linux 2.0 has the same error.
ReplyDeleteWas not able to fix.
Crtl Alt F1 worked
Logged in as root
Password - toor
apt-get install x-window-system (worked)
But same error message :-(
I'm also getting same error bro.....
DeleteAs I was attempting to install Kali 2.0 on VMware I was running into the same issue. Startx was not found, and even upon manually installing it would not work. The one thing that worked for me was to enable virtualization in bios. This is usually a problem that occurs with VirtualBox for me, but this time it resolves the issue with Kali 2.0 on VMware.
ReplyDeletethis works for me, however after iu reboot it still says "oops something has went wrong." at which point i havce to hit ctrl-alt-f1 to get into terminal, then type startx to load gnome. how do i work around having to type startx each time i reboot????
ReplyDeletewhen i enter apt-get install x-window-system
ReplyDeletethis command,i was erroe
"unable to locate package x-window-system".
what can i do/
this commend help me >>> thank you
ReplyDelete# apt-get update
# apt-get install xorg
# startx
I FUCKING LOVE YOU THANK YOU SO MUCH!!!!!!!!!!!!!!!!!
ReplyDelete