Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm having problems with loggin in on Ubuntu 11.04. I did an install on my laptop after I had Windows 7 installed (dual boot with grub). All went well, but when I am about to login on Ubuntu it gives a short flashing error. Which is unreadable because it flashes.

I'm sure it isn't a wrong password because i can login with Ctrl+alt+f1.

Does anyone have the same problem or knows a fix for it?


Opened file: more /home/teun/.xsesssion-errors

Could not parse arguments: Kan display niet opnemen.

(Polkit-gnome-authentication-agent:1371): GTK warning cannot open display:0
(Polkit-gnome-authentication-agent:1370): GTK warning cannot open display:0
(nm-applet:1379): GTK warning cannot open display:0


 gnome-session : fatal io error 11 on x server :0
 gnome-settings-daemon: Fatal io error 104 on  x server :0
 process:1368: Glib-Gobject-Critical ** G_object_unref: assertion 'G_IS_OBJECY (object)' Failed.
share|improve this question
Errors regarding logging into the desktop are logged in the file .xsession-errors in your home directory. Have a look in there after you login with control-alt-f1 (with more /home/{your_loginname}/.xsession-errors) – Rinzwind Aug 14 '11 at 12:21
Add it to your question ;) and did you try to start gnome as root perhaps? – Rinzwind Aug 14 '11 at 12:37
@Teun sudo startx&&sudo gnome-session – Amith KK Aug 14 '11 at 12:50
Join us here Teun: – Rinzwind Aug 14 '11 at 12:53
you can now, so join the chat! :) – Alvar Aug 14 '11 at 13:06

have you installed any gtk dev packages recently? this looks like a deprecated version error, or it's a problem with emerald. Try changing your theme. If that doesn't work, try reinstalling glib, something like this: sudo aptitude install glib should list the availible packages for install, or wget then build from source or use aptitude. If it still doesn't work after that than post the full /.xsession-errors file

share|improve this answer

Your Answer


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.