GLib-WARNING **: getpwuid_r(): failed due to unknown user id

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Sadeck

GLib-WARNING **: getpwuid_r(): failed due to unknown user id

Post by Sadeck »

I get this error when shutting down and booting Linux Mint 10.

GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0)

Is this error serious, will it get worse and how do I get rid of it?

Hardware I am using:

Intel Pentium Dual Core 2.0GHZ T4200 HP Pavillion Laptop DV6-1225EI
ATI RADEON HD4530 graphics card with 512MB dedicated and 1750MB shared
320GB HARDRIVE
4GB RAM
WIFI
BLUETOOTH
HDMI
5-1 DIGITAL MEDIA READER

Thanks in advance.

Sadeck
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
dante19992

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by dante19992 »

I am having this same problem on Julia KDE. I am using a Dell inspiron 1545
User avatar
tdockery97
Level 14
Level 14
Posts: 5058
Joined: Sun Jan 10, 2010 8:54 am
Location: Mt. Angel, Oregon

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by tdockery97 »

From what I have found through Google, this problem actually traces back to Plymouth.
Mint Cinnamon 20.1
dante19992

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by dante19992 »

So THIS is why Plymouth was deemed unstable and not included in LMDE.
User avatar
tdockery97
Level 14
Level 14
Posts: 5058
Joined: Sun Jan 10, 2010 8:54 am
Location: Mt. Angel, Oregon

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by tdockery97 »

dante19992 wrote:So THIS is why Plymouth was deemed unstable and not included in LMDE.
Exactly. If you wade through the huge number of posts in the Ubuntu forums that are referenced in a Google search, there is a patch that will supposedly fix the warning message.
Mint Cinnamon 20.1
DrHu

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by DrHu »

http://ubuntuforums.org/showthread.php?t=1443231
http://art.ubuntuforums.org/showthread.php?p=10134586
Same error was in previous releases, so they (Ubuntu) haven't fixed it yet, OH well!
  • The system ignores it and the desktop starts anyway..
Kendall

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by Kendall »

It's non-critical and hasn't caused any issues for either of the editions I build here, or for Pepeprmint. Remember that it's just a warning, and warnings don't mean anything is "wrong" per se. From my early looking, it appears the warning is present in the 11.04 builds as well.
Sadeck

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by Sadeck »

You guys are great thanks for the info! :)
dante19992

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by dante19992 »

everytime I get that bug my computer restarts. Non-Critical my backside
dante19992

GLib-WARNING **: getpwuid_r(): failed, Is critical

Post by dante19992 »

when I get this bug sometimes my system reboots.
BigSteve_G

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by BigSteve_G »

dante19992 wrote:So THIS is why Plymouth was deemed unstable and not included in LMDE.
So are the packages used in LMDE more stable then the ones in Ubuntu based Mint? because I thought the packages were from the Romeo repository & so things were the other way around?
dante19992

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by dante19992 »

BigSteve_G wrote:
dante19992 wrote:So THIS is why Plymouth was deemed unstable and not included in LMDE.
So are the packages used in LMDE more stable then the ones in Ubuntu based Mint? because I thought the packages were from the Romeo repository & so things were the other way around?
I believe most of your LMDE packages (if not all of them) come from debian repositories. I havn't used LMDE in a while but that was how it was when I did
llogg

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by llogg »

Forcing the install of the latest version of plymouth for ubuntu solved the issue for at least one mint user:
http://forums.linuxmint.com/viewtopic.php?f=90&t=64980

I haven't done it because it simply slows down the recovery from sleep and has never caused a reboot or freeze, and I'm afraid forcing the install of ubuntu's plymouth version might have unintended consequences.
maxfac

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by maxfac »

Same issue here. I am using:

Julia
Samsung N210 - Intel GMA 3150.

The message can be seen during shutdown and when resume from suspend. I was so annoyed that I clean reinstalled 3 times (from Live USB) and burnt it 'fresh' on USB everytime through unetbootin - Still no luck.

It seems the warning message doesn't affect some people though. And sudo dpkg-reconfigure plymouth didn't seem to do anything either....

Must be someone out there who knows what is going on?
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by AlbertP »

It's a bug in the Plymouth boot splash (the Linux Mint logo during boot). You can disable Plymouth by replacing 'splash' with 'nosplash' in /etc/default/grub in the CMDLINE_LINUX_DEFAULT line, and then turning off splash in Startup Manager (somewhere in the menu). You will get a boot screen without Mint logo, just some text you possibly won't understand, but it works.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
maxfac

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by maxfac »

AlberP >

Thanks a lot. It did solve the problem. What I did was just to remove 'quiet splash' as this is = 'nosplash'. The Glib warning is no longer there. I wonder if there is an update for linux mint. As I understood it, the Ubuntu users have similar issues, and a fix update has been released, here > https://launchpad.net/ubuntu/+source/pl ... 2ubuntu5.1

I am tempted to apply that update but don't want to end up having Ubuntu splash screen.
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by AlbertP »

You won't get an Ubuntu screen: the screen is not in the 'plymouth' package but in a seperate one, which does not get changed with the fix you gave.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
Sadeck

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by Sadeck »

Does anyone know if this error has been spotted in the Release Candidate Linux Mint 11? :shock:

Kindly let me know.

Sadeck
AlbertP
Level 16
Level 16
Posts: 6701
Joined: Sun Jan 30, 2011 12:38 pm
Location: Utrecht, The Netherlands

Re: GLib-WARNING **: getpwuid_r(): failed due to unknown use

Post by AlbertP »

It has been in Mint 9 and 10, but in 11 RC it's fixed.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
Locked

Return to “Beginner Questions”