Results 1 to 6 of 6

Thread: Can't login to my desktop

  1. #1
    Join Date
    Mar 2010
    Location
    India
    Beans
    220
    Distro
    Ubuntu 13.04 Raring Ringtail

    Can't login to my desktop

    Hi,

    I am using the Ubuntu 13.04 32 bit os on my Toshiba laptop. Now the problem is that I am unable to login to the desktop via GUI. The login screen to enter my password shows up and when I enter the password and go for it, the screen gets blank and goes back to the login window.

    Please do help me with the issue.

    Using an AMD processor.
    Knowing UBUNTU better.

  2. #2
    Join Date
    Jun 2013
    Beans
    24

    Re: Can't login to my desktop

    Quote Originally Posted by FahadMKS View Post
    Hi,

    I am using the Ubuntu 13.04 32 bit os on my Toshiba laptop. Now the problem is that I am unable to login to the desktop via GUI. The login screen to enter my password shows up and when I enter the password and go for it, the screen gets blank and goes back to the login window.

    Please do help me with the issue.

    Using an AMD processor.
    Can you log in via terminal? (ALT + F1)

  3. #3
    Join Date
    Mar 2010
    Location
    India
    Beans
    220
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Can't login to my desktop

    yes.. by pressing Ctrl +Alt+F1
    Knowing UBUNTU better.

  4. #4
    Join Date
    Apr 2012
    Beans
    5,307

    Re: Can't login to my desktop

    Use Ctrl-Alt-F1, log in with your regular username and password, then type

    Code:
    ls -l ~/.{ICE,X}authority
    Both files (if they exist) should be owned by you (not root)

    Another possible cause is if your home dir is not writeable by you

    Code:
    ls -ld ~
    or if your home partition (or root partition, if you don't have a separate home) is full

    Code:
    df -h

  5. #5
    Join Date
    Mar 2010
    Location
    India
    Beans
    220
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Can't login to my desktop

    Typing the first command you gave me showed that both the files dispalyed was owned by myself.
    (-rw------------ 1 username username 69324 JUN Time .Xauthority)

    Using the ls -ld gave the reply
    (dr-xr--r-- 39 username username 36864 jun Time)
    Knowing UBUNTU better.

  6. #6
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    6,449
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: Can't login to my desktop

    FahadMKS; Hi !

    Wow, unusual and not at all the expected result.
    However, I see that the directory is not "writable" !
    my output:
    sysop@1304mini:~$ ls -ld ~
    drwxr-xr-x 21 sysop sysop 4096 Jun 27 20:38 /home/sysop
    sysop@1304mini:~$
    So to change it such that you the "owner" may write to that disk:
    Code:
    chmod 755 /home/user-name/
    where user-name is your actual "user-name".
    I do not think one wants to elevate one's privileges [sudo] in this instance as this is your home directory and using [sudo]may have unwanted side-effects... nor do you want to do this "recursively" as some files do -in your home directory- in fact belong to root.
    Hopefully will not have to go any deeper.

    There is a reason that the directory's access rights are changed !
    Is the disk full as steeldriver asked ?

    And also lets see if the Xauthority variable is set.
    Code:
     echo $XAUTHORITY
    just try'n to help
    Last edited by Bashing-om; June 28th, 2013 at 08:20 AM. Reason: typo
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubutu'n !

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •