/home/xyz Not Exist

Questions about Grub, the liveCD and the installer
Forum rules
Before you post please read this

/home/xyz Not Exist

Postby borgward on Sat Mar 15, 2014 9:23 pm

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
borgward
Level 3
Level 3
 
Posts: 167
Joined: Mon Dec 17, 2012 10:18 pm

Linux Mint is funded by ads and donations.
 

Re: /home/xyz Not Exist

Postby kyphi on Sat Mar 15, 2014 9:31 pm

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
Qiana Cinnamon 64bit
User avatar
kyphi
Level 6
Level 6
 
Posts: 1125
Joined: Sat Jul 09, 2011 1:14 am
Location: Australia

Re: /home/xyz Not Exist

Postby borgward on Sun Mar 16, 2014 12:14 am

sudo chmod 644 ~/.dmrc

chmod : cannot access '/home/xyz/.dmrc'
borgward
Level 3
Level 3
 
Posts: 167
Joined: Mon Dec 17, 2012 10:18 pm

Re: /home/xyz Not Exist

Postby kyphi on Sun Mar 16, 2014 1:15 am

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
Qiana Cinnamon 64bit
User avatar
kyphi
Level 6
Level 6
 
Posts: 1125
Joined: Sat Jul 09, 2011 1:14 am
Location: Australia

Re: /home/xyz Not Exist

Postby borgward on Sun Mar 16, 2014 12:53 pm

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?
borgward
Level 3
Level 3
 
Posts: 167
Joined: Mon Dec 17, 2012 10:18 pm

Re: /home/xyz Not Exist

Postby kyphi on Sun Mar 16, 2014 6:26 pm

Here is a reference to dmrcErrors:

https://help.ubuntu.com/community/dmrcErrors
Qiana Cinnamon 64bit
User avatar
kyphi
Level 6
Level 6
 
Posts: 1125
Joined: Sat Jul 09, 2011 1:14 am
Location: Australia

Re: /home/xyz Not Exist

Postby borgward on Sun Mar 16, 2014 9:35 pm

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 ?
borgward
Level 3
Level 3
 
Posts: 167
Joined: Mon Dec 17, 2012 10:18 pm

Re: /home/xyz Not Exist

Postby kyphi on Mon Mar 17, 2014 12:17 am

You could open a terminal and type
Code: Select all
locate .dmrc
Qiana Cinnamon 64bit
User avatar
kyphi
Level 6
Level 6
 
Posts: 1125
Joined: Sat Jul 09, 2011 1:14 am
Location: Australia

Re: /home/xyz Not Exist

Postby Monsta on Mon Mar 17, 2014 3:21 am

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

BTW, post the output of:
Code: Select all
mount
Monsta
Level 8
Level 8
 
Posts: 2486
Joined: Fri Aug 19, 2011 3:46 am

Re: /home/xyz Not Exist

Postby austin.texas on Mon Mar 17, 2014 8:22 am

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 17 v2 Cinnamon (64 bit), Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Microsoft-free environment since 1996

To help Linux Mint with a donation, please visit http://www.linuxmint.com/donors.php
User avatar
austin.texas
Level 11
Level 11
 
Posts: 3617
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Re: /home/xyz Not Exist

Postby borgward on Mon Mar 17, 2014 11:09 am

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.
borgward
Level 3
Level 3
 
Posts: 167
Joined: Mon Dec 17, 2012 10:18 pm

Re: /home/xyz Not Exist

Postby austin.texas on Mon Mar 17, 2014 11:28 am

I am glad you got it worked out.

Please go to your first post, click EDIT, and add [SOLVED] to the title.
Mint 17 v2 Cinnamon (64 bit), Quad core AMD A8-3870 with Radeon HD Graphics 6550D, 8GB DDR3, Ralink RT2561/RT61 802.11g PCI
Microsoft-free environment since 1996

To help Linux Mint with a donation, please visit http://www.linuxmint.com/donors.php
User avatar
austin.texas
Level 11
Level 11
 
Posts: 3617
Joined: Tue Nov 17, 2009 3:57 pm
Location: at /home

Linux Mint is funded by ads and donations.
 

Return to Installation & Boot

Who is online

Users browsing this forum: No registered users and 4 guests