PDA

View Full Version : Black screen after 5 minutes



mkay
2016-05-29, 09:43
Yesterday, I've updated Kali 2016.1. After the first reboot, every time I start the PC, my SO goes in a black screen after 5 minutes I'm working, let me no possibility of interaction and forcing me to hard reboot.
I searched on Google but can't find anything similar. At the following link, the output of
journalctl -xb command

http://pastebin.com/p1jAkP8R

PC is a System76 Serval WS with Intel I7 6700K Skylake CPU and Nvidia GeForce GTX980m.

I hope someone can help me, I'm totally lost.
Thanx

kofphee
2016-05-29, 10:38
Im experiencing the very same problem.
I think it has something to do with nvidia drivers.

Questions:
-Does an earlier version of Kali not do this?
-Does this not occur in failsafe mode?

If you find a solution, please share!
Ive been trying many things to solve this problem and if i find a solution i'll be sharing it.

mkay
2016-05-29, 13:19
It could be nvidia driver! The same thing happens with kernel 4.4 and in failsafe mode too. Pastebin output is from failsafe.

kofphee
2016-05-29, 13:46
I installed kali 2.0 but the problem persists.

I've been struggling with this for around 40 hours now and i'm on the edge of smashing my kali harddrive with a hammer.

Nvidia drivers are very common, and SOMEONE has to have figured this out.
But nobody seems to have shared a solution... Or maybe i'm just using the wrong keywords.

Also, my kali 2.1 worked as supposed in failsafe mode.
2.0 seems to also black screen of death in normal mode.

A solution would be greatly appreciated!

mkay
2016-05-30, 10:33
I'm running proprietary Nvidia drivers. Do you run them too?

mkay
2016-05-30, 22:45
No way... I restored the backup of the last month, uninstalled Nvidia drivers that were in 352.79 version, reinstalled last 361 drivers and full updated the machine. After about 5 minutes from reboot, that weird black screen again. I can't figure out a solution

Albi
2016-06-11, 19:05
No way... I restored the backup of the last month, uninstalled Nvidia drivers that were in 352.79 version, reinstalled last 361 drivers and full updated the machine. After about 5 minutes from reboot, that weird black screen again. I can't figure out a solution

Hi all, I had same probleme and kali 8x fresh installed :-) ****

Now the probleme solved with this:

Fresh install Kali Linux rolling!

When Kali finish installed add this code in terminal and update your systeme
(update by "update package" destroy your systeme!):

apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y

---------------------------------------------------------------------------------

Remove nouveau and install nvidia Driver in Kali Rolling 64bit, Nvidia gtx970 graphic card

no. 1-12 are comands !

- go in computer-folder etc/X11 and create a new file xorg.conf
- give them rights read and write for root and administrator

#open a terminal and type:

1. sudo apt-get remove nvidia*
2. sudo apt-get autoremove

#update and download a few tools that we will need:
3. sudo apt-get update
4. sudo apt-get install dkms build-essential linux-headers-$(uname -r)

#Now its time to blacklist the nouveau driver.

5. sudo nano /etc/modprobe.d/blacklist-nouveau.conf

#and add the following lines:
blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0
alias nouveau off
alias lbm-nouveau off

#Disable the Kernel nouveau by typing the following commands:

6. echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nouveau-kms.conf
7. sudo update-initramfs -u

#Now go to nvidia.com and download the driver for your graphic card.
(if you have already downloaded this driver, delete it and download again.
Let them in Download folder.)
I have install this driver: NVIDIA-Linux-x86_64-361.45.11.run

#Reboot your computer and when start option appears, boot in other (Recovery or so named) modus !
#Login with your root password and follow comands

8. cd ~/Downloads/
(only comand cd Downloads was works for me)

9. chmod +x NVIDIA-Linux-x86_64-361.45.11.run

#Stop the X-server:
10. /etc/init.d/gdm3 stop

#execute the installation:
11. ./NVIDIA-Linux-x86_64-361.45.11.run

#Follow the instructions on the screen:

At that point you might get a warning that " The distribution-provided pre-install script failed! are you sure
that you want to continue?" You can select continue on this one.

Next it will ask you to register the kernel module source with DKMS. Select "yes"

If you dont have 32 bit compatibility the you will get a warning. Just select ok.

You might get a few more steps depends on the hardware and driver version but just before the installation
finish it will ask you if you want to let the installation to run the nvidia-xconfig for you. Please let this one
run unless you want and you know how to do that manually.

Once you finish reboot your computer:

12. reboot

Attention, not add this comand nvidia-xconfig , who you can read on others websit, Nvidia driver make it self. !!

Sorry for my bad swiss english :-)

bmanc42
2016-06-11, 22:31
https://forums.kali.org/showthread.php?31330-Kali-GUI-goes-to-tty1-after-5-minutes-without-any-command


that is another thread where we are hiving this problem.. a fresh install did not help me :(

Albi
2016-06-12, 10:41
I know, xorg crash the systeme.
Save your xorg file
Thats my setting in xorg.log
If you installed Kali after to my instructions , the xorg.log file should look similar to this.

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 361.45.11 (buildmeister@swio-display-x86-rhel47-08) Tue May 17 18:58:26 PDT 2016

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection