Ubuntu 18.04 Gnome hangs on login screen
Solution 1
Same issue. Even though Ubuntu was released last week, you can not use 18.04 on Dell XPS directly. I installed in several ways but each time laptop freezes as soon as I enter password on login prompt.
I got it working by pressig Ctrl-Alt-F2 at the login prompt and then:
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install nvidia-390
And restart the laptop
Solution 2
I had same problem on a Dell XPS. After several installations and downloaded the Nvidia drivers the issue continued, so I disabled the Secure boot option in the BIOS and that worked for me I could pass the login screen. Everything seems fine although I don't have the gear icon in the login screen anymore, I had the Ubuntu and Ubuntu in Wayland options before disabling the secure boot. I just need to fix the grub for the dual boot with the efi partition.
Solution 3
What worked for me
sudo ubuntu-drivers autoinstall
Related videos on Youtube
Comments
-
orestis over 1 year
After a new Ubuntu 18.04 installation on a empty drive, when I try to log in the computer freezes. When I log in through tty ( Ctrl+Alt+F2,F3), I can log in normally and perform tasks.
How can I debug what is happening with GNOME?
Also, when I try to shut it down, I get the error:
NMI watchdog: Watchdog detected hard LOCKUP on cpu 4
I have a Dell XPS 15 with NVMe drive.
$ uname -a Linux kefalonia 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux $ lshw -C cpu *-cpu description: CPU product: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz vendor: Intel Corp. physical id: 4c bus info: cpu@0 version: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz serial: To Be Filled By O.E.M. slot: U3E1 size: 3709MHz capacity: 3800MHz width: 64 bits clock: 100MHz capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp cpufreq configuration: cores=4 enabledcores=4 threads=8
-
Admin about 6 yearsSounds as though you've got a virus somehow? Where did you get the Ubuntu 18.04 update? From the official site or elsewhere?
-
Admin about 6 yearsDid it reject your password in first attempt and then hanged on the second attempt?
-
Admin about 6 years@YoureSOStubborn From ubuntu.com. No, it does hangs right after I enter the password
-
Admin about 6 yearsYou can click the gear icon next to
Sign in
button and choose from 5 different desktops. The first two Gnome desktops hang when I try them but the bottom option "Unity" desktop works OK. -
Admin almost 6 yearsI believe you have been affected by this bug which ATM is missing logs that would help troubleshoot the problem. IF you still have this issue I suggest that you subscribe to the bug and see if you can provide the logs requested. Best regards.
-
Admin almost 6 yearsThere is a really odd behavior bug, where if you attempt to log in with an incorrect password and are prompted again, even if you put in your correct password you will get stuck on a purple screen with your cursor showing, bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1766137. If you think you entered an incorrect password, click cancel instead. Re-entering your username and password after cancelling should get you through. If this is what's happening with you please visit the bug page and add yourself to the Affected users list.
-
Admin almost 6 yearsAre you running on an internal graphics ship: intel HD 630 graphics? Does ist work like a charm when you do not use is, saying use only a PCIe graphic card and not the internal from the mainboard?
-
Admin almost 5 yearssee my answer askubuntu.com/a/1150970/926999
-
-
xcud about 6 yearsOf course, CTRL-ALT-F2. That would have saved me some time this morning. Instead I disabled video drivers in grub.cfg (nomodeset) via bootable usb, installed the drivers, then backed out the grub change.
-
FreshD almost 6 yearsFor me adding
acpi_rev_override=1
to grub did the job -
Dmitrii Magas almost 6 yearsDidn't help, what else can I do?
-
Galz about 4 yearsAdded nomodeset as described here. Now my system freezes on login screen (instead of AFTER login). So all CTRL+F1/F2... combinations don’t work. Can’t get to terminal to undo this. My laptop is now a brick.