Login Behavior in Ubuntu

Alright, solved the issue by executing these two commands:
sudo systemctl stop systemd-logind.service; sudo systemctl mask systemd-logind.service

After which, open another terminal tab and execute incus exec $INSTANCE_NAME -- sudo -i -u $INSTANCE_USER, this login will not be shown on w command.

1 Like