ArchThis Forum is for the discussion of Arch Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am getting User Login Management failed error.
In rescue shell, root does not have permissions to install any packages or upgrade even though it can see which packages need to be updated.
I did delete pacman cache, but still cannot update or login.
When I try to start sddm from rescue, same thing happens: black screen with cursor.
When I don't use rescue, it is the same: black screen with cursor.
ALso, after a few lines of userlogin management failed, there is krm module failed and hostname failed.
Another thing is that, when I left the computer open for hours at the black screen with cursor stage, and rebooted again, I could see that timeshift was still making hourly backups. So, the system was on even though I could not login.
I also tried chrooting from live usb, same result.
I still do not understand why root or the user cannot upgrade or have permissions to upgrade in rescue shell.
Which service deals with user login management and how can I find the cause of this issue?
Thanks.
this is not about user management. Probably the disk is read only. But without details hard to say more. We need exact info: what did you make, what's happened ....
I remember installing programs such as xampp, and enabling its service, anaconda, etc.
I made a timeshift restore. I checked the fstab, it was correct, compared with another arch on another computer.
I thought the disk could be read only but I was able to create and delete /etc/sddm.conf.d/autologin.conf file to the disk.
Another info that might be unrelated, I am connected to internet on an unsecured network.
logind and hostnamed service errors are:
Code:
Operation not permitted
Failed with result resources
At some point before in hostnamed, there was this line that I do not know the meaning of:
Code:
D-Bus name org.freedesktop.hostname1 now not owned by anyone.
Boot errors are:
Code:
User Login Management failed
User Login Management failed
User Login Management failed
User Login Management failed
Kernel Module drm failed
Hostname Service failed
logind also errors as restart requests too fast. It is at 5 seconds.
I believe I was completely updated, but as I said, I did a timeshift restore. (And then unrestored it, so the disk is the same as before restored now.)
I downloaded xampp installer from its site, and installed through mentioned as in arch wiki, and enabled its service.
After the boot errors, I tried to update again, but as I mentioned in the first post, I was unsuccessful with permission denied error.
journalctl tells me that systemd.logind service requests too fast to restart the service, and both for logind and hostnamed, it mentions that it failed to start, failed with result 'resources'.
I checked both logind and hostnamed from list-unit-files also.
I can login with root or user password, but still cannot write to pacman to be able to update.
I also tried to start sddm from rescue shell, logged in as root and user, but the result was the same: black screen with cursor.
One thing I know is that, the computer boots and the system is running as I could see that timeshift was still making hourly backups.
All I cannot do is login or update from shell.
ctrl+alt+f3 or another number also does not bring any tty, only a blinking underscore.
I can only add rescue or emergency in grub parameters to get to the shell or chroot from live usb.
You installed this outside of pacman? What libraries did it replace, and how did that mess up your system?
I would recommend that you chroot in using the arch install media (usb or optical) and bring your machine up tp date with pacman -Syu, so that everything matches. https://wiki.archlinux.org/title/chroot
Also as Pan64 said, how do you have / mounted?
One more thing, do you have a separate /boot partition? It needs to be mounted to do any kernel changes. Different kernel and modules won't work.
Manual Installation
Download the installer from the website.
The downloaded file is an installer script. Make it executable and run it by typing:
# chmod +x xampp-linux-version-installer.run
# ./xampp-linux-version-installer.run
Code:
Autostart on boot
In order to start Xampp at boot, create a systemd service for it (/etc/systemd/system/xampp.service):
[Unit]
Description=XAMPP
[Service]
ExecStart=/opt/lampp/lampp start
ExecStop=/opt/lampp/lampp stop
Type=forking
[Install]
WantedBy=multi-user.target
Enable xampp.service.
I am not able to pacman -Syu as it gives permission denied error.
This is luks encrypted btrfs install, boot is in /, not a separate partition.
/ is mounted as subvolume @. home and .snapshots are also mounted.
(System is running somehow, timeshift service is on and making hourly backups while I have black screen with cursor - once I left the computer open at night at that stage and it made the hourly backups.)
I don't think the problem is xampp, unless its service helped one of my enemies disable my login and hostname service somehow.
(It has happened before.)
I can disable the service anyhow.
I wish I could do pacman -Syu.
As I said, it does not even open a tty.
I have only access to rescue or emergency shell or chroot from live usb.
I said enemies because I have enemies who use actual TELESCOPES and check my trash.
You are communicating with somebody, who is being followed by dozens of people in changing shifts.
Let me tell you it just doesn't happen in movies.
So what does that show us, besides how much disk you've used? Doesn't show how much you have AVAILABLE, does it? How about "df -kPH"???
Quote:
Now, what can I do?
I said enemies because I have enemies who use actual TELESCOPES and check my trash. You are communicating with somebody, who is being followed by dozens of people in changing shifts. Let me tell you it just doesn't happen in movies.
Wow, this sounds familiar. Odd that someone who is such a 'target', with people watching your every move:
Posts on a public forum
Tells them exactly what operating system they're using
...isn't it? And in another of your threads, you say you're using your ISP's own modem to connect over wifi. Wouldn't your 'enemies' use that as well?? May want to check any of the MANY 'I have hackers and enemies after me' threads on this site now: https://www.linuxquestions.org/quest...ds-4175682109/
I said these people are checking my trash and follwoing me. These are physical signs.
I asked for the second OS to be unlocked with a keyfile, after I unencrypt grub for the first OS.
And they already have access to the router, and so do I.
And I am running 4 computers, with over a dozen OSs.
There are hundreds of computers connected to the router.
There is a difference about thinking being hacked, and being followed PHYSICALLY, and specifically your trash being taken from the trash box by ACTUAL PEOPLE.
Quote:
Originally Posted by imayneed
I said enemies because I have enemies who use actual TELESCOPES and check my trash.
You are communicating with somebody, who is being followed by dozens of people in changing shifts.
Let me tell you it just doesn't happen in movies.
There is nothing about hacking in that quote, all the writing is about physical signs by actual humans.
If you think that people are followed when their going to the supermarket only in movies, you are wrong.
And since, they already know who I am and where I am, there is no need to fear.
They are right outside my door, PHYSICALLY!!!
I said these people are checking my trash and follwoing me. These are physical signs. I asked for the second OS to be unlocked with a keyfile, after I unencrypt grub for the first OS. And they already have access to the router, and so do I. And I am running 4 computers, with over a dozen OSs. There are hundreds of computers connected to the router. There is a difference about thinking being hacked, and being followed PHYSICALLY, and specifically your trash being taken from the trash box by ACTUAL PEOPLE.
There is nothing about hacking in that quote, all the writing is about physical signs by actual humans. If you think that people are followed when their going to the supermarket only in movies, you are wrong. And since, they already know who I am and where I am, there is no need to fear. They are right outside my door, PHYSICALLY!!!
The kind of help you need won't be found on a technical forum.
As with those other 'enemies' threads, if you have this 'evidence' then call the police. Since they're physically outside your door, go point them out. And if there is no need to fear, why are these people your 'enemies'? Not much making sense here.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.