Skip to content

Commit 6b9090a

Browse files
authored
Merge pull request #694 from system76/update-can't-log-in
Update can't log in
2 parents 656e345 + 2e2c5ba commit 6b9090a

File tree

6 files changed

+67
-92
lines changed

6 files changed

+67
-92
lines changed
File renamed without changes.

content/login-loop-pop.md

+66-1
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,39 @@ hidden: false
1919
section: software-troubleshooting
2020
---
2121

22-
# BBlack Screen or Login Issues (Pop!_OS)
22+
# Black Screen or Login Issues (Pop!_OS)
2323

2424
Sometimes after an upgrade, your system might not bring you to the desktop after logging in. If you try logging in and you just see a black screen, or Pop!_OS brings you back to the login screen, you're experiencing a login loop. There are several causes for login loops:
2525

26+
* Issues with decryption, or the GUI decryption screen.
2627
* Configuration files in your home directory are not compatible with new versions of software
2728
* The display/login manager is not working correctly
2829
* The NVIDIA driver has been updated and is causing an issue
2930
* The AMD radeon driver is being loaded and causing issues
3031

3132
Each cause has a different solution, and certain items (such as NVIDIA) might not be applicable to your system. In most cases, you can switch to a full-screen terminal (called a *TTY*) to log in and fix the issue.
3233

34+
35+
## Encryption Screen Issues
36+
37+
### Enryption Passphrase
38+
39+
If entering your decryption passphrase does not unlock your disk, one of two things is likely the cause:
40+
41+
1. The decryption passphrase is incorrect.
42+
2. Your keyfile has been corrupted (rare).
43+
44+
![bad-password](static/images/login-loop/bad-password.png)
45+
46+
In either case, unless you have set an [alternative decryption key](https://support.system76.com/articles/advanced-luks), the drive will need to be erased and re-imaged to regain acess. This is the cost/benefit of drives secured by encryption. It's important to have current [backups](https://support.system76.com/articles/backup-files) of your files to avoid data-loss.
47+
48+
### Correct Passphrase, No Login Screen
49+
50+
If your decryption passphrase is correct, but you're unable to reach the login screen, some of the packages that first run on login may need reinstalled. One symptom of this situation, will be if the screen freezes on "cryptdata setup successfully" (pictured below):
51+
52+
![decryption freeze](/images/login-loop/good-password.png)
53+
54+
To correct this, follow the steps below. If you're unable to reach a Terminal, refer to the "Recovery" section below.
3355
### Switch to a Terminal
3456

3557
At the login screen, press <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>F5</kbd> to switch to a TTY. You'll be prompted to enter a login. At the `login` prompt, enter your username and press <kbd>Enter</kbd>. You'll then be prompted for your password. You will not see your password as you are typing it; just type it and press "Enter."
@@ -133,6 +155,49 @@ sudo update-initramfs -c -k all
133155
sudo shutdown -r now
134156
```
135157

158+
### Recovery
159+
160+
We have an article on accessing the Recovery Partition [here](https://support.system76.com/articles/pop-recovery/)
161+
162+
To access Recovery, turn your computer off, then turn it back on and hold down the space bar immediately. In the menu that appears, select PopOS Recovery, and let it boot.
163+
164+
Once it boots, close out of the installation window or choose “try demo mode” (be sure not to choose any install or repair options, as this could result in data loss).
165+
166+
With the installation window closed, open a Terminal, mount the drive, and chroot (change to root) into the system (refer to the Repair and Chroot sections of the Recovery article).
167+
168+
Once chrooted in, run the following commands:
169+
170+
```bash
171+
sudo apt clean
172+
sudo apt update -m
173+
sudo dpkg --configure -a
174+
sudo apt install -f
175+
sudo apt full-upgrade
176+
sudo apt autoremove --purge
177+
```
178+
179+
Then:
180+
181+
```bash
182+
sudo apt install --reinstall plymouth gdm3 gnome-shell pop-desktop linux-generic linux-headers-generic
183+
```
184+
185+
The command above is one line, and will reinstall plymouth (the graphical encryption screen), gnome display manager (gdm3), gnome-shell, the pop-desktop environment, and the linux-kernel.
186+
187+
Once the reinstallation has finsihed, we'll want to run:
188+
189+
```bash
190+
update-initramfs -c -k all
191+
```
192+
And finally:
193+
194+
```bash
195+
exit
196+
reboot
197+
```
198+
199+
To exit the chroot environment, and then reboot the system.
200+
136201
### If these steps don't work...
137202

138203
Contact Support! We have a few more things to try. There are a significant number of processes and files required for your graphical desktop environment to be loaded, and much fewer for the terminal login. As such, you can usually recover your desktop using the command line interface!

content/oem-firstboot-pop.md

-90
This file was deleted.

content/ubiquity-bug.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ There is a bug in the installer program, Ubiquity, which may crash the initial s
2222

2323
The current solution is to not join a network access point while setting up the computer for the first time. Once the installation is finished and your desktop loads, WiFi access points can be joined as normal. If the new user setup program crashes and leaves only a Guest account, please see these instructions for creating a new user manually:
2424

25-
[Oem Firstboot](/articles/oem-firstboot/)
25+
[Oem Firstboot](/articles/guest-user-only-ubuntu/)
2626

2727
There is a bug report filed here:
2828

6.16 KB
Loading
4.27 KB
Loading

0 commit comments

Comments
 (0)