Make sure david-pi has sudo rights. This is vital as A. you won't be able to delete david without them and B. if you do manage to delete david you'll have a lot of trouble doing anything that needs root level access without this permission.
Assuming that david-pi does have sudo rights ...
Once you've removed the user you may see files with a numeric owner and/or group (probably 1000). This is normal and to be expected.
For more on deluser and delgroup see their man pages.
Written against Version: 20250707 of raspi-config.
Assuming that david-pi does have sudo rights ...
- Login as david-pi
- Open a terminal
Code:
sudo raspi-config- System Options -> Boot ->Desktop Desktop GUI
- System Options -> Auto Login -> Yes
- Reboot
You should now be auto logged in to the desktop as david-pi - Open a terminal
- if you want to keep their home directory.
Code:
sudo deluser davidif you don'tCode:
sudo deluser --remove-home david - You may also wish to run
Code:
sudo delgroup david
Once you've removed the user you may see files with a numeric owner and/or group (probably 1000). This is normal and to be expected.
For more on deluser and delgroup see their man pages.
Written against Version: 20250707 of raspi-config.
Statistics: Posted by thagrol — Fri Aug 22, 2025 2:17 pm