Can't login on main account. Running from USB.

Asked by Ardasho

I just ran Ubuntu from a USB drive and restarted like the installation wizard said. When I restarted (from the USB drive again), I found I could not log into the main account. Clicking 'log in' makes the screen go black for a second, then black with a cursor for another second before going back to the login screen. The guest account however works fine!

Using Ubuntu 12.04 on a Compaq Mini notebook..

Note that I am new to Ubuntu so any directions to fix the problem may need to be simplified a bit.

Thanks

EDIT: I now see a message flash on the screen for a second saying
'mountal: plymouth command failed
                                                mountal: disconnected from plymouth
                                                                                *Checking battery state ... [OK]'

It may be worth noting now that the notebook's battery is no longer working and it is running from the AC adaptor.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu ubuntu-meta Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

If you press CTRL+ALT+F2 and log in there. Run:

df -h

Do all partitions have free space?

Revision history for this message
Ardasho (ardasho) said :
#2

Here:

/dev/sda1 - 136G Used
udev - 4.0K Used
tmpfs - 198M Used
none - 5.0m Used
none -495M Used

If you need any more info let me know.

Revision history for this message
Ardasho (ardasho) said :
#3

Sorry, I mean available instead of used!

Revision history for this message
Ardasho (ardasho) said :
#4

I'm very sorry but I've made a right mess of this! Let me try again:

/dev/sda1 - 136G avail
udev - 485M avail
tmpfs - 198M avail
none - 5.0M avail
none - 495M avail

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Try:

sudo apt-get clean; sudo chown -R $USER:$USER $HOME

Run it as given, it will work (you'll get a warning message but it's ok). Then press CTRL+ALT+F7 and log in

Revision history for this message
Ardasho (ardasho) said :
#6

I run that however it just creates a new line starting with ""matthew@Matthew-NoteBook:~$" (the same as the line I entered that command on) and then about a minute later it says:

"* Starting AppArmor profiles
Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd [ OK ]

speech-dispatcher disabled; edit /etc/default/speech-dispatcher
saned disabled; edit /etc/default/saned [ OK ]
 * Checking battery state..."

with a flashing _ cursor after. It was like that for about two minutes before I tried CTRL+ALT+F7 and try to login, but I get the same problem. I did CTRL+ALT+F2 again to return to the window which is still on "*Checking battery state".

Revision history for this message
Ardasho (ardasho) said :
#7

I'm not sure if this is relevant, but when I login after pressting CTRL+ALT_+F2, there is a message saying:

"keyctl_search: Required key not available
Perhaps try the interactive 'ecryptfs-mount-private"

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

oh, did you use encryptfs?

Revision history for this message
Ardasho (ardasho) said :
#9

Yes actually! I don't Ned it though, so it can be turned off if that's possible. Any idea what to do from here?

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#10

Not sure, I don't use it as I've seen it cause too many headaches, maybe others can advise

Revision history for this message
Ardasho (ardasho) said :
#11

I fixed it just by redoing the bootable USB and running Ubuntu but without encrypting. Thanks for all your help though! Without your help I wouldn't have known that it was caused by encrypting. I also heard that it caused a lot of bother :) I only turned it on because being new to Ubuntu I thought 'why not'.

Revision history for this message
Ardasho (ardasho) said :
#12

Thanks actionparsnip, that solved my question.