Fixing Kali linux errors. (startx not found, "oh no! something has gone wrong" etc)


Author: Iq-BlackHat TeaM
66714 View
6m 16s Lenght
184 Rating


After your fresh install of kali, you might run into some problems. One of them consists of the login screen missing and returning: "Oh no! Something has gone wrong. A problem has occured and the system can't recover. Please contact a system administrator" 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" If you get the following error: root@kali:~#startx -bash: startx: command not found The 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-system Let 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. This 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 # 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. more : http://adf.ly/1R5DWI


Comments

  1. bash: /root/.bashrc: line 112: syntax error: unexpected end of file
    what is this error in terminal ? Please help me sir to fix it.
  2. Very THX man!
  3. and it did pinged google.com but went in an infinite loop...i.e. pinging again and again
  4. I did as you mentioned:
    # apt-get install x-window-system
    # apt-get update
    # apt-get install xorg
    and after that when i tried startx all the screen went BLUE . i can move the cursor only. nothing else is popping up. can you help??
  5. hello help me its always pop up kali login only when i type startx reply pls thanks more power
  6. i need help m8
  7. i end up in a black screen after rebooting in the installation process(before grub)
  8. Work like a charm! Thank you so much !!
  9. Finally i can use Kali THX SO MUCH :D
  10. worked like a charm. thanks
  11. And its not working!! keep saying the same error any help?
  12. I just got the black cursor :L
  13. br-nao funfo
  14. I love you
  15. boys is much simpler than it looks. even if you use a virtual machine, the computer must allow the virtualization of new operating systems. the error that will be kali linux is due to non-approval of the system low windows. you have to enter the bios of your computer and change the permission of virtualization. simple
  16. I've had my pants off ALL DAY TODAY! :D I WIN!!!!!!!
  17. hi, kali linux stops after entering startx it shows ((==) using system config directory "/usr/share/X11/xorg.conf.d") it stays at this line forever plz help
  18. THANKS MAN! THIS SHIT HELPED ME SO FUCKING MUCH I REALLY FUCKING APPRECIATE IT YO WOOOO THANKS!
  19. مرحبا
    اخيك اذا ماتصير زحمه عندي مشكله من اكمل التصيب تطلع شاشه سودة
    ممكن الرد
  20. It still doesn't work!
    Kali is blowing my mind!
    I downloaded the .iso several times, reinstalled both by pendrive and by dvd-rom, reformatted the hard-drive with different partitions tables... nothing to do!
    The irony is that I can run startx smoothly from the recovery terminal.
    ***********UPDATE*********** ↓↓↓ 
    I finally fixed the error by switching to another desktop/windows manager. Now I'm trying LXDE that is very light on my machine.
    If you still have troubles simply install a new graphic environment.