You are not logged in.
1. When I try to connect to Wi-Fi with nmtui I have a popup information that I don't have access to network configuration
(my user is in wheel group)
I can connect with escalated privileges, but on my regular setup there is no need for such a thing, and I don't know why.
2. Also, I can't shut down the system without escalated privileges (I'm not in front of my system. I'll post error message later)
3. During login, I have to use password for encrypted partition two times. I read something about that some time ago but I don't remember the details.
I did an installation on Transcend JetFlash 920
I decided to go with Bios/UEFI install.
Current setup is:
partiton1 - 1M bios
partition2 - 300M EFI
partition3 - >250GB /
I wanted to try btrfs in this configuration with encryption. Wiki says that there is no full support for encrypted boot and luks2, so I decided to go with luks1
subvolumes are
@ for /
@home for /home
@cache for /var/cache
in fstab I have for partition 3
rw,noatime,compress=zstd:3,space_cache=v2,subvol=@My grub config is:
... cryptdevice=UUID=...:cryptroot root=/dev/mapper/crtptroot rootflags=subvol=@I'll try to post more details later but maybe you could find something weird in described configuration.
Last edited by 860lacov (2022-04-02 16:28:59)
Offline
Sounds like you don't end up w/ an active session (session management broken in general)
loginctl session-statusOnline
Sounds like you don't end up w/ an active session (session management broken in general)
loginctl session-status
loginctl session-status1 - jm (1000)
Since: Fri 2022-04-01 13:11:59 CEST; 2min 16s ago
Leader: 353 (login)
Seat: seat0; vc1
TTY: tty1
Service: login; type tty; class user
State: active
Unit: session-1.scope
├─353 "login -- jm"
├─377 -bash
├─410 loginctl session-status
└─411 -bash
kwi 01 13:11:59 transcend login[353]: LOGIN ON tty1 BY jm
kwi 01 13:11:59 transcend systemd[1]: Started Session 1 of User jm.
kwi 01 13:13:42 transcend sudo[400]: pam_systemd_home(sudo:auth): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
kwi 01 13:13:44 transcend sudo[400]: jm : TTY=tty1 ; PWD=/home/jm ; USER=root ; COMMAND=/usr/bin/mount /dev/sda3 /mnt
kwi 01 13:13:44 transcend sudo[400]: pam_unix(sudo:session): session opened for user root(uid=0) by jm(uid=1000)
kwi 01 13:13:44 transcend sudo[400]: pam_unix(sudo:session): session closed for user root
kwi 01 13:13:51 transcend sudo[403]: pam_systemd_home(sudo:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
kwi 01 13:13:51 transcend sudo[403]: jm : TTY=tty1 ; PWD=/home/jm ; USER=root ; COMMAND=/usr/bin/mount /dev/sda3 /mnt -t ntfs3
kwi 01 13:13:51 transcend sudo[403]: pam_unix(sudo:session): session opened for user root(uid=0) by jm(uid=1000)
kwi 01 13:13:52 transcend sudo[403]: pam_unix(sudo:session): session closed for user rootAnd when I try to do shutdown now I get:
Failed to set wall message, ignoring: Access denied
Failed to power off system via logind: Access denied
Failed to talk to init daemon.Offline
For 1 and 2, see the optional deps of networkmanager and systemd, respectively.
Offline
For 1 and 2, see the optional deps of networkmanager and systemd, respectively.
Could you please tell me which depes?
I've checked dependencies for NetworkManager and systemd.
With the names, I'm not able to tell which package I need.
I use Arch on 2 laptops and one PC, and it always worked.
Wiki says:
All users in the network group will be able to add and remove networks without a password (which means you do not have to run a Polkit authentication agent, so this option will also work in SSH sessions).
But I didn't add my user to network group on any laptop or pc I use to this group and there.
Last edited by 860lacov (2022-04-01 12:14:00)
Offline
polkit (optional) - allow administration as unprivileged user
type pkexecOnline
Ok, thank you.
For the Wi-Fi and shutdown problem, polkit package installation helped.
And for the double password typing I found:
Encrypting_an_entire_system#Avoiding_having_to_enter_the_passphrase_twice
Offline