Author Topic: SOLVED - Changed my user account name and now can't log in  (Read 1123 times)

Offline Maurice

  • Hero Member
  • *****
  • Posts: 1134
SOLVED - Changed my user account name and now can't log in
« on: December 11, 2011, 03:53:50 AM »
When I now try to login I get the following messages ...

A critical error occurred

Cannot enter home directory using /

Check kdm logs

Kstartupconfig4 does not exist or fails. The error code is 3 Check


During these messages I get the login screen and when I complete this I get into the original Minime and not the one I have set up and configured.

I tried changing my user name but failed so I deleted it and entered another one.

Any help would be much appreciated

Maurice.

« Last Edit: December 12, 2011, 03:10:35 AM by Maurice »
PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10696
  • MLUs Forever!
Re: Changed my user account name and now can't log in
« Reply #1 on: December 11, 2011, 03:57:25 AM »
Sounds like   /home  has become detached from the OS.

Log in as described above (using the root account settings) and check whether  /home  is mounted or not.

Also check out the user names and IDs through PCC.
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline Maurice

  • Hero Member
  • *****
  • Posts: 1134
Re: Changed my user account name and now can't log in
« Reply #2 on: December 11, 2011, 04:41:29 AM »
Sounds like   /home  has become detached from the OS.

Log in as described above (using the root account settings) and check whether  /home  is mounted or not.

Also check out the user names and IDs through PCC.

Checked user names and they seem to be OK. Don't know how to check whether /home is mounted or not.

I checked the logs and found this in syslog

Dec 11 07:23:24 localhost userdrake[3658]: copied recursively /usr/share/mdk/faces/fish.png to /usr/share/mdk/faces/maurice.face.icon
Dec 11 07:23:52 localhost userdrake[3658]: copied recursively /usr/share/mdk/faces/lightning.png to /usr/share/mdk/faces/maurice.face.icon
Dec 11 08:52:48 localhost kdm: :0 '[2542]: Cannot update authorization file in home dir /home/maurice
Dec 11 08:52:48 localhost kdm: :0 '[2542]: Cannot chdir to maurice's home /home/maurice: No such file or directory
Dec 11 08:54:24 localhost kdm: :0[2655]: Cannot update authorization file in home dir /home/maurice
Dec 11 08:55:10 localhost kdm: :0 '[2695]: Cannot update authorization file in home dir /home/maurice
Dec 11 08:55:10 localhost kdm: :0 '[2695]: Cannot chdir to maurice's home /home/maurice: No such file or directory
Dec 11 08:55:51 localhost kdm: :0[2808]: Cannot update authorization file in home dir /home/maurice
Dec 11 08:58:30 localhost userdrake[3171]: copied recursively /usr/share/mdk/faces/sunset.png to /usr/share/mdk/faces/maurice.face.icon
Dec 11 09:01:01 localhost userdrake[3171]: Creating new group: maurice
Dec 11 09:01:01 localhost userdrake[3171]: Adding user: maurice
Dec 11 09:01:01 localhost userdrake[3171]: copied recursively /usr/share/mdk/faces/leaf.png to /usr/share/mdk/faces/maurice.face.icon
Dec 11 09:01:01 localhost userdrake[3171]: launched command: usermod -a -G audio,video,lp,cdrom,cdwriter,dialout,floppy,users,polkituser maurice

Does this help?

PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Changed my user account name and now can't log in
« Reply #3 on: December 11, 2011, 07:02:58 AM »

Checked user names and they seem to be OK. Don't know how to check whether /home is mounted or not.


Issue the mount command to see what partitions are mounted. Also, check all users again. See what directory is listed as maurice's home directory.


Dec 11 08:52:48 localhost kdm: :0 '[2542]: Cannot chdir to maurice's home /home/maurice: No such file or directory


It appears that your original home directory, /home/maurice has gone missing. While you're logged in, do:

ls -l /home/

Post the output.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline Maurice

  • Hero Member
  • *****
  • Posts: 1134
Re: Changed my user account name and now can't log in
« Reply #4 on: December 11, 2011, 04:46:14 PM »

Checked user names and they seem to be OK. Don't know how to check whether /home is mounted or not.


Issue the mount command to see what partitions are mounted. Also, check all users again. See what directory is listed as maurice's home directory.


Dec 11 08:52:48 localhost kdm: :0 '[2542]: Cannot chdir to maurice's home /home/maurice: No such file or directory


It appears that your original home directory, /home/maurice has gone missing. While you're logged in, do:

ls -l /home/

Post the output.


[root@localhost ~]# mount
/dev/sda2 on / type ext4 (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)


[root@localhost ~]# ls -l /home
total 8
drwx------ 24 maurice maurice 4096 Dec 11 09:04 maurice/
drwxr-xr-x  2 root    root    4096 Jun  9  2011 mysql/
[root@localhost ~]#
PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell

Offline Maurice

  • Hero Member
  • *****
  • Posts: 1134
Re: Changed my user account name and now can't log in
« Reply #5 on: December 12, 2011, 03:09:35 AM »
I'm a bit tired of these problems and have reinstalled once again.  So - Solved.

Thanks for the help.   Maurice
PcLinuxos 2012.02, Kde, dual booted with XP on custom built Desktop, Intel Core 2 Quad  cpu @ 2.4ghz, DG33FB mb, 4gb ram, Nvidia 8600 (512mb), Samsung (500gb) sata

"War does not determine who is right only who is left." Bertrand Russell