Cant log-in

The place to post if you need help or advice

Moderators: ChrisThornett, LXF moderators

Cant log-in

Postby GeordieJedi » Sun Sep 01, 2013 1:35 pm

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 5:55 pm, edited 1 time in total.
User avatar
GeordieJedi
LXF regular
 
Posts: 337
Joined: Thu Jun 14, 2007 10:36 pm
Location: North East England

Postby paulm » Sun Sep 01, 2013 5:48 pm

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.
paulm
LXF regular
 
Posts: 242
Joined: Mon Apr 03, 2006 4:53 am
Location: Oxfordshire, UK

Postby GeordieJedi » Sun Sep 01, 2013 6:08 pm

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.
User avatar
GeordieJedi
LXF regular
 
Posts: 337
Joined: Thu Jun 14, 2007 10:36 pm
Location: North East England

Postby Rhakios » Sun Sep 01, 2013 9:56 pm

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
User avatar
Rhakios
Moderator
 
Posts: 7634
Joined: Wed Apr 06, 2005 11:18 pm
Location: Midlands, UK

Postby GeordieJedi » Tue Sep 03, 2013 4:45 pm

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.
User avatar
GeordieJedi
LXF regular
 
Posts: 337
Joined: Thu Jun 14, 2007 10:36 pm
Location: North East England

Postby Rhakios » Tue Sep 03, 2013 5:13 pm

Yes, but can you log in at a tty?
Bye, Rhakios
User avatar
Rhakios
Moderator
 
Posts: 7634
Joined: Wed Apr 06, 2005 11:18 pm
Location: Midlands, UK

Postby nelz » Mon Sep 09, 2013 7:59 am

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


Or you can find all files not owned by your user
Code: Select all
find ~ ! -user youruser
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
nelz
Site admin
 
Posts: 8577
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK


Return to Help!

Who is online

Users browsing this forum: Yahoo [Bot] and 0 guests