Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Desktop dont open, returns to login screen

  1. #1
    Join Date
    Jun 2011
    Beans
    87
    Distro
    Ubuntu 12.04 Precise Pangolin

    Desktop dont open, returns to login screen

    Hi,
    i am using ubuntu 12.04LTS
    i used it without any problem, but 1 week ago i just couldnt open my desktop.
    when i select my user name i write password, i just return to same place dont open my desktop.
    But when i select guest user i login with out any problem.
    What problem can be and how can i fix this without re-installation?
    Thanks a lot.
    Security - a Journey not a Destination

  2. #2
    Join Date
    Jun 2005
    Location
    Toronto, Canada
    Beans
    Hidden!
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Desktop dont open, returns to login screen

    You might be suffering from the .Xauthority issue where your user doesn't have ownership of that file. Try going to the first tty (Ctrl+Alt+F1), logging into the text console and deleting that file like this:
    Code:
    rm .Xauthority
    ...then returning the graphical log-in screen (Ctrl+Alt+F7) and trying to log in again.

  3. #3
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    4,987

    Re: Desktop dont open, returns to login screen

    Check to be sure your on the right desktop at login. When I upgraded to 12.04.01, it bumped be back to ubuntu-desktop which I do not have installed and did the same thing.

  4. #4
    Join Date
    Jun 2011
    Beans
    87
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Desktop dont open, returns to login screen

    i am now on windows, but i will try it as soonest as possible. Thank you a lot.
    Security - a Journey not a Destination

  5. #5
    Join Date
    Jun 2011
    Beans
    87
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Desktop dont open, returns to login screen

    i had go to the first tty and i successfully loged in.
    but i couldnt open my home folder. i recive error message as on the photo attached.
    Security - a Journey not a Destination

  6. #6
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: Desktop dont open, returns to login screen

    Try this
    Code:
    sudo touch /forcefsck
    and reboot. This should force full filesystem check on the next boot. If it doesn't help then probably your hard disk is dying.
    Last edited by schragge; March 13th, 2013 at 09:33 PM.

  7. #7
    Join Date
    Jun 2011
    Beans
    87
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Desktop dont open, returns to login screen

    schragge thank you for your replay, i will try it, but i use SSD.
    if
    sudo touch /forcefsck dont repair it, does it mean that i need new disk?
    Security - a Journey not a Destination

  8. #8
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: Desktop dont open, returns to login screen

    Not necessarily. I guess a physical failure of an SSD is less likely. BTW, does your /home resides in its own partition? If your system still seems to work on the command line otherwise than the problems with /home then you can try troubleshooting it further by installing smartmontools
    Code:
    sudo apt-get install smartmontools
    and running
    Code:
    sudo smartctl -a /dev/sda
    Replace sda with the name of the disk where your /home resides.

  9. #9
    Join Date
    Jun 2011
    Beans
    87
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Desktop dont open, returns to login screen

    after i run sudo touch /forcefsck and reboot my pc i am opened my home directory but i couldnt find any daa in it. just lost+found folder and empty desktop folder in it.
    i think i had lose all my daha in home folder. if i had to i will reinstall my system again.
    Thank you all for your help
    Security - a Journey not a Destination

  10. #10
    Join Date
    Jun 2011
    Beans
    87
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Desktop dont open, returns to login screen

    i opened tty with Ctrl+Alt+F1 and go to home folder,
    after that i create new folder with my username, after that my problem with login was solved.
    But non of my programs of files was there, all data is lost.
    i think that somehow my home folder was deleted, but i dont know how.
    Now i can use my Ubuntu but without programs and files
    thank you all again.
    Security - a Journey not a Destination

Page 1 of 2 12 LastLast

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
  •