09-25-2023, 11:33 AM
(09-25-2023, 02:10 AM)varunach Wrote:(09-22-2023, 10:57 AM)Tim Curtis Wrote: Prolly the same issue.
What is the output of the commands below?
Code:ls -l /home
ls -al /home/pi
vasanth@moode:~ $ ls -l /home
drwxr-xr-x 2 root root 4096 Sep 21 18:43 pi
drwxr-xr-x 2 vasanth vasanth 4096 Jun 8 14:59 vasanth
vasanth@moode:~ $ ls -al /home/pi
total 24
drwxr-xr-x 2 root root 4096 Sep 21 18:43 .
drwxr-xr-x 4 root root 4096 Aug 27 19:26 ..
-rwxr-xr-x 1 root root 4681 Sep 5 10:50 .dircolors
-rwxr-xr-x 1 root root 1388 Apr 6 09:40 piano.sh
-rwxr-xr-x 1 root root 1218 Sep 5 10:50 .xinitrc
To fix do the following:
1. Leave the local service file as-is with User=pi
2. Delete /home/pi using the command below
Code:
sudo rm -rf /home/pi
3. Reboot