Black screen on login, gnome-shell eating 100% of CPU
Clash Royale CLAN TAG#URR8PPP
up vote
9
down vote
favorite
From the usual Ubuntu login screen, I click on my name, type my password, and press ENTER. Screen goes black...and stays black. I cannot get to my desktop.
If I SSH from another computer and run htop, I can see /usr/bin/gnome-shell
is eating up 100% of a single core. Other than gnome-shell, the system is completely idle. Load average in htop is exactly 1.00.
Earlier today I left it there for over an hour, but no change. Since then I've also tried rebooting, but same results. This desktop was previously working fine, not sure what I messed up. How can I debug what is happening?
nvidia login gnome-shell
add a comment |Â
up vote
9
down vote
favorite
From the usual Ubuntu login screen, I click on my name, type my password, and press ENTER. Screen goes black...and stays black. I cannot get to my desktop.
If I SSH from another computer and run htop, I can see /usr/bin/gnome-shell
is eating up 100% of a single core. Other than gnome-shell, the system is completely idle. Load average in htop is exactly 1.00.
Earlier today I left it there for over an hour, but no change. Since then I've also tried rebooting, but same results. This desktop was previously working fine, not sure what I messed up. How can I debug what is happening?
nvidia login gnome-shell
2
Relevant? askubuntu.com/questions/1036441/â¦
â SSight3
Oct 1 at 10:19
If your computer is too slow during your diagnosis, you can reduce the priority of gnomerenice -n 19 -p PID
or stop itkill -STOP PID
(-CONT
for resuming)
â user285259
Oct 1 at 18:44
Similar to askubuntu.com/q/1080146/19559
â Captain Giraffe
Oct 2 at 0:11
add a comment |Â
up vote
9
down vote
favorite
up vote
9
down vote
favorite
From the usual Ubuntu login screen, I click on my name, type my password, and press ENTER. Screen goes black...and stays black. I cannot get to my desktop.
If I SSH from another computer and run htop, I can see /usr/bin/gnome-shell
is eating up 100% of a single core. Other than gnome-shell, the system is completely idle. Load average in htop is exactly 1.00.
Earlier today I left it there for over an hour, but no change. Since then I've also tried rebooting, but same results. This desktop was previously working fine, not sure what I messed up. How can I debug what is happening?
nvidia login gnome-shell
From the usual Ubuntu login screen, I click on my name, type my password, and press ENTER. Screen goes black...and stays black. I cannot get to my desktop.
If I SSH from another computer and run htop, I can see /usr/bin/gnome-shell
is eating up 100% of a single core. Other than gnome-shell, the system is completely idle. Load average in htop is exactly 1.00.
Earlier today I left it there for over an hour, but no change. Since then I've also tried rebooting, but same results. This desktop was previously working fine, not sure what I messed up. How can I debug what is happening?
nvidia login gnome-shell
nvidia login gnome-shell
edited Oct 1 at 13:38
Kristopher Ives
1,816813
1,816813
asked Oct 1 at 2:51
Stéphane
1,34521225
1,34521225
2
Relevant? askubuntu.com/questions/1036441/â¦
â SSight3
Oct 1 at 10:19
If your computer is too slow during your diagnosis, you can reduce the priority of gnomerenice -n 19 -p PID
or stop itkill -STOP PID
(-CONT
for resuming)
â user285259
Oct 1 at 18:44
Similar to askubuntu.com/q/1080146/19559
â Captain Giraffe
Oct 2 at 0:11
add a comment |Â
2
Relevant? askubuntu.com/questions/1036441/â¦
â SSight3
Oct 1 at 10:19
If your computer is too slow during your diagnosis, you can reduce the priority of gnomerenice -n 19 -p PID
or stop itkill -STOP PID
(-CONT
for resuming)
â user285259
Oct 1 at 18:44
Similar to askubuntu.com/q/1080146/19559
â Captain Giraffe
Oct 2 at 0:11
2
2
Relevant? askubuntu.com/questions/1036441/â¦
â SSight3
Oct 1 at 10:19
Relevant? askubuntu.com/questions/1036441/â¦
â SSight3
Oct 1 at 10:19
If your computer is too slow during your diagnosis, you can reduce the priority of gnome
renice -n 19 -p PID
or stop it kill -STOP PID
(-CONT
for resuming)â user285259
Oct 1 at 18:44
If your computer is too slow during your diagnosis, you can reduce the priority of gnome
renice -n 19 -p PID
or stop it kill -STOP PID
(-CONT
for resuming)â user285259
Oct 1 at 18:44
Similar to askubuntu.com/q/1080146/19559
â Captain Giraffe
Oct 2 at 0:11
Similar to askubuntu.com/q/1080146/19559
â Captain Giraffe
Oct 2 at 0:11
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
5
down vote
accepted
On a whim, because I had seen some updates to the nvidia drivers, I tried to switch to nouveau. I have no idea if I did so correctly, but it solved the problem. This is what I ran:
sudo apt-get purge nvidia-*
sudo apt-get autoclean
sudo apt-get autoremove
sudo reboot
At this point, everything seems to be working again, and looking at the "Additional Driver" tab of "Software & Updates", I see that this computer is now using Nouveau instead of NVIDIA.
Some weeks ago I had a different issue (extremely slow 3D performance) on Debian. I resolved it by purging and reinstalling nvidia drivers. So maybe your problem will be solved even after installing nvidia drivers again. However if you don't really need them (e.g. no heavy gaming) I suggest to stay with nouveau.
â scai
Oct 1 at 8:33
I have a similar issue with nvidia drivers. Can you login if you reactivate the nvidia binaries?
â Captain Giraffe
Oct 1 at 13:27
@CaptainGiraffe Re-activing the nvidia drivers results in the same problem.
â Stéphane
Oct 2 at 8:59
add a comment |Â
up vote
3
down vote
My advice is first try logging in with a new user, you can create the user over SSH:
sudo adduser testuser
Try logging in with that new user. If gnome-shell
is still taking up 100% and not working, then there is likely a problem with that package, possibly a corrupt disk could have cause the /usr/bin/gnome-shell
binary to become corrupted, you can check this by running:
sudo debsums -s
If it prints anything then those package files have been corrupted (or modified by a user/program for some reason, which they shouldn't be)
Lastly if you are able to login as a test user but cannot with your existing account, try renaming these files in your home directory to something else and logging in to narrow down which files are causing the problems:
~/.config
~/.gconf
~/.local
1
It is very very unlikely that the gnome shell binary becomes corrupted or is changed by another program. More likely are wrong (system-wide) configurations or problems with the hardware (e.g. graphics driver). Especially for new releases you may have triggered a bug, which possibly should be reported. When you are sure, it is not caused by your per-user configuration or you changed related configurations in /etc
â allo
Oct 1 at 9:33
add a comment |Â
up vote
0
down vote
I had the same issue and disabling login on start up sort of fixed it.
- Go to Settings > Details > Users
- Click on Unlock, enter password
- Enable automatic login
Then reinstall nvidia drivers, but note that if you log out of your current session and login again, you're gonna run into the black screen issue again (at least from what happened too me).
Locking screen and logging back in works fine though.
New contributor
How do you suggest I get to Settings > Details > Users when I cannot login?
â Stéphane
Oct 2 at 8:54
Are nvidia drivers still installed? Does the login screen pop up? If the answer is yes, try the following.... Don't enter password in login screen. Enter Ctrl+Alt+F2 to open a shell prompt, enter username and password, run " sudo apt remove nvidia-* *" to uninstall nvidia drivers, reboot. You should be able to login
â Nate
Oct 3 at 0:20
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
5
down vote
accepted
On a whim, because I had seen some updates to the nvidia drivers, I tried to switch to nouveau. I have no idea if I did so correctly, but it solved the problem. This is what I ran:
sudo apt-get purge nvidia-*
sudo apt-get autoclean
sudo apt-get autoremove
sudo reboot
At this point, everything seems to be working again, and looking at the "Additional Driver" tab of "Software & Updates", I see that this computer is now using Nouveau instead of NVIDIA.
Some weeks ago I had a different issue (extremely slow 3D performance) on Debian. I resolved it by purging and reinstalling nvidia drivers. So maybe your problem will be solved even after installing nvidia drivers again. However if you don't really need them (e.g. no heavy gaming) I suggest to stay with nouveau.
â scai
Oct 1 at 8:33
I have a similar issue with nvidia drivers. Can you login if you reactivate the nvidia binaries?
â Captain Giraffe
Oct 1 at 13:27
@CaptainGiraffe Re-activing the nvidia drivers results in the same problem.
â Stéphane
Oct 2 at 8:59
add a comment |Â
up vote
5
down vote
accepted
On a whim, because I had seen some updates to the nvidia drivers, I tried to switch to nouveau. I have no idea if I did so correctly, but it solved the problem. This is what I ran:
sudo apt-get purge nvidia-*
sudo apt-get autoclean
sudo apt-get autoremove
sudo reboot
At this point, everything seems to be working again, and looking at the "Additional Driver" tab of "Software & Updates", I see that this computer is now using Nouveau instead of NVIDIA.
Some weeks ago I had a different issue (extremely slow 3D performance) on Debian. I resolved it by purging and reinstalling nvidia drivers. So maybe your problem will be solved even after installing nvidia drivers again. However if you don't really need them (e.g. no heavy gaming) I suggest to stay with nouveau.
â scai
Oct 1 at 8:33
I have a similar issue with nvidia drivers. Can you login if you reactivate the nvidia binaries?
â Captain Giraffe
Oct 1 at 13:27
@CaptainGiraffe Re-activing the nvidia drivers results in the same problem.
â Stéphane
Oct 2 at 8:59
add a comment |Â
up vote
5
down vote
accepted
up vote
5
down vote
accepted
On a whim, because I had seen some updates to the nvidia drivers, I tried to switch to nouveau. I have no idea if I did so correctly, but it solved the problem. This is what I ran:
sudo apt-get purge nvidia-*
sudo apt-get autoclean
sudo apt-get autoremove
sudo reboot
At this point, everything seems to be working again, and looking at the "Additional Driver" tab of "Software & Updates", I see that this computer is now using Nouveau instead of NVIDIA.
On a whim, because I had seen some updates to the nvidia drivers, I tried to switch to nouveau. I have no idea if I did so correctly, but it solved the problem. This is what I ran:
sudo apt-get purge nvidia-*
sudo apt-get autoclean
sudo apt-get autoremove
sudo reboot
At this point, everything seems to be working again, and looking at the "Additional Driver" tab of "Software & Updates", I see that this computer is now using Nouveau instead of NVIDIA.
answered Oct 1 at 3:58
Stéphane
1,34521225
1,34521225
Some weeks ago I had a different issue (extremely slow 3D performance) on Debian. I resolved it by purging and reinstalling nvidia drivers. So maybe your problem will be solved even after installing nvidia drivers again. However if you don't really need them (e.g. no heavy gaming) I suggest to stay with nouveau.
â scai
Oct 1 at 8:33
I have a similar issue with nvidia drivers. Can you login if you reactivate the nvidia binaries?
â Captain Giraffe
Oct 1 at 13:27
@CaptainGiraffe Re-activing the nvidia drivers results in the same problem.
â Stéphane
Oct 2 at 8:59
add a comment |Â
Some weeks ago I had a different issue (extremely slow 3D performance) on Debian. I resolved it by purging and reinstalling nvidia drivers. So maybe your problem will be solved even after installing nvidia drivers again. However if you don't really need them (e.g. no heavy gaming) I suggest to stay with nouveau.
â scai
Oct 1 at 8:33
I have a similar issue with nvidia drivers. Can you login if you reactivate the nvidia binaries?
â Captain Giraffe
Oct 1 at 13:27
@CaptainGiraffe Re-activing the nvidia drivers results in the same problem.
â Stéphane
Oct 2 at 8:59
Some weeks ago I had a different issue (extremely slow 3D performance) on Debian. I resolved it by purging and reinstalling nvidia drivers. So maybe your problem will be solved even after installing nvidia drivers again. However if you don't really need them (e.g. no heavy gaming) I suggest to stay with nouveau.
â scai
Oct 1 at 8:33
Some weeks ago I had a different issue (extremely slow 3D performance) on Debian. I resolved it by purging and reinstalling nvidia drivers. So maybe your problem will be solved even after installing nvidia drivers again. However if you don't really need them (e.g. no heavy gaming) I suggest to stay with nouveau.
â scai
Oct 1 at 8:33
I have a similar issue with nvidia drivers. Can you login if you reactivate the nvidia binaries?
â Captain Giraffe
Oct 1 at 13:27
I have a similar issue with nvidia drivers. Can you login if you reactivate the nvidia binaries?
â Captain Giraffe
Oct 1 at 13:27
@CaptainGiraffe Re-activing the nvidia drivers results in the same problem.
â Stéphane
Oct 2 at 8:59
@CaptainGiraffe Re-activing the nvidia drivers results in the same problem.
â Stéphane
Oct 2 at 8:59
add a comment |Â
up vote
3
down vote
My advice is first try logging in with a new user, you can create the user over SSH:
sudo adduser testuser
Try logging in with that new user. If gnome-shell
is still taking up 100% and not working, then there is likely a problem with that package, possibly a corrupt disk could have cause the /usr/bin/gnome-shell
binary to become corrupted, you can check this by running:
sudo debsums -s
If it prints anything then those package files have been corrupted (or modified by a user/program for some reason, which they shouldn't be)
Lastly if you are able to login as a test user but cannot with your existing account, try renaming these files in your home directory to something else and logging in to narrow down which files are causing the problems:
~/.config
~/.gconf
~/.local
1
It is very very unlikely that the gnome shell binary becomes corrupted or is changed by another program. More likely are wrong (system-wide) configurations or problems with the hardware (e.g. graphics driver). Especially for new releases you may have triggered a bug, which possibly should be reported. When you are sure, it is not caused by your per-user configuration or you changed related configurations in /etc
â allo
Oct 1 at 9:33
add a comment |Â
up vote
3
down vote
My advice is first try logging in with a new user, you can create the user over SSH:
sudo adduser testuser
Try logging in with that new user. If gnome-shell
is still taking up 100% and not working, then there is likely a problem with that package, possibly a corrupt disk could have cause the /usr/bin/gnome-shell
binary to become corrupted, you can check this by running:
sudo debsums -s
If it prints anything then those package files have been corrupted (or modified by a user/program for some reason, which they shouldn't be)
Lastly if you are able to login as a test user but cannot with your existing account, try renaming these files in your home directory to something else and logging in to narrow down which files are causing the problems:
~/.config
~/.gconf
~/.local
1
It is very very unlikely that the gnome shell binary becomes corrupted or is changed by another program. More likely are wrong (system-wide) configurations or problems with the hardware (e.g. graphics driver). Especially for new releases you may have triggered a bug, which possibly should be reported. When you are sure, it is not caused by your per-user configuration or you changed related configurations in /etc
â allo
Oct 1 at 9:33
add a comment |Â
up vote
3
down vote
up vote
3
down vote
My advice is first try logging in with a new user, you can create the user over SSH:
sudo adduser testuser
Try logging in with that new user. If gnome-shell
is still taking up 100% and not working, then there is likely a problem with that package, possibly a corrupt disk could have cause the /usr/bin/gnome-shell
binary to become corrupted, you can check this by running:
sudo debsums -s
If it prints anything then those package files have been corrupted (or modified by a user/program for some reason, which they shouldn't be)
Lastly if you are able to login as a test user but cannot with your existing account, try renaming these files in your home directory to something else and logging in to narrow down which files are causing the problems:
~/.config
~/.gconf
~/.local
My advice is first try logging in with a new user, you can create the user over SSH:
sudo adduser testuser
Try logging in with that new user. If gnome-shell
is still taking up 100% and not working, then there is likely a problem with that package, possibly a corrupt disk could have cause the /usr/bin/gnome-shell
binary to become corrupted, you can check this by running:
sudo debsums -s
If it prints anything then those package files have been corrupted (or modified by a user/program for some reason, which they shouldn't be)
Lastly if you are able to login as a test user but cannot with your existing account, try renaming these files in your home directory to something else and logging in to narrow down which files are causing the problems:
~/.config
~/.gconf
~/.local
answered Oct 1 at 2:57
Kristopher Ives
1,816813
1,816813
1
It is very very unlikely that the gnome shell binary becomes corrupted or is changed by another program. More likely are wrong (system-wide) configurations or problems with the hardware (e.g. graphics driver). Especially for new releases you may have triggered a bug, which possibly should be reported. When you are sure, it is not caused by your per-user configuration or you changed related configurations in /etc
â allo
Oct 1 at 9:33
add a comment |Â
1
It is very very unlikely that the gnome shell binary becomes corrupted or is changed by another program. More likely are wrong (system-wide) configurations or problems with the hardware (e.g. graphics driver). Especially for new releases you may have triggered a bug, which possibly should be reported. When you are sure, it is not caused by your per-user configuration or you changed related configurations in /etc
â allo
Oct 1 at 9:33
1
1
It is very very unlikely that the gnome shell binary becomes corrupted or is changed by another program. More likely are wrong (system-wide) configurations or problems with the hardware (e.g. graphics driver). Especially for new releases you may have triggered a bug, which possibly should be reported. When you are sure, it is not caused by your per-user configuration or you changed related configurations in /etc
â allo
Oct 1 at 9:33
It is very very unlikely that the gnome shell binary becomes corrupted or is changed by another program. More likely are wrong (system-wide) configurations or problems with the hardware (e.g. graphics driver). Especially for new releases you may have triggered a bug, which possibly should be reported. When you are sure, it is not caused by your per-user configuration or you changed related configurations in /etc
â allo
Oct 1 at 9:33
add a comment |Â
up vote
0
down vote
I had the same issue and disabling login on start up sort of fixed it.
- Go to Settings > Details > Users
- Click on Unlock, enter password
- Enable automatic login
Then reinstall nvidia drivers, but note that if you log out of your current session and login again, you're gonna run into the black screen issue again (at least from what happened too me).
Locking screen and logging back in works fine though.
New contributor
How do you suggest I get to Settings > Details > Users when I cannot login?
â Stéphane
Oct 2 at 8:54
Are nvidia drivers still installed? Does the login screen pop up? If the answer is yes, try the following.... Don't enter password in login screen. Enter Ctrl+Alt+F2 to open a shell prompt, enter username and password, run " sudo apt remove nvidia-* *" to uninstall nvidia drivers, reboot. You should be able to login
â Nate
Oct 3 at 0:20
add a comment |Â
up vote
0
down vote
I had the same issue and disabling login on start up sort of fixed it.
- Go to Settings > Details > Users
- Click on Unlock, enter password
- Enable automatic login
Then reinstall nvidia drivers, but note that if you log out of your current session and login again, you're gonna run into the black screen issue again (at least from what happened too me).
Locking screen and logging back in works fine though.
New contributor
How do you suggest I get to Settings > Details > Users when I cannot login?
â Stéphane
Oct 2 at 8:54
Are nvidia drivers still installed? Does the login screen pop up? If the answer is yes, try the following.... Don't enter password in login screen. Enter Ctrl+Alt+F2 to open a shell prompt, enter username and password, run " sudo apt remove nvidia-* *" to uninstall nvidia drivers, reboot. You should be able to login
â Nate
Oct 3 at 0:20
add a comment |Â
up vote
0
down vote
up vote
0
down vote
I had the same issue and disabling login on start up sort of fixed it.
- Go to Settings > Details > Users
- Click on Unlock, enter password
- Enable automatic login
Then reinstall nvidia drivers, but note that if you log out of your current session and login again, you're gonna run into the black screen issue again (at least from what happened too me).
Locking screen and logging back in works fine though.
New contributor
I had the same issue and disabling login on start up sort of fixed it.
- Go to Settings > Details > Users
- Click on Unlock, enter password
- Enable automatic login
Then reinstall nvidia drivers, but note that if you log out of your current session and login again, you're gonna run into the black screen issue again (at least from what happened too me).
Locking screen and logging back in works fine though.
New contributor
New contributor
answered Oct 1 at 14:08
Nate
11
11
New contributor
New contributor
How do you suggest I get to Settings > Details > Users when I cannot login?
â Stéphane
Oct 2 at 8:54
Are nvidia drivers still installed? Does the login screen pop up? If the answer is yes, try the following.... Don't enter password in login screen. Enter Ctrl+Alt+F2 to open a shell prompt, enter username and password, run " sudo apt remove nvidia-* *" to uninstall nvidia drivers, reboot. You should be able to login
â Nate
Oct 3 at 0:20
add a comment |Â
How do you suggest I get to Settings > Details > Users when I cannot login?
â Stéphane
Oct 2 at 8:54
Are nvidia drivers still installed? Does the login screen pop up? If the answer is yes, try the following.... Don't enter password in login screen. Enter Ctrl+Alt+F2 to open a shell prompt, enter username and password, run " sudo apt remove nvidia-* *" to uninstall nvidia drivers, reboot. You should be able to login
â Nate
Oct 3 at 0:20
How do you suggest I get to Settings > Details > Users when I cannot login?
â Stéphane
Oct 2 at 8:54
How do you suggest I get to Settings > Details > Users when I cannot login?
â Stéphane
Oct 2 at 8:54
Are nvidia drivers still installed? Does the login screen pop up? If the answer is yes, try the following.... Don't enter password in login screen. Enter Ctrl+Alt+F2 to open a shell prompt, enter username and password, run " sudo apt remove nvidia-* *" to uninstall nvidia drivers, reboot. You should be able to login
â Nate
Oct 3 at 0:20
Are nvidia drivers still installed? Does the login screen pop up? If the answer is yes, try the following.... Don't enter password in login screen. Enter Ctrl+Alt+F2 to open a shell prompt, enter username and password, run " sudo apt remove nvidia-* *" to uninstall nvidia drivers, reboot. You should be able to login
â Nate
Oct 3 at 0:20
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1079872%2fblack-screen-on-login-gnome-shell-eating-100-of-cpu%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
2
Relevant? askubuntu.com/questions/1036441/â¦
â SSight3
Oct 1 at 10:19
If your computer is too slow during your diagnosis, you can reduce the priority of gnome
renice -n 19 -p PID
or stop itkill -STOP PID
(-CONT
for resuming)â user285259
Oct 1 at 18:44
Similar to askubuntu.com/q/1080146/19559
â Captain Giraffe
Oct 2 at 0:11