PDA

View Full Version : Can't login after the upgrade to Kali linux 2.0



mohdows
2015-08-15, 16:59
I'm having a problem after the upgrade attempts, no luck. Upgrading an up-to-date Kali 1.1 to 2.0. but hey, I'd like to get it fixed just ~because~.

This may not help anyone, but here's what I'm seeing.

Attempting to boot gets me to a grey frowzy face screen:

Oh no! Something has gone wrong.
A problem has occurred and the system can't recover.
Please log out and try again.

I have two cards installed

Nvidia
Intel

After reading the X.org error I found that there is an error which is "No screens found", I've tried uninstalling the gdm3 and the xorg.conf but nothing happened.

mohdows
2015-08-16, 15:51
I solve the problem by removing the Nvidia drivers.
after the black screen I click the ALT+CTRL+F1 and after that use this code

apt-get remove nvidia* --purge
and after that

reboot

it works fine

M0D1xD
2015-08-16, 16:50
Hello my friend ..
I had the same problem
And I fixed it this way ..
First u need to boot to recovery
And plug ethernet cable to your laptop/pc
Then .
Apply .
nano /etc/apt/sources.list
And erase all sources and past this

deb http://http.kali.org/kali sana main non-free contrib
deb http://security.kali.org/kali-security sana/updates main contrib non-free
deb-src http://http.kali.org/kali sana main non-free contrib
deb-src http://security.kali.org/kali-security sana/updates main contrib non-free

Then Ctrl x
Y
Enter
Then apply


apt-get update
apt-get upgrade
apt-get dist-upgrade

And I wish it will help u

pedropa
2015-08-24, 15:36
None of the options helped me :(

I don't have any nvidia driver (coming from a vmware machine) and no luck after adding the two src lines (I already had the others).

Any help?


It happened after I dist upgraded to 2.0.

Psysin
2015-09-03, 07:11
Finally ,no need of startx i think i have a solution When logout error appear just press
(Ctrl+Alt and F1 or F2 )
And enter your previously used root username password or create another user and after that run this command
# vi /etc/gdm3/daemon.conf (use sudo for non root user )

And change it
AutomaticLoginEnable=false
AutomaticLogin=root or user1 (if u create a new user and want to login from it)

To

AutomaticLoginEnable=true
AutomaticLogin=root or user1

pedropa
2015-09-03, 17:21
Finally ,no need of startx i think i have a solution When logout error appear just press
(Ctrl+Alt and F1 or F2 )
And enter your previously used root username password or create another user and after that run this command
# vi /etc/gdm3/daemon.conf (use sudo for non root user )

And change it
AutomaticLoginEnable=false
AutomaticLogin=root or user1 (if u create a new user and want to login from it)

To

AutomaticLoginEnable=true
AutomaticLogin=root or user1

Thank you! that finally fixed it for me!

sthubbar
2016-01-08, 02:10
Finally ,no need of startx i think i have a solution When logout error appear just press
(Ctrl+Alt and F1 or F2 )
And enter your previously used root username password or create another user and after that run this command
# vi /etc/gdm3/daemon.conf (use sudo for non root user )

And change it
AutomaticLoginEnable=false
AutomaticLogin=root or user1 (if u create a new user and want to login from it)

To

AutomaticLoginEnable=true
AutomaticLogin=root or user1

Psysin, thank you. This works.

I have been do so many apt-get install/remove/update/upgrade/dist-upgrade/purge/autoremove commands that I'm surprised the system works at all.

harsh2001
2016-01-14, 07:35
hey psysin it is showing that - no such file or directory exists plz help me !!!!!

Prog Snob
2016-01-24, 12:37
Hey guys. I've tried all of the above options and I still get the "Oh no! Something has gone wrong..." error. What else can I try?

pcmiami1
2016-02-02, 01:37
I solve the problem by removing the Nvidia drivers.
after the black screen I click the ALT+CTRL+F1 and after that use this code

apt-get remove nvidia* --purge
and after that

reboot

it works fine
Simple solution, worked perfect! Thanks

when123
2016-02-03, 04:11
cd /etc/X11/ if there are xorg.conf . and rename it .

if not resolve , apt-get install lightdm

and dpkg-reconfigure gdm3 change gdm3 to lightdm .

if still not workable ,

apt-get remove gnome-shell .


reboot .

and them apt-get install gnome-shell and gnome-core .

hope this can help you .