PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 23, 2012, 05:29:38 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: SOLVED - Changed my user account name and now can't log in  (Read 485 times)
Maurice
Hero Member
*****
Offline Offline

Posts: 956


« on: December 11, 2011, 05: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.

Logged

PcLinuxos 2012.02, Kde 4.6.3, dual booting with Windows XP on custom built Desktop, Intel 06600 Quad core. DG33FB mb, 4gb ram, Nvidia 8600 (512mb),   Samsung (500gb) sata hdd
Just18
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4583


MLUs Forever!


« Reply #1 on: December 11, 2011, 05: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.
Logged

MLUs rule the roost!

Linux XPS 3.2.17-pclos1.pae.bfs  32 bit
Intel(R) Core(TM)2 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 ‎DVB-T 2 USB DTT
Maurice
Hero Member
*****
Offline Offline

Posts: 956


« Reply #2 on: December 11, 2011, 06: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?

Logged

PcLinuxos 2012.02, Kde 4.6.3, dual booting with Windows XP on custom built Desktop, Intel 06600 Quad core. DG33FB mb, 4gb ram, Nvidia 8600 (512mb),   Samsung (500gb) sata hdd
djohnston
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 5668


I don't do Windows


« Reply #3 on: December 11, 2011, 09: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.
Logged

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
Maurice
Hero Member
*****
Offline Offline

Posts: 956


« Reply #4 on: December 11, 2011, 06: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 ~]#
Logged

PcLinuxos 2012.02, Kde 4.6.3, dual booting with Windows XP on custom built Desktop, Intel 06600 Quad core. DG33FB mb, 4gb ram, Nvidia 8600 (512mb),   Samsung (500gb) sata hdd
Maurice
Hero Member
*****
Offline Offline

Posts: 956


« Reply #5 on: December 12, 2011, 05:09:35 AM »

I'm a bit tired of these problems and have reinstalled once again.  So - Solved.

Thanks for the help.   Maurice
Logged

PcLinuxos 2012.02, Kde 4.6.3, dual booting with Windows XP on custom built Desktop, Intel 06600 Quad core. DG33FB mb, 4gb ram, Nvidia 8600 (512mb),   Samsung (500gb) sata hdd
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM