Add a second user incomplete

I did a new install and it works fine.

When I add a second user in Manjaro settings manager, the user will createt.

But when I log into this account, there is an emty taskbar, no default files or folders are in the home-directory. No programs are visible or executeble by name when I open the Start-Button.

What could be the mistake?

System:
  Kernel: 6.18.8-1-MANJARO arch: x86_64 bits: 64
  Desktop: KDE Plasma v: 6.5.5 Distro: Manjaro Linux
Machine:
  Type: Laptop System: TUXEDO product: TUXEDO Pulse 15 Gen1 v: Standard
    serial: <superuser required>
  Mobo: TUXEDO s model: PULSE1501 v: Standard serial: <superuser required>
    Firmware: UEFI vendor: American Megatrends v: N.1.07.A02 date: 12/08/2020
Battery:
  ID-1: BAT0 charge: 89.2 Wh (99%) condition: 90.1/91.2 Wh (98.7%)
CPU:
  Info: 8-core model: AMD Ryzen 7 4800H with Radeon Graphics bits: 64
    type: MT MCP cache: L2: 4 MiB
  Speed (MHz): avg: 1400 min/max: 1400/2900 cores: 1: 1400 2: 1400 3: 1400
    4: 1400 5: 1400 6: 1400 7: 1400 8: 1400 9: 1400 10: 1400 11: 1400 12: 1400
    13: 1400 14: 1400 15: 1400 16: 1400
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Renoir [Radeon Vega Series /
    Radeon Mobile Series] driver: amdgpu v: kernel
  Device-2: Chicony HD Webcam driver: uvcvideo type: USB
  Display: wayland server: X.org v: 1.21.1.21 with: Xwayland v: 24.1.9
    compositor: kwin_wayland driver: X: loaded: amdgpu unloaded: modesetting
    dri: radeonsi gpu: amdgpu resolution: 1: 1920x1080~75Hz 2: 1920x1080~60Hz
  API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast
    platforms: gbm,wayland,x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.3.4-arch1.1
    renderer: AMD Radeon Graphics (radeonsi renoir ACO DRM 3.64
    6.18.8-1-MANJARO)
  API: Vulkan v: 1.4.335 drivers: radv surfaces: N/A
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor wl: wayland-info x11: xdpyinfo,xprop
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Renoir/Cezanne HDMI/DP Audio
    driver: snd_hda_intel
  Device-2: Advanced Micro Devices [AMD] Audio Coprocessor driver: N/A
  Device-3: Advanced Micro Devices [AMD] Ryzen HD Audio
    driver: snd_hda_intel
  API: ALSA v: k6.18.8-1-MANJARO status: kernel-api
  Server-1: PipeWire v: 1.4.10 status: active
Network:
  Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi
  IF: wlp1s0 state: down mac: <filter>
  Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth driver: btusb type: USB
  Report: rfkill ID: hci0 state: up address: see --recommends
Drives:
  Local Storage: total: 232.89 GiB used: 11.21 GiB (4.8%)
  ID-1: /dev/nvme0n1 vendor: Kingston model: SA2000M8250G size: 232.89 GiB
Partition:
  ID-1: / size: 232.59 GiB used: 11.21 GiB (4.8%) fs: btrfs
    dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 299.4 MiB used: 664 KiB (0.2%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-3: /home size: 232.59 GiB used: 11.21 GiB (4.8%) fs: btrfs
    dev: /dev/nvme0n1p2
  ID-4: /var/log size: 232.59 GiB used: 11.21 GiB (4.8%) fs: btrfs
    dev: /dev/nvme0n1p2
Swap:
  ID-1: swap-1 type: file size: 512 MiB used: 0 KiB (0.0%)
    file: /swap/swapfile
Sensors:
  System Temperatures: cpu: 57.1 C mobo: N/A gpu: amdgpu temp: 39.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 8 GiB note: est. available: 7.17 GiB used: 2.36 GiB (32.9%)
  Processes: 397 Uptime: 14m Shell: Zsh inxi: 3.3.40

I found the issue.

I tried it with the manjaro-settings manager and also with the plasma settings manager to add users.

Both users was added, but all permissions from their home folder and inside it was for user, group and others “root”.

I changed the permissions in the console with chown command and now all works fine.

Perhaps this could be an issue in the settings-managers.

regards
caho

It must be, yes, but either way, the recommended method for adding new user accounts is to use the useradd command. See it’s man page… :backhand_index_pointing_down:

man useradd

hmm - I just did a test using the plasma user add tool

the result was as expected - only the user has access to the named home folder

 $ ls -la /home
total 16
drwxr-xr-x   4 root root 4096  2 feb 12:04 .
drwxr-xr-x  21 root root 4096 30 okt 15:04 ..
drwx------   2 bla  bla  4096  2 feb 12:04 bla
...

And a second using manjaro settings manager, also the result is as expected

 $ ls -la /home
total 20
drwxr-xr-x   5 root   root   4096  2 feb 12:07 .
drwxr-xr-x  21 root   root   4096 30 okt 15:04 ..
drwx------   2 bla    bla    4096  2 feb 12:04 bla
drwx------   2 blabla blabla 4096  2 feb 12:07 blabla
...

What ever it was it was local to your system.

2 Likes

It was a fresh install with this iso: manjaro-kde-26.0.1-260114-linux618.iso from the manjaro download webpage.

First I added the user with the manjaro-settings manager. As it fail with root permissions I deleted the user again and
second I added the user with the plasma user dialog.
Both have the same permissions error with “root” instead of “user”

I didn’t add a user with useradd from the console, because there are two GUI settings-manger, that I used. For what are the GUI Dialogs? Only for a user picture and change password?

Today I tried it again with the plasma user manager and now it works

drwx------ 1 blabla  blabla  146  2. Feb 16:29 blabla

I didn´t something different to yesterday.

regards
caho

You must have. Computers are deterministic.

1 Like

I don’t know, what was going wrong.

There ist only 1 Button to add user in the settings-manager, and I pushed it … :slightly_smiling_face:

Maybe you were logged into Plasma as root. :man_shrugging:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.