How to solve "Stopping User Manager for UID 121" error after installing Nvidia drivers on Ubuntu?

enter image description here

I’m on ubuntu 17.10. Got uid 121 after installing nvidia tested proprietary drivers. After purging nvidia-* finally solve uid 121. Later install not tested driver from same file, there’s no uid 121, but drivers doesn’t work at all. Can i have both working drivers and no uid 121? Geforce gtx 640m

Unix & Linux Asked on November 21, 2021

7 Answers

7 Answers

I've encountered the same issue on Ubuntu 18.04 after installing Wine and restarting the OS.

I was able to solve it using options provided in the Recovery Mode:

  • During boot, press Shift and then Escape, select advanced options and then select recovery mode

At first, I've removed Wine using shell in the recovery mode:

  • select root (root shell prompt)
  • remove Wine: apt remove ^wine

At that point, I thought I was done but after rebooting problem persisted. I went back into the recovery mode:

  • I ran clean

Still the same.

I went back into the recovery mode:

  • I ran network and then dpkg.

After that the problem was resolved!

I'm not sure if Wine needed to be removed and whether clean helped. network and dpkg could be enough.

Answered by rluks on November 21, 2021

I faced this problem due to lack of space at disk. My OS is Ubuntu 18.04. I resolved this problem by adopting these steps:

  1. Booted up the system through bootable USB.
  2. Removed/deleted files and folders from hard disk which were not required any more, to create space.
  3. Reboot the system through hard disk.

This time there was no problem with booting up the system (OS).

Answered by Nadeem Ahmed Khan on November 21, 2021

I solved this issue in Recovery Mode.

First "Activate Network" in Recovery Mode and then "Repair" Broken packages.

After reboot Ubuntu 18.4 boots as usual.

Answered by Moritz Ortwein on November 21, 2021

My UiD 121 error was not solved by any solution I found on the web. I assumed it was due to an update, but actually it turned out to just result from a full hard drive. Solution:

Advanced options.

open a terminal as root

cd /

cd the-location-of-my-trash

cd files

then remove all the files in trash

rm -r *

A simple reboot after this worked fine. May be a very specific situation, but I hope it helps some other user.

Answered by RichardBJ on November 21, 2021

If you are like me & just don't want to deal with this issue at all, read on.

This error just popped up one fine day for me. I didn't mess with any drivers. My guess is that it auto updated the previous night and got messed up.

Guessing that you are on Ubuntu 16 or higher, in the grub screen on boot up select the Ubuntu Options and select a lower kernel version in it (not even recovery mode). Use your system like this until ubuntu (or nvidia) releases an update (usually within a few days). Update them with your software updater.

Answered by Srikanth on November 21, 2021

I experienced a slightly similar issue, although it was inside a VM environment (Ubuntu 18.04 LTS running inside VirtualBox v5.2.12).

In my case, I was able to solve the issue by unchecking the "Enable 3D Acceleration" option to disable it in the VM Settings at Display -> Screen tab;

and increasing the number of CPUs to 2 at System -> Processor screen.

I also checked the Enable PAE/NX setting on this screen.

Answered by Saheed on November 21, 2021

I found that using lightdm the nomodeset parameter was the key to fixing my issue with 18.04

Nomodeset: How to get in once via temporary grub change

You can add the grub configuration parameters if you hold right shift at bootup and press e to edit Ubuntu parameters. You need to replace quiet splash with nomodeset. Then hit ctrl x to save and continue.

Lightdm: How to put in the permanent fix

Once in, open a terminal and type sudo apt install lightdm, then sudo dpkg-reconfigure lightdm, then sudo reboot

Please refer to this amazing guide for more details and screenshots!:

Answered by Kelton Temby on November 21, 2021

Add your own answers!

Related Questions

How to force ddclient to use only HTTPS?

0  Asked on December 28, 2020 by mountainx


How to execute a script after every systemd automount?

1  Asked on December 27, 2020 by john-wh-smith


How to detect and clean up junk journal files?

1  Asked on December 27, 2020 by reinierpost


ARM LXC Container template

2  Asked on December 27, 2020 by bulkmoustache


Updating kernel: vmlinuz in /boot not being created by DNF

4  Asked on December 26, 2020 by big-millz


Samba shared folder with setgid problem

1  Asked on December 24, 2020 by alex-forencich


All processes running on the same core

1  Asked on December 24, 2020 by roofkiller


capturing yum update transaction to replicate on another machine

0  Asked on December 23, 2020 by dan-schneider


Add Support CRAM-MD5 or DIGEST-MD5 to SMTP server

0  Asked on December 22, 2020 by alpav99


Linux delete lines from ini-file where key has no value

1  Asked on December 21, 2020 by sunwave121


What caused traffic on port 631?

0  Asked on December 21, 2020 by u20200411


Bind/Unbind Linux Module Automatically

1  Asked on December 20, 2020 by vladius


Ask a Question

Get help from others!

© 2021 All rights reserved.