LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 05-27-2021, 01:20 AM   #1
imayneed
Member
 
Registered: Jul 2012
Distribution: Arch, Kubuntu
Posts: 76

Rep: Reputation: Disabled
User Login Management Failed


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.
 
Old 05-27-2021, 08:48 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,039

Rep: Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347
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 ....
 
Old 05-27-2021, 11:28 AM   #3
imayneed
Member
 
Registered: Jul 2012
Distribution: Arch, Kubuntu
Posts: 76

Original Poster
Rep: Reputation: Disabled
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 can send any info you want.

Thanks.
 
Old 05-27-2021, 11:55 AM   #4
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,152
Blog Entries: 6

Rep: Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835
Start with some basics.
Are you partially updated?
Have you rebooted after a kernel update?

xampp is not in the repo, is this it?
https://aur.archlinux.org/packages/xampp/

Does journalctl give you any answers?
How about systemctl list-unit-files
 
Old 05-27-2021, 12:05 PM   #5
imayneed
Member
 
Registered: Jul 2012
Distribution: Arch, Kubuntu
Posts: 76

Original Poster
Rep: Reputation: Disabled
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.
 
Old 05-27-2021, 12:16 PM   #6
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,152
Blog Entries: 6

Rep: Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835
Quote:
I downloaded xampp installer from its site
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.
 
Old 05-27-2021, 12:29 PM   #7
imayneed
Member
 
Registered: Jul 2012
Distribution: Arch, Kubuntu
Posts: 76

Original Poster
Rep: Reputation: Disabled
Taken from arch xampp:

Code:
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.

Last edited by imayneed; 05-27-2021 at 12:30 PM.
 
Old 05-27-2021, 12:38 PM   #8
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,039

Rep: Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347
a wild guess, probably you have a disk full somewhere (/tmp, /var, whatever)
 
1 members found this post helpful.
Old 05-27-2021, 11:07 PM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
imayneed, you aren't listening to us, and seem intent on seeing things your way ("enemies").

Please check what the xampp install actually did.
And consider what pan64 suggested twice now.

Since you are using Arch you know how to do this.

Last edited by ondoho; 05-27-2021 at 11:09 PM.
 
Old 05-28-2021, 08:57 AM   #10
imayneed
Member
 
Registered: Jul 2012
Distribution: Arch, Kubuntu
Posts: 76

Original Poster
Rep: Reputation: Disabled
I deleted /var/cache/pacman/pkg and now I am able to do system upgrades.
Still same errors.

Code:
Failed user Login Management: Request too fast at 5 seconds
Failed hostname service: Failed with resources.
ncdu / result is:

Code:
/usr   11.8gb
/home  11.5gb
/opt    4.7gb
/var  533.7mb
/boot  69.3mb
/root  13.7mb
/etc   10.1mb
/run    1.5mb

/proc /sys /dev /tmp /" /mnt /srv /.snaphosts are empty.

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.

And thanks again.
 
Old 05-28-2021, 09:23 AM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,753

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by imayneed View Post
I deleted /var/cache/pacman/pkg and now I am able to do system upgrades. Still same errors.
Code:
Failed user Login Management: Request too fast at 5 seconds
Failed hostname service: Failed with resources.
ncdu / result is:
Code:
/usr   11.8gb
/home  11.5gb
/opt    4.7gb
/var  533.7mb
/boot  69.3mb
/root  13.7mb
/etc   10.1mb
/run    1.5mb

/proc /sys /dev /tmp /" /mnt /srv /.snaphosts are empty.
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:...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/
 
1 members found this post helpful.
Old 05-28-2021, 09:38 AM   #12
imayneed
Member
 
Registered: Jul 2012
Distribution: Arch, Kubuntu
Posts: 76

Original Poster
Rep: Reputation: Disabled
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 View Post
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!!!

Last edited by imayneed; 05-28-2021 at 09:43 AM.
 
Old 05-28-2021, 10:01 AM   #13
imayneed
Member
 
Registered: Jul 2012
Distribution: Arch, Kubuntu
Posts: 76

Original Poster
Rep: Reputation: Disabled
Code:
df kPH:

devtmpfs           8.4g 0    8.4g  0% /dev
tmpfs              8.4g 0    8.4g  0% /dev/shm
tmpfs              3.4g 11m  3.4g  1% /run
/dev/mapper/Arch 210g   27g 183g  13% /
tmpfs              8.4g 0    8.4g  0% /tmp
/dev/mapper/Arch 210g   27g 183g  13% /.snapshots
/dev/mapper/arch 210g   27g 183g  13% /home
 
Old 05-28-2021, 10:02 AM   #14
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,753

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by imayneed View Post
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.

Last edited by TB0ne; 05-28-2021 at 10:04 AM.
 
  


Reply

Tags
boot failure, drm, hostname, logind



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] XRDP sending login information to login manager - failed display 0 yodamin Linux - Newbie 9 11-05-2022 02:56 PM
Sending login info to session manager, Login failed for display 0 nt100 Linux - Newbie 8 08-17-2021 10:29 AM
there were ### failed login attempts since your last successful login... frostfiretulsa Linux - Security 9 12-04-2018 11:56 AM
XFCE screen lock fails to login after failed login attempt semiabsent Linux - Desktop 1 11-01-2018 03:47 PM
online_update failed - ERROR(Media:connection failed)[Connect failed] rover SUSE / openSUSE 8 02-22-2005 07:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 04:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration