Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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 get into this endless login-cycle if I attempt logging with my main user - I tried Gnome Classic and regular Gnome, but after I login it sends me back to the login.

The only way I can login is through another user.

This means that there's some hidden setting file in the home directory that messes things up.

How can I debug this further?

share|improve this question
up vote 3 down vote accepted

Since it only happens for a specific user, examining this user's ~/.xsession-errors could be useful.

Since you're using Debian, have a look at the files in /etc/X11/Xsession.d, they're sourced by Xsession and thus give you an idea of what's happening when a new X11 session is started; e.g. 40x11-common_xsessionrc is the place where ~/.xsessionrc (i.e. USERXSESSIONRC set in /etc/X11/Xsession) is sourced.

share|improve this answer
Argh. .gnomerc had a commented out line which changed it to use xmonad, it had trouble parsing the comment delimiter and killing the entire line seemed to do it. Thanks. – meder omuraliev Jul 30 '12 at 23:20

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.