You are not logged in.
Hello i just restored my devuan workstation (i had some grub/efivars) issues
Everything works fine but i can't login. Btw there are two entries on boot menu but all lead to devuan installation.
I use correct user and password. It goes on loop after 1 second and won't let me in. I can boot though via root account and the password i have set.
Any ideas ?
I did:
cat /etc/passwd
and in resutls my user is ok
rhtoras:x:1000:1000:rhtoras,,,:/home/rhtoras:/bin/bash
as root .profile contains:
# ~/.profile: executed by Bourne-compatible login shells.
if [ "$BASH" ]; then
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
fi
mesg n 2> /dev/null || true
Any suggestions ?
Offline
caps lock key?
ComputerBob - Making Geek-Speak Chic (TM)
ComputerBob.com - Nearly 6,000 Posts and 22 Million Views since 1998
My Massive Stroke
Help! (off-topic)
Offline
caps lock key?
nope
i found that if i press ctrl+alt+f1 to enter tty i can login with password and username ok
but i press startx it wont load and if i force i get the following error:
The path for the directory containing caja settings need read and write permissions:
also
cd/home/rhtoras
won't work
only
cd/home
which is empty if i press ls
p.s i use mate desktop that's why caja
and rhtoras is my user
Last edited by rhtoras (2023-03-13 12:21:52)
Offline
From your previous problem I gather your home directory is on a separate partition.
Have you checked that the entry in /etc/fstab is correct to mount that partition?
Have you checked that the contents of the home partition look sensible?
Offline
From your previous problem I gather your home directory is on a separate partition.
Have you checked that the entry in /etc/fstab is correct to mount that partition?
Have you checked that the contents of the home partition look sensible?
yes i did all these...
the only downside is i discovered i could login as user from tty
what i did after a research is to recreate a /home/user directory via mkdir
then
sudo chown -R user:user /home/user
and just in case...
cp -rT /etc/skel /home/user
replaced user with my username
Then everything went just fine except from some files that were deleted but i had backup. It was helpfull i had a seperate /home partition. It save lives.
Last edited by rhtoras (2023-03-14 08:33:23)
Offline
If you re-installed the system then your username might have had it's numeric UID changed (it's the 3rd field in /etc/passwd). That would mean that everything in it's home dir would be owned by the old UID, not it's new UID. The sudo chown -R user:user /home/user command would have fixed it. And destroyed most of the evidence.
I've hit this problem before when switching distributions.
Offline