[solved]Can't log in on LM 12 LXDE

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

[solved]Can't log in on LM 12 LXDE

Postby IvanIsGod on Wed Apr 11, 2012 10:25 am

Hey there
I'm new to Linux Mint, and to Linux In general. I installed Linux Mint 12 LXDE alongside Windows XP yesterday and it worked great. Today i tried installing Wine from the Software Manager, and the computer froze, and i restarted it.
Ever since, it brings me to the login screen and won't let me login. When I try to log in with my user it shows a black screen for a second and returns to the login page. If i type a wrong password it just asks for the user again. If I press Ctrl+Alt+F1 and try to login there it succeeds, but when i return with Ctrl+Alt+F7 it stays the same. Only when I login to root it works, but i still can't log to my user. It's the same whether I try to log in the default or the LXDE desktop.
Those were all the solutions i could find so far. what else can i try?
Last edited by IvanIsGod on Sun Apr 15, 2012 7:57 am, edited 1 time in total.
IvanIsGod
Level 1
Level 1
 
Posts: 8
Joined: Wed Apr 11, 2012 10:07 am

Linux Mint is funded by ads and donations.
 

Re: Can't log in on LM 12 LXDE

Postby esteban1uy on Wed Apr 11, 2012 11:40 am

Well, it can be a lot of things, but you can log in as root so let's start with something very basic.
Log in as root, then use the file manager (PCmanFM, I think) and go to /home/your_personal_folder and look for a hidden file named .xsession-errors (you must set PCmanFM to show hidden files). Open it and copy the last 10-15 lines and paste that here, so we have something to start working on.
Sorry, I only speak Spanish
User avatar
esteban1uy
Level 5
Level 5
 
Posts: 734
Joined: Sat Nov 12, 2011 6:20 am

Re: Can't log in on LM 12 LXDE

Postby IvanIsGod on Wed Apr 11, 2012 12:26 pm

That file is empty.
IvanIsGod
Level 1
Level 1
 
Posts: 8
Joined: Wed Apr 11, 2012 10:07 am

Re: Can't log in on LM 12 LXDE

Postby esteban1uy on Wed Apr 11, 2012 12:38 pm

Ok, let's try something else. Let's create a new user.
While logged as root, look for "Users and Groups" (in the menu, under "System Tools") and create a new user, give it administrative privileges (tick everything at "Advanced Settings"->"User Privileges"), then restart and try to log in as that new user.

If for some reason you cannot do it that way, then open a terminal and execute the command: adduser your_new_username, then usermod -a -G admin your_new_username.
Then try to log as that user, and if you can, go to "Users and Groups" and give yourself all the privileges and restart.
Sorry, I only speak Spanish
User avatar
esteban1uy
Level 5
Level 5
 
Posts: 734
Joined: Sat Nov 12, 2011 6:20 am

Re: Can't log in on LM 12 LXDE

Postby IvanIsGod on Wed Apr 11, 2012 1:50 pm

when i try to load Users and Groups in root it never finishes loading it.
I opened the terminal and created a new user, but when i typed usermod -a -G admin your_new_username nothing happened, but when i try to login to the user i can't.
IvanIsGod
Level 1
Level 1
 
Posts: 8
Joined: Wed Apr 11, 2012 10:07 am

Re: Can't log in on LM 12 LXDE

Postby esteban1uy on Wed Apr 11, 2012 2:02 pm

Ok, and what happens when you execute the following (I assume that you understood that you must replace "your_new_username" in the previous instructions with a proper username you choose):
Code: Select all
groups your_new_username
Sorry, I only speak Spanish
User avatar
esteban1uy
Level 5
Level 5
 
Posts: 734
Joined: Sat Nov 12, 2011 6:20 am

Re: Can't log in on LM 12 LXDE

Postby IvanIsGod on Wed Apr 11, 2012 3:30 pm

it sais user: user admin
IvanIsGod
Level 1
Level 1
 
Posts: 8
Joined: Wed Apr 11, 2012 10:07 am

Re: Can't log in on LM 12 LXDE

Postby IvanIsGod on Fri Apr 13, 2012 10:57 am

Are there any other options?
IvanIsGod
Level 1
Level 1
 
Posts: 8
Joined: Wed Apr 11, 2012 10:07 am

Re: Can't log in on LM 12 LXDE

Postby esteban1uy on Fri Apr 13, 2012 12:15 pm

Are you sure you have enough disk space? It sounds pretty weird that you can start the desktop as root and not as a regular user, even when you created a new user.
Try to make some room. Please execute the following code:
sudo apt-get clean
Sorry, I only speak Spanish
User avatar
esteban1uy
Level 5
Level 5
 
Posts: 734
Joined: Sat Nov 12, 2011 6:20 am

Re: Can't log in on LM 12 LXDE

Postby IvanIsGod on Sun Apr 15, 2012 7:56 am

Yes, That was it. I guess that was why it started when i tried to install software from the software terminal.
Thank you for all the help.
IvanIsGod
Level 1
Level 1
 
Posts: 8
Joined: Wed Apr 11, 2012 10:07 am

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: Bing [Bot], DigitalNoise and 16 guests