Peppermint | Linux OS Community Forum
 
It is currently Wed Aug 15, 2018 3:30 am

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Owner can't login
PostPosted: Thu Mar 06, 2014 1:11 am 
Offline

Joined: Thu Mar 06, 2014 1:02 am
Posts: 1
Installed Peppermint, installed updates and now my original user can't login but a guest account has no problems, there is a flash of code before it brings the login screen back up but it happens to fast to see what it says :/


Top
 Profile  
 
 

 Post subject: Re: Owner can't login
PostPosted: Thu Mar 06, 2014 1:50 pm 
Offline
User avatar

Joined: Tue Apr 17, 2012 12:25 pm
Posts: 5521
Location: Cornwall, England
OK, for the purposes of this posting I'm going to assume your username is "bob" .. if not adjust the commands below

Boot to the login screen, then hit Ctrl+Alt+F2 .. that should drop you to a text console.

login with your "bob" login and password.

then run:
Code:
ls -al /home/bob/.Xauthority

If the output mentions "root" as the owner and/or group .. such as:-
Quote:
-rw------- 1 root root 419 Mar 6 17:19 /home/bob/.Xauthority

run this command to change it back to your username:
Code:
sudo chown bob:bob /home/bob/.Xauthority

once you've done that, run:
Code:
sudo service lightdm restart

can you log in now ?

If it doesn't mention "root" ..try running:
Code:
startx

was there any ouput ?

_________________
Please be sure to sign up to the new Peppermint forum and post any new question there .. this forum will be made read-only on the 1st April 2014

You can read the announcement here:
http://peppermintos.net/viewtopic.php?f=6&t=6608
Or here's a direct link to the new forum:
http://forum.peppermintos.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

Powered by php B.B. © 2000, 2002, 2005, 2007 php B.B. Group
Template made by DEVPPL