Page 1 of 1

Unable to Login to my user

PostPosted: Apr 9th, '14, 04:41
by Alltimeuser
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

Re: Unable to Login to my user

PostPosted: Apr 9th, '14, 10:36
by tarakbumba
Which desktop and display manager do you use?
Would you mind to provide your ~/.xsession-errors file content and journalctl -b output?

Re: Unable to Login to my user

PostPosted: Apr 10th, '14, 07:09
by Alltimeuser
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?

Re: Unable to Login to my user

PostPosted: Apr 10th, '14, 09:21
by tarakbumba
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.

Re: Unable to Login to my user

PostPosted: Apr 11th, '14, 01:42
by Alltimeuser
Here is the info from the journalctl -b:
http://ge.tt/5qXtk8Y1/v/0?c

Re: Unable to Login to my user

PostPosted: Apr 11th, '14, 01:44
by Alltimeuser
Here is the info from .xsession-errors:
http://ge.tt/473Yl8Y1/v/0?c

Re: Unable to Login to my user

PostPosted: Apr 11th, '14, 02:56
by benmc
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.

Re: Unable to Login to my user

PostPosted: Apr 12th, '14, 04:07
by Alltimeuser
My / partition is pretty big and isn't filled so I don't think that's the problem. (I have 280.3 GB free)

Re: Unable to Login to my user

PostPosted: Apr 12th, '14, 21:26
by linuxero
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

Re: Unable to Login to my user

PostPosted: Apr 15th, '14, 03:39
by Alltimeuser
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)

Re: Unable to Login to my user

PostPosted: Apr 15th, '14, 11:09
by doktor5000
Please next time use code tags as explained in ftp://ftp5.gwdg.de/pub/linux/mandriva/m ... e_tags.ogv

Re: Unable to Login to my user

PostPosted: Apr 15th, '14, 18:42
by Alltimeuser
ok, sorry, I'm not very educated when it comes to editing my replies and such.

Re: Unable to Login to my user

PostPosted: Apr 16th, '14, 12:37
by linuxero
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

Re: Unable to Login to my user

PostPosted: Apr 18th, '14, 03:37
by Alltimeuser
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"

Re: Unable to Login to my user

PostPosted: Apr 18th, '14, 10:20
by doktor5000
Alltimeuser wrote:I am able to login as nep through the terminal.

Was there some error message when you couldn't login?

Re: Unable to Login to my user

PostPosted: Apr 18th, '14, 19:30
by Alltimeuser
No, it just take away the dialog box for some seconds and then the login screen reappears.

Re: Unable to Login to my user

PostPosted: Apr 18th, '14, 20:45
by doktor5000
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

Re: Unable to Login to my user

PostPosted: Apr 18th, '14, 20:58
by Alltimeuser
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)

Re: Unable to Login to my user

PostPosted: Apr 18th, '14, 21:54
by ozky
Yes it's lightdm and cinnamon,cinnamon-screensaver-dialog[3262]: pam_tcb(cinnamon-screensaver:auth) it's from that log file.

Re: Unable to Login to my user

PostPosted: Apr 19th, '14, 00:00
by Alltimeuser
thanks

Re: Unable to Login to my user

PostPosted: Apr 19th, '14, 09:50
by doktor5000
Then simply choose another desktop session, it may be a problem with cinnamon only.
https://wiki.mageia.org/en/Display_Mana ... _Selection

Re: Unable to Login to my user

PostPosted: Apr 19th, '14, 20:35
by Alltimeuser
This also happens with Xfce4 which I got from the software management center.