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.
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 completion ]; then completion
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_
. /etc/bash_
fi
You have to have the bash-completion package installed and these lines uncommented in .bashrc.
Can someone try to reproduce this?