Can't Log in to Lubuntu 12.04 X Server

5,149

Solution 1

I had the exact same problem too.

As panos2point0 mention something messed up in my .profile script. The easiest way to know what's the problem is login with tty and do cat ~/.xsession-errors it will show your what's the problem and which line the problem occur.

Solution 2

I had that exact same problem.

Turns out I had just messed up my .profile script.

I logged in using Alt + Ctl + F1 at the login screen and fixed the error.

Share:
5,149

Related videos on Youtube

isomorphismes
Author by

isomorphismes

argonaut: A person who is engaged in a dangerous but potentially rewarding quest.

Updated on September 18, 2022

Comments

  • isomorphismes
    isomorphismes over 1 year

    As of rebooting yesterday I can't login as myself to the X server part of 64-bit Lubuntu 12.04. Same problem as Can not get passed the login screen but that solution didn't work for me.

    Troubleshooting steps I already took: I can

    1. log in as guest (with whatever window manager) to the graphic (X) view of Lubuntu.
    2. log in as myself into a virtual terminal. (In fact I'm writing this from w3m for that reason.)

    So I know my password is correct and that most aspects of the system are working. One of the top google results for "can't log into lubuntu" mentioned a disk-full problem on netbooks; I don't have that problem.

    Let me know if I need to paste any messages or config files to make this question clearer and I'll do so.

    $ ls -l /home

    total 12
    drwxr-xr-x 99 me me 12288 May 26 14:16 me
    

    $ ls -ld /tmp

    drwxrwxrwt  16 root root 4096 May 26 15:46 /tmp
    
    • jippie
      jippie almost 12 years
      Check the [Can not get passed the login screen][1] thread. Some directory permissions are probably wrong. [1]: askubuntu.com/questions/135666/…
    • jippie
      jippie almost 12 years
      If the first comment doesn't help, check the output to ls -l /home and add it to your question.
    • isomorphismes
      isomorphismes almost 12 years
      @jippie Thank you! Unfortunately that did not help.
  • isomorphismes
    isomorphismes almost 12 years
    What was wrong with your .profile script?
  • isomorphismes
    isomorphismes almost 12 years
    Thanks. That is a huge log file. What am I looking for in it?
  • panos2point0
    panos2point0 almost 12 years
    I introduced a typo while editing it.
  • isomorphismes
    isomorphismes over 11 years
    I've had problems with ecryptfs before (I should have never done it, it was just a button I could hit "yes" to and decided "Hey why not, Ubuntu is stable, I can push all the buttons here"). But that's not the issue this time. (I don't think.)