Cannot login with gdm after upgrading to lucid

Bug #494394 reported by Ryan Li
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gdm (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: gdm

I upgraded to 10.04 from 9.10 today, and right after reboot I found that I cannot login with gdm.
I can input my username, but after pressing enter, I was redirected to the beginning state.
I created a new user using tty, and was able to login with gdm through this new user.
I think it's a bug related to gdm.

What information can I provide?

Using gdm 2.29.1-0ubuntu3 with lucid-lynx.

Ryan Li (ryanli)
description: updated
Revision history for this message
Ryan Li (ryanli) wrote :

I changed my UID from 500 to 1001, and finally I am able to log in.

Changed in gdm (Ubuntu):
importance: Undecided → Low
Revision history for this message
Fabio Duran Verdugo (fabioduran) wrote :

Yes, I was also affect by this, but if you revise your directory permissions with recovery mode and root user, you can see this: all in /home/users/ user 500 and group 500 witn only read permissions,

fabio@OptimusPrime:/home$ ls -ll
total 36
drwx------. 106 500 500 12288 2010-01-08 15:53 fabio
drwx------. 2 root root 16384 2009-08-26 17:36 lost+found

if you change for your home chown -R user:group_user

After some time I realized this and I could solve my problem.

Changed in gdm (Ubuntu):
status: New → Confirmed
Revision history for this message
Davide Lasagna (lasagnadavide) wrote :

I'm also affected by this bug and i cannot login into the desktop with gdm, However startx from a tty console does work. I created another user and i can login with it.

Revision history for this message
Davide Lasagna (lasagnadavide) wrote :

I'm attaching the content of /var/log/gdm if it can help.

Revision history for this message
Davide Lasagna (lasagnadavide) wrote :

Some updates. After creating the new user i've copied all files of my previous home dir to the new dir and i cannot login again, even with the new user. To do some debug, i moved back all files, one by one, and I discovered that the last lines in .bashrc prevent gdm from letting me login.

These are the lines:

# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
fi

You have to have the bash-completion package installed and these lines uncommented in .bashrc.

Can someone try to reproduce this?

Revision history for this message
Davide Lasagna (lasagnadavide) wrote :

I've forgot to mention that you have to source the ~/.bashrc file in your ~/.profile file.

Revision history for this message
Lorenzo De Liso (blackz) wrote :

I can't reproduce that, also the package "bash-completion" is installed by default on lucid, also the lines:

if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
    . /etc/bash_completion
fi

are uncommented by default for new users created. I have the gdm package version gdm_2.30.0-0ubuntu3 and I have no problems.

The default permissions of the directory for new users created is different than karmic, so this is surely an upgrade-related problem. However I don't think it's an gdm-related problem, because if gdm can't write in the home directory, the configuration files can't be created.

Just give the permission to access, write, delete, rename and read the files in the directory.

I'm going to mark the bug in "gdm" as invalid because it isn't an gdm-related problem.

Changed in gdm (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.