LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-08-2015, 08:25 PM   #1
max_arbit
Member
 
Registered: Aug 2010
Posts: 50

Rep: Reputation: 2
Stuck in login loop after apt-get autoremove command - kubuntu 14.04


Hi,

Yesterday, when I was installing certain packages, I saw that apt-get throw a message saying there were old kernels that I could remove use the "apt-get autoremove" command. I didn't pay much attention and just ended up doing it anyway. However, I am stuck in a login loop ever since.

I did a google and have tried a number of things - removing the .Xauthority file, checking its permission (which were OK BTW), removing .kde directory, sudo dpkg-reconfigure lightdm etc. Nothing seems to work so far.

I can login to the terminal and if I do a startx from the terminal, that works. However, I try to login using the default login screen presented upon boot, it just throws me back to the same screen and I am unable to determine or fix why this is happening.

Any help will be greatly appreciated!

Thanks!
 
Old 06-09-2015, 12:51 PM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,493

Rep: Reputation: Disabled
You could maybe try
Code:
sudo apt-get -f install
which should install anything that is missing.
 
Old 06-09-2015, 07:32 PM   #3
max_arbit
Member
 
Registered: Aug 2010
Posts: 50

Original Poster
Rep: Reputation: 2
I did that and I think there were no broken packages:
Code:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 
Old 06-12-2015, 10:07 AM   #4
max_arbit
Member
 
Registered: Aug 2010
Posts: 50

Original Poster
Rep: Reputation: 2
Are there any other ideas as to what might be wrong?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ubuntu 14.04 stuck in login loop. Nothing seems to help alex_homeless Ubuntu 2 08-30-2014 03:49 AM
Use of the Debian 6 (Squeeze) "apt-get autoremove" command cbjones50 Debian 11 12-07-2012 05:11 AM
apt-get autoremove cccc Debian 3 09-27-2010 02:43 AM
apt-get autoremove cccc Debian 2 07-26-2009 02:55 PM
kubuntu 8.04 login loop parf Linux - Newbie 2 04-14-2009 01:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration