Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm using ubuntu 10.10 and today during surfing suddenly the screen turned black with this error message

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

What can be the reason?

share|improve this question
1  
From personal experience this error can be totally unrelated to the actual problem. I used to see it when I had more than one monitor plugged in and tried to use the Nouveau driver (a bug that has long since been fixed). This message is just a warning from another boot process. – Oli Oct 29 '10 at 14:44
any advice how can i determine the reason of this error? – fmowrg Oct 29 '10 at 15:52
I have to install my whole system again for this bug. – crucified soul Apr 17 '11 at 17:27

4 Answers

The error messages is specifically coming from plymouth; there's a fix being tested as described at https://bugs.launchpad.net/bugs/649917 . I'm assuming what's happened is that X has crashed and the message was displayed earlier in the boot process and was left on the display when X crashed.

share|improve this answer

This warning message is related to a warning during booting, and happens for everyone from time to time. It, in itself, has nothing to do with the problem with your Desktop session disappearing. As mentioned in the other answers, try using Alt-F7 or Alt-F8 to see if the console switched accidentally. (Alt-F1 through Alt-F6 are text consoles, and Alt-F7 and above are the consoles traditionally used for your Desktop sessions.)

share|improve this answer
Yeah, I have tried this when I faced this problem but in vein. – crucified soul Apr 17 '11 at 17:28

You may press accidentally Ctrl-Alt-F8..F12 key while surfing? If yes, you switch to debug console. Message itself is harmless, I see it on my notebook every startup. Next time it appears, try Ctrl-Alt-F7 to return to your X session.

share|improve this answer
Hi Extender, no, i didn't press a key. Thanks for advice. Thanks for the Ctrl-Alt-F7 Tip will try it when it happens again. – fmowrg Oct 29 '10 at 16:56
Maybe X crashed. Usually in that case you returned to GDM, but...Ctrl-Alt-F7 or F8 should help. – Extender Oct 30 '10 at 7:18

As others have said, the message you quote is probably irrelevant to the real problem, which is that your X server disappeared.

Check out these pages for how to localize the problem and report a bug:

Have a look in /var/log/kern.log for a message about an error in Xorg.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.