#New user not working properly in new Arch install

18 messages · Page 1 of 1 (latest)

outer siren
#

Creating a new user doesn’t include its directories. When xdg-user-dirs-update is run, directories are created, but even then I can’t switch user nor start KDE as new user. KDE is working fine when run as root. Also audio is not working at all, but I will probably make another post for that.

lone thistle
#

Are you on base Arch?

outer siren
lone thistle
#

Did you use archinstall?

outer siren
#

Also installed manually following wiki. Didn’t know archinstall existed.

lone thistle
#

Have you tried asking in the arch linux server? you'll get more help there

outer siren
lone thistle
#

People will be able to help more and quicker than here since this isn't an arch server

outer siren
#

Yeah I understand I just wasn’t in the Arch discord server. I will look it up and join it.

sturdy pond
#

example:
#1 Login to your Operating System

First, you’ll need to access your terminal. If you’re not logged in as the root user, you’ll have to switchto a user that already has sudo privileges. (example: su - )

#2 Adding a User to the sudo Group

The easiest way to give a user sudo access is to add them to the sudo group. By default, Debian is configured in a way that members of the sudo group are permitted to use the sudo command.

root@debianpc#> usermod -aG sudo username

Replace username with the name of the user you want to grant sudo privileges.

#3 Verify the User is Part of the sudo Group

To ensure the user has been added to the group, you can use the groups command:
(in place of username use your name)
regularuser@debianpc$> groups username
or
root@debianpc#> groups username

outer siren
# sturdy pond example: #1 Login to your Operating System First, you’ll need to access your te...

I managed to solve the problem, but I had to reinstall (not a problem since it’s a fresh install anyway). So the problem was caused by launching KDE as root . This led to root becoming the ONLY kde user. Adding another KDE user didn’t work, KDE failed to launch. Also, the audio issue is related, as pipewire service refused to run when user is root. So both issues are now solved :)

Why did I launch KDE as root in the first place? Because I followed the Arch installation guide then Plasma installation on Arch wiki, I was unaware I had to switch users.

sturdy pond
#

i have seen specialist Ermanno Ferrari do arch installs on youtube

#

once u move from the installer via chroot to the 'installed' base system environment, ur supposed to make a non-root user (eg: JoeBlow) and grant them sudo privileges..

#

then switch to that user, and install desktop.

#

@outer siren

#

but yes, super easy mistake to do

outer siren