Skip to main content

Thread: Unable to log in to Gnome


i've spent bit of time on , found culprit, can't explain it. i've removed ~/.bash* files , replaced standard ~/.profile. in file, among other things, have following line:

alias ls='/bin/ls --color=auto -cf'

line causes gnome-session exit , warning "your session lasted less 10 seconds." , after clicking "ok" i'm @ login screen.

traced through whole x login sequence way /etc/x11/xsession.d/99x11-common_start invokes gnome-session , that's dies. .xsession-errors has:

/etc/gdm/xsession: beginning session setup...
setting im through im-switch locale=en_us.
start im through /etc/x11/xinit/xinput.d/all_all linked /etc/x11/xinit/xinput.d/default.
gpg_agent_info=/tmp/seahorse-qwynam/s.gpg-agent:12377:1; export gpg_agent_info

, that's it. seems me in gnome-session startup trying use "ls" command , alias messing it.

try dropping root shell , changing nano to:

code:
alias ls='ls --color=auto'
don't know if work. changed bash files or one's in home folder?


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Unable to log in to Gnome


Ubuntu

Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support