Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Cant log-in

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
GeordieJedi
LXF regular


Joined: Thu Jun 14, 2007 11:36 pm
Posts: 327
Location: North East England

PostPosted: Sun Sep 01, 2013 2:35 pm    Post subject: Cant log-in Reply with quote

Hi again all.

OK, the issue is this - I cannot log into my Laptop.

I can get to the standard login page, I enter my password and it will attempt to log in.
(It will have a bit of a think about it) and then return to the password prompt.

* I don't get an incorrect PW error. (I am certain that I'm using the correct PW).

(Edit 02)
* Also, when it does this, the screen will go black and I can see some writing. It shows about 3 lines of text as follows -

* Checking battery state [OK]
* Stopping system V runlevel compatibility [OK]
* Starting CUPS printing spooler/server [OK]

It disappears very quickly.

I have tried logging into the other DE's (Unity and XFCE) all with the same result.


I "suspect" it may have something to do with me accidently changing/getting lost in
various different run levels yesterday !

I was trying to get to the desktop cube (Ctrl+F11) and I have inadvertently managed to
get lost in the different runlevels. I finally manged to get back to a standard GUI,
finish what I was doing and then close down the laptop as normal.

However this morning, it's a no-go.


Am I stuck, (and still logged into) another runlevel ?

If so, can I log out (or flush all current loged in sessions) to start again fresh ?
Would this cure my problem ?



Useful info =
(Laptop specs)

Ubuntu 12.04 (LXF version with all the extra DE's on it).
DE = KDE 4.8.5
i3 (Dual core - hyper threaded to make quad core)
3 GB RAM

Any help or advice would be greatly appreciated.

TIA

(Edit 01 - I'm typing this from my desktop PC)
(Edit 02 - I managed to capture the on screen text. I posted it into the main body of the text).
(Edit 03 - Added the correct specs for the machine in question).


Last edited by GeordieJedi on Sun Sep 01, 2013 6:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
paulm
LXF regular


Joined: Mon Apr 03, 2006 5:53 am
Posts: 242
Location: Oxfordshire, UK

PostPosted: Sun Sep 01, 2013 6:48 pm    Post subject: Reply with quote

First thing I would try would be logging into a virtual console. When you get to the GUI login screen, press CTRL-ALT-F2. That should give you a full screen virtual console with a login prompt. Log in there - if there is a problem with your password, you'll know soon enough.

If you can log in, you should be able to get some clues as to what is happening by checking dmesg and /var/log/syslog.

Paul.
Back to top
View user's profile Send private message
GeordieJedi
LXF regular


Joined: Thu Jun 14, 2007 11:36 pm
Posts: 327
Location: North East England

PostPosted: Sun Sep 01, 2013 7:08 pm    Post subject: Reply with quote

Using CTRL+F2 I can log into a shell? session.

I've tried to open to logs in vi without much joy though.


N.B. - Added various edits to my main post.
Back to top
View user's profile Send private message
Rhakios
Moderator


Joined: Thu Apr 07, 2005 12:18 am
Posts: 7604
Location: Midlands, UK

PostPosted: Sun Sep 01, 2013 10:56 pm    Post subject: Reply with quote

The messages you see when your system is trying to log on are just those from the boot processes that get dumped to one of the terminals. Your problem appears to be that no window manager/desktop environment will start.
As mentioned above, try logging into one of the text terminals by doing ctrl+alt+f2 (or any other, you can get back to your log in screen usually at f7, sometimes f8 ).
The only times I can recall having a similar problem has been when one of the files (.local in that case) had managed to get root only rw permissions. So log in at a text terminal and then do ls -al to check the permissions on the files in your home directory. If there are too many to fit on the screen, you can always pipe it through less (or your preferred pager).
_________________
Bye, Rhakios
Back to top
View user's profile Send private message
GeordieJedi
LXF regular


Joined: Thu Jun 14, 2007 11:36 pm
Posts: 327
Location: North East England

PostPosted: Tue Sep 03, 2013 5:45 pm    Post subject: Reply with quote

Thanks lads.

It seemed to happen after I pressed the following key combo
Ctrl+Alt+F12

I can get to all the other tty levels and I can get back to the GUI log-in screen,
however it doesn't recognize my password in any of the sessions.
Again, I'm certain that I'm entering the right password,
As I'm not getting an "invalid password" error message.
Back to top
View user's profile Send private message
Rhakios
Moderator


Joined: Thu Apr 07, 2005 12:18 am
Posts: 7604
Location: Midlands, UK

PostPosted: Tue Sep 03, 2013 6:13 pm    Post subject: Reply with quote

Yes, but can you log in at a tty?
_________________
Bye, Rhakios
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8368
Location: Warrington, UK

PostPosted: Mon Sep 09, 2013 8:59 am    Post subject: Reply with quote

You can find all files owned by root with find, much easier than parsing the output of ls
Code:
find ~ -user root


Or you can find all files not owned by your user
Code:
find ~ ! -user youruser

_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast