How do I prevent being kicked back to the login screen every time?

13,646

Solution 1

I had the exact same issue after upgrading from 13.04 to 13.10.
None of the solutions here worked for me, so I found this bugreport. I removed Cinnamon/Nemo with sudo apt-get remove --purge cinnamon* and sudo apt-get autoremove and now everything works fine.

Solution 2

I had the same issue. Tried cinnamon didn't work. Read about the permission issue on the .Xauthority file. Sorry, I lost the link to that answer

  1. Logged in with Ctrl+Alt+F1 as the user

  2. and removed the .Xauthority file

  3. went back to GUI session by Ctrl+Alt+F7

Worked like a charm!!

Share:
13,646

Related videos on Youtube

user203648
Author by

user203648

Updated on September 18, 2022

Comments

  • user203648
    user203648 over 1 year

    Just finished upgrading from Ubuntu 13.04 to 13.10. Everything works fine. After the installations, I restart to finish the installations. In the log in screen, I put my password and then it goes back to the log in screen. I've tried so many times, still the same.

    Note: Using Unity, running 13.04 before using MacBook Air with single OS.

    • Admin
      Admin over 10 years
      Same here. Please help.
    • Admin
      Admin over 10 years
      I saw a quick-flash message: "Could not acquire name on session bus" after entering the password and hitting <enter>.
  • gertvdijk
    gertvdijk over 10 years
    This is not really answering the question for the OP unless he also has cinnamon installed as well. Perhaps you can rewrite the post to have it answer the question better?
  • user203648
    user203648 over 10 years
    When I type CTRL+ALT+F1, Login as normal user and type sudo su and dpkg-reconfigure gdm and it tells me that gdm is not install. by the way, Ubuntu 13.10 comes with 3.11 Kernel right? why am i list as 3.9?
  • Randy Tang
    Randy Tang over 10 years
    Well, no luck. Root check was OK. But I was not able to make any selection during reconfiguring gdm. The system just showed "/usr/sbin/dpkg-reconfigure: gdm ..." and then returned to the prompt. Also, nothing happened when pressing CTRL+ALT+F7; is "F7" correct?
  • Lorenzo Ancora
    Lorenzo Ancora over 10 years
    **user203648: run uname -a to know what kernel you're using. Run on a terminal sudo apt-get install gdm and reboot. **Tang: yes, dpkg-reconfigure MAY offer you a choice if more than one compatible login manager is installed; CTRL+ALT+F7 is correct (Xorg goes on tty7 by default; more instances WILL go to tty8,9 ecc.), maybe you didn't start Xorg. Follow the procedure another time, if doesn't work (try others CTRL+ALT+Fn) execute cat /var/log/Xorg.0.log|grep WW and cat /var/log/Xorg.0.log|grep EE, the post here the errors. It's an interesting problem.
  • Lorenzo Ancora
    Lorenzo Ancora over 10 years
    There is no universal solution. Try the Ramon Egger's response. I suggest: try to remove your login manager from a virtual terminal, you should be able to open a session directly; pay attention, because it will expose your system to undesired access from local users. If you still can't open a session you have a trouble with the GUI enviroment and not with the login manager (the object of our problem-solving session); you can change it with an alternative. It can be a time-consuming task to check for a great amount of problems, you can still downgrade and enable security updates.
  • Julian Stirling
    Julian Stirling over 10 years
    It would be nice if you could look up where the file is located and edit the post to add it in.
  • Ricky Mutschlechner
    Ricky Mutschlechner almost 9 years
    @JulianStirling it's in your home folder (~)