/home/xyz Not Exist

Archived topics about LMDE 1 and LMDE 2
Locked
borgward
Level 6
Level 6
Posts: 1186
Joined: Mon Dec 17, 2012 10:18 pm

/home/xyz Not Exist

Post by borgward »

Just installed LMDE 201403. Getting message on first boot:

Your home directory is listed as: '/home/xyz' but it does not appear to exist. Do You want to log in with the / root directory as your home directory? It is unlikely anything will work unless you use a failsafe session.

Q - how to get into failsafe session?

I selected YES

User's $HOME/.dmrc file is being ignored. This prevents the default session and language from being saved. File should be owned by user and have 644 permissions. User's $HOME directory must be owned by user and not writable by other users.

I selected OK

MDM could not write to your authorization file. This could mean that you are out of disk space or that your home directory could not be opened for writing. In any case, it is not possible to log in. Please contact your system administrator.

I selected OK

That lead me back to login screen. - Select a session:
Last
Run Xclient script
Cinnamon
Cinnamon (Software Rendering)

Something wrong w/fstab?

/etc/fstab

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=9eb74ccf-e876-45f1-a00f-efde5d88aae8 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda4 during installation
UUID=43e68540-31f5-478e-adc5-4d35fba5450b /home ext4 defaults 0 2
# /tmp was on /dev/sda2 during installation
UUID=e69da0e1-e785-4de8-8378-975edca8c7ea /tmp ext4 defaults 0 2
# swap was on /dev/sda3 during installation
UUID=c2e1c017-d93c-45f4-a605-fb6230c31994 none swap sw 0 0
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
kyphi
Level 9
Level 9
Posts: 2735
Joined: Sat Jul 09, 2011 1:14 am
Location: The Hunter Valley, Australia

Re: /home/xyz Not Exist

Post by kyphi »

Open a terminal and

Code: Select all

sudo chmod 644 ~/.dmrc
If that gives you a message that you are not the owner, etc then do this first:

Code: Select all

sudo chown yourname /home/yourname/.dmrc
Linux Mint 21.3 Cinnamon
borgward
Level 6
Level 6
Posts: 1186
Joined: Mon Dec 17, 2012 10:18 pm

Re: /home/xyz Not Exist

Post by borgward »

sudo chmod 644 ~/.dmrc

chmod : cannot access '/home/xyz/.dmrc'
User avatar
kyphi
Level 9
Level 9
Posts: 2735
Joined: Sat Jul 09, 2011 1:14 am
Location: The Hunter Valley, Australia

Re: /home/xyz Not Exist

Post by kyphi »

Your fstab file is fine.
From the information you have provided,
/ is on sda1
/home is on sda4
/temp is on sda2
swap is on sda3

Use the first command to assume ownership of your home directory and the .dmrc file and the second command to establish the correct permissions.

Code: Select all

sudo chown yourusername /home/yourusername/.dmrc

Code: Select all

sudo chmod 644 /home/yourusername/.dmrc
Linux Mint 21.3 Cinnamon
borgward
Level 6
Level 6
Posts: 1186
Joined: Mon Dec 17, 2012 10:18 pm

Re: /home/xyz Not Exist

Post by borgward »

sudo chown xyz /home/yourusername/.dmrc

chown: cannot access '/home/xyz/.dmrc' : No such file or directory

sudo chown xyz /home/xyz

chown: cannot access '/home/xyz : No such file or directory

sudo chown xyz /home - That worked.

xyz@1234 / $ ls
bin boot etc home intrid.img lib lib64 lost+found media mnt opt proc root run sbin srv sys tmp usr vmlinuz

inxi -F
Drives: HDD total size 80 GB (5.1% used) 1: id: /dev/sda model: ST980813AS size: 80GB
Partition ID: / size: 5.7G used: 3.9G (72%) fs: ext4

sudo chmod 644 /home/xyz/.dmrc

chmod: cannot access'/home/xyz/.dnrc': No such file or directory

xyz@1234 / $ sudo su
1234 / # cd /home
1234 home # ls
1234 home # - Looks like home is empty - Guessing there is no .dmrc

What packages are needed needed for first lmde boot?
User avatar
kyphi
Level 9
Level 9
Posts: 2735
Joined: Sat Jul 09, 2011 1:14 am
Location: The Hunter Valley, Australia

Re: /home/xyz Not Exist

Post by kyphi »

Here is a reference to dmrcErrors:

https://help.ubuntu.com/community/dmrcErrors
Linux Mint 21.3 Cinnamon
borgward
Level 6
Level 6
Posts: 1186
Joined: Mon Dec 17, 2012 10:18 pm

Re: /home/xyz Not Exist

Post by borgward »

Followed instructions at https://help.ubuntu.com/community/dmrcErrors . Still getting cannot access '/home/xyz/.dmrc' : No such file or directory

Restarted, Now getting message;
"Your home directoryis listed as: '/home/xyz' but it does not appear to exist. Do you want to log in with the / (root) directory as your home directory? it is unlikely anything will work unless you use a failsafe session."

Failsafe session? What is that? Not at GRUB login. Does that mean open a terminal?

I opened a terminal.

/ # ls
bin boot dev etc home intrid.img lib lib64 lost+found media mnt opt root run sbin sev tmp usr var vmlinuz
/ # cd home
home # ls
home #

md5sums are correct.

/ $ chmod 777 home
/$ cd home
/home $ ls -l
total 0

I justinstalled Linux Mint Debian 201403. Have never been able to log in.

I am beginning to think something went wrong with the install, and that /tom and /tom/.dmrc are missing.

Any other way I can confirm that there is a .dmrc ?
User avatar
kyphi
Level 9
Level 9
Posts: 2735
Joined: Sat Jul 09, 2011 1:14 am
Location: The Hunter Valley, Australia

Re: /home/xyz Not Exist

Post by kyphi »

You could open a terminal and type

Code: Select all

locate .dmrc
Linux Mint 21.3 Cinnamon
Monsta
Level 10
Level 10
Posts: 3071
Joined: Fri Aug 19, 2011 3:46 am

Re: /home/xyz Not Exist

Post by Monsta »

So your user's home directory doesn't exist. Why not create it manually?

BTW, post the output of:

Code: Select all

mount
User avatar
austin.texas
Level 20
Level 20
Posts: 12003
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: /home/xyz Not Exist

Post by austin.texas »

More info would be helpful.
Please open a terminal, enter this command, and post the result -

Code: Select all

sudo parted -l && sudo blkid -o list
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
borgward
Level 6
Level 6
Posts: 1186
Joined: Mon Dec 17, 2012 10:18 pm

Re: /home/xyz Not Exist

Post by borgward »

Sorry, I can't reply to the last 2 responses as I reinstalled LMDE. During that install, I did chroot into /target did did apt-get to install .dmrc and mdm.... That did the trick.
User avatar
austin.texas
Level 20
Level 20
Posts: 12003
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: /home/xyz Not Exist

Post by austin.texas »

I am glad you got it worked out.

Please go to your first post, click EDIT, and add [SOLVED] to the title.
Mint 18.2 Cinnamon, Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Linux Linx 2018
Locked

Return to “LMDE Archive”