Unable to Login to my user

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Unable to Login to my user

Postby Alltimeuser » Apr 9th, '14, 04:41

hello,
I recently had this problem where I'm unable to login to my user. I'll put in the correct password and everything but when I hit enter or login it takes away the login box and all the other stuff on the screen for some seconds and go back to the login screen. I tried switching workspaces but to no avail. I can go into the root user and try to make another user which also works but I still can't go into the first user I made. Any help?

Thanks in advance
Alltimeuser
 
Posts: 22
Joined: Apr 4th, '14, 05:41

Re: Unable to Login to my user

Postby tarakbumba » Apr 9th, '14, 10:36

Which desktop and display manager do you use?
Would you mind to provide your ~/.xsession-errors file content and journalctl -b output?
tarakbumba
 
Posts: 138
Joined: Apr 6th, '11, 22:50

Re: Unable to Login to my user

Postby Alltimeuser » Apr 10th, '14, 07:09

I'm using the Cinnamon desktop although I tried also using the Xfce desktop which also didn't work. and where are those files you mentioned located?
Alltimeuser
 
Posts: 22
Joined: Apr 4th, '14, 05:41

Re: Unable to Login to my user

Postby tarakbumba » Apr 10th, '14, 09:21

Also please provide the information for your display manager, kdm,gdm,lxdm,lightdm ?
I' ve mention where .xsession-errors file. In your user home directory. Also you can get journalctl -b output from command line. You can dump output to a txt file like this:
Code: Select all
journalctl -b > journallog.txt


And attach these files to either your message or use a paste site to paste their contents and share urls.
tarakbumba
 
Posts: 138
Joined: Apr 6th, '11, 22:50

Re: Unable to Login to my user

Postby Alltimeuser » Apr 11th, '14, 01:42

Here is the info from the journalctl -b:
http://ge.tt/5qXtk8Y1/v/0?c
Alltimeuser
 
Posts: 22
Joined: Apr 4th, '14, 05:41

Re: Unable to Login to my user

Postby Alltimeuser » Apr 11th, '14, 01:44

Here is the info from .xsession-errors:
http://ge.tt/473Yl8Y1/v/0?c
Alltimeuser
 
Posts: 22
Joined: Apr 4th, '14, 05:41

Re: Unable to Login to my user

Postby benmc » Apr 11th, '14, 02:56

I had a similar exp. with PClinux in a VM. user unable to login after updating, only root.
tried a full reinstall -worked ok until updated.

In the end I found that the root cause was that the / partition was too small.
benmc
 
Posts: 1215
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: Unable to Login to my user

Postby Alltimeuser » Apr 12th, '14, 04:07

My / partition is pretty big and isn't filled so I don't think that's the problem. (I have 280.3 GB free)
Alltimeuser
 
Posts: 22
Joined: Apr 4th, '14, 05:41

Re: Unable to Login to my user

Postby linuxero » Apr 12th, '14, 21:26

Hi;

Are you using a seperate partition for /home? What is your user name and the home directory for that user?

Could you post the result of the following:

Code: Select all
$ grep YOUR_USER_LOGIN /etc/passwd


Code: Select all
$ cat /etc/fstab


Code: Select all
$ ll /home


and finally:

Code: Select all
$ mount


Thanks
linuxero
 
Posts: 345
Joined: Oct 7th, '11, 15:50

Re: Unable to Login to my user

Postby Alltimeuser » Apr 15th, '14, 03:39

I am using the same partition for home, my username is nep, and the home directory is /home.

after grep:
Code: Select all
nep:x:500:500:Neptune:/home/nep:/bin/bash


after cat:
Code: Select all
# Entry for /dev/sda1 :
UUID=1e99f8d1-c1cf-4c5c-b1a6-76f39e38dfca / ext4 acl,noatime 1 1
none /proc proc defaults 0 0
# Entry for /dev/sda2 :
UUID=fd9c00b8-6e04-40b4-96a1-8a0b833a6f1a swap swap defaults 0 0


after ll:
Code: Select all
total 8
drwx------ 33 n3p n3p 4096 Apr 14 18:17 n3p/
drwxr-xr-x 41 nep nep 4096 Apr 10 16:35 nep/


after mount:
Code: Select all
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,size=1916668k,nr_inodes=479167,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
/dev/sda1 on / type ext4 (rw,noatime,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=25,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
tmpfs on /tmp type tmpfs (rw)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime,mode=755)
mqueue on /dev/mqueue type mqueue (rw,relatime)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
Last edited by doktor5000 on Apr 15th, '14, 11:05, edited 1 time in total.
Reason: added code tags
Alltimeuser
 
Posts: 22
Joined: Apr 4th, '14, 05:41

Re: Unable to Login to my user

Postby doktor5000 » Apr 15th, '14, 11:09

Please next time use code tags as explained in ftp://ftp5.gwdg.de/pub/linux/mandriva/m ... e_tags.ogv
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18059
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Unable to Login to my user

Postby Alltimeuser » Apr 15th, '14, 18:42

ok, sorry, I'm not very educated when it comes to editing my replies and such.
Alltimeuser
 
Posts: 22
Joined: Apr 4th, '14, 05:41

Re: Unable to Login to my user

Postby linuxero » Apr 16th, '14, 12:37

Can you try logging in as nep in a terminal?

Try pressing CTRL+ALT+F3 and try logging in as nep..

Please show the result of blkid..

Code: Select all
# grep nep /etc/shadow


Code: Select all
# blkid
linuxero
 
Posts: 345
Joined: Oct 7th, '11, 15:50

Re: Unable to Login to my user

Postby Alltimeuser » Apr 18th, '14, 03:37

I am able to login as nep through the terminal.

The result of grep:

Code: Select all
nep:$2a$08$6eAKl./lqIlW2vv2.CQhAuComP2xzWp2E0qCn5VvyrizRJq3sHhDa:16168::99999::::


The result of blkid:

Code: Select all
/dev/sda1: UUID="1e99f8d1-c1cf-4c5c-b1a6-76f39e38dfca" TYPE="ext4" PARTUUID="000e11d0-01"
/dev/sda2: UUID="fd9c00b8-6e04-40b4-96a1-8a0b833a6f1a" TYPE="swap" PARTUUID="000e11d0-02"
Alltimeuser
 
Posts: 22
Joined: Apr 4th, '14, 05:41

Re: Unable to Login to my user

Postby doktor5000 » Apr 18th, '14, 10:20

Alltimeuser wrote:I am able to login as nep through the terminal.

Was there some error message when you couldn't login?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18059
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Unable to Login to my user

Postby Alltimeuser » Apr 18th, '14, 19:30

No, it just take away the dialog box for some seconds and then the login screen reappears.
Alltimeuser
 
Posts: 22
Joined: Apr 4th, '14, 05:41

Re: Unable to Login to my user

Postby doktor5000 » Apr 18th, '14, 20:45

Uhmm, well in a terminal there is no dialog box ... Did you really try from a terminal?

EDIT: Nevermind, I got confused. What display manager do you use? Take a look at https://wiki.mageia.org/en/Display_Managers to know which is which.

Otherwise you can simply boot to failsafe mode, login as root and set a new password via
Code: Select all
passwd nep
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18059
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Unable to Login to my user

Postby Alltimeuser » Apr 18th, '14, 20:58

I am pretty sure I am using the lightdm gtk display manager.
And how do I go about doing the failsafe mode stuff?
(Since this problem has been a long hassle, I'm thinking of ending the thread because I got my current user to basically mimic the nep user. Also, the flash topic I made is still troubling me)
Alltimeuser
 
Posts: 22
Joined: Apr 4th, '14, 05:41

Re: Unable to Login to my user

Postby ozky » Apr 18th, '14, 21:54

Yes it's lightdm and cinnamon,cinnamon-screensaver-dialog[3262]: pam_tcb(cinnamon-screensaver:auth) it's from that log file.
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: Unable to Login to my user

Postby Alltimeuser » Apr 19th, '14, 00:00

thanks
Alltimeuser
 
Posts: 22
Joined: Apr 4th, '14, 05:41

Re: Unable to Login to my user

Postby doktor5000 » Apr 19th, '14, 09:50

Then simply choose another desktop session, it may be a problem with cinnamon only.
https://wiki.mageia.org/en/Display_Mana ... _Selection
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18059
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Unable to Login to my user

Postby Alltimeuser » Apr 19th, '14, 20:35

This also happens with Xfce4 which I got from the software management center.
Alltimeuser
 
Posts: 22
Joined: Apr 4th, '14, 05:41


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest