IntroOkay, this question was initially posted with hints that /etc/skel might be part of the issue. I have since removed the contents of /etc/skel, tried again and the issue still persists.As I said in the initial post, I don't usually use multiple users on systems with graphical environments so I probably look like a total tool and I hope you can forgive the ignorance.The ProblemWhen creating a new user using useradd -m -G client newuser I expect that user to login, through SDDM, and gain access to a graphical desktop environment just like the initial user can. However, when logging in with newuser it just drops to a non-graphical shell. The Question(s)Why is this happening to me? What have I missed?I'll likely need to provide more info and config etc. Let me know where I should start.Edit 1: Couple of errors to keep you goingWhen running startx after logging in as newuser I receive the following:Only console users are allowed to run the X serverWhen running startxfce4:X server already running on display 0:0Another session manager is already runningThis is despite logging in straight from boot so I know no other sessions are currently active.Edit 2: The exact issue and answerSo, in all of my infinite wisdom I forgot to grep through the files for hardcoded filepaths. There were loads. A monumental amount. Just about every file. Thanks to the link posted by C.W. below I remembered how to grep and sorted out the issue quickly with the following command: cd /home/newuser && grep -rl 'testuser' . | xargs sed -i s/testuser/newuser/g Is 10 a.m too early for a drink?
Arch with XFCE & SDDM: New user doesn't get a full desktop environment... Why?
arch linux;xfce;useradd;sddm
I have read your unedited post some hours ago and wasn't able to answer because i was at work. The solution for the cloned config files is maybe found here at the xfce forums.On your recent problem: Did you add exec startxfce4 to a xinitrc-file at the user's home directory? In this case startx and xinit will execute it from there. Otherwise startx will run the default /etc/X11/xinit/xinitrc.