sudo adduser dummyuser and followed the prompts to create the password etc.
After logging in to the dummyuser account, it does not create any of the home sub-directories (such as Documents, Downloads, Desktop, etc). Some searches mentioned trying
-m option but that option was not recognized.
When i try to run
startx i get a bunch of lines of texts with a
fatal server error: no screens found
I am running
debian Raspbian 10 (buster).
EDIT: I read through the manpages for
useradd and from my understanding
adduser is the "friendlier" command to use. My understanding is that this invokes
/etc/skel directories and I tried reading through those a bit too to get a better understanding.
When i run
cat /etc/passwd I the user I created has the entry:
dummyuser:x:1001:1002:dumm,user,:/home/dummyuser:/bin/bash so the home directory/path was created.
I guess my specific question is how do I run these commands to create the sub-directories such as desktop, downloads, documents and allow me access to
startx without that error message?