You are not logged in.
I would greatly appreciate some help with this an issue on a new install of Arch.
I have installed from the DVD, and I have installed from my existing installation on my laptop. I have also installed on two different hard drives, but continue to have the same problem.
When the system boots up everything looks find until its almost done booting, then it says failed to start systemd-logind
The system does finally boot, but I cannot log in with any user other than root. X works, xfce and cinnamon works. Everything is fine with the system other than this.
relevant journalctl -b output:
Aug 21 17:17:01 preciseserver systemd-logind[253]: Failed to enable subscription: The name org.freedesktop.systemd1 was not provided by any .service files
Aug 21 17:17:01 preciseserver systemd-logind[253]: Failed to fully start up daemon: No route to host
Aug 21 17:17:01 preciseserver systemd[1]: systemd-logind.service: main process exited, code=exited, status=1/FAILURE
Aug 21 17:17:01 preciseserver systemd[1]: Failed to start Login Service.
Aug 21 17:17:01 preciseserver systemd[1]: Unit systemd-logind.service entered failed state.
Aug 21 17:17:01 preciseserver systemd[1]: systemd-logind.service has no holdoff time, scheduling restart.
Aug 21 17:17:01 preciseserver systemd[1]: Stopping Login Service...
Aug 21 17:17:01 preciseserver systemd[1]: Starting Login Service...
Entire journalctl -b output
I have tried restarting the service, updating with pacman, and a number of other things but unfortunately have not been able to figure this out on my own. I have installed arch many times, did a fresh server install less than two weeks ago and I didn't have any of these issues. If anybody can help me out with this issue I would greatly appreciate it.
Last edited by jodanlime (2014-08-25 20:22:38)
Offline
What does systemtl status show for that service?
Not an Installation issue, moving to NC...
Offline
systemctl status systemd-logind.service gives me:
● systemd-logind.service - Login Service
Loaded: loaded (/usr/lib/systemd/system/systemd-logind.service; static)
Active: active (running) since Fri 2014-08-22 11:40:33 EDT; 6min ago
Docs: man:systemd-logind.service(8)
man:logind.conf(5)
http://www.freedesktop.org/wiki/Software/systemd/logind
http://www.freedesktop.org/wiki/Software/systemd/multiseat
Main PID: 275 (systemd-logind)
Status: "Processing requests..."
CGroup: /system.slice/systemd-logind.service
└─275 /usr/lib/systemd/systemd-logind
Aug 22 11:40:33 preciseserver systemd[1]: Failed to start Login Service.
Aug 22 11:40:33 preciseserver systemd[1]: Unit systemd-logind.service entered failed state.
Aug 22 11:40:33 preciseserver systemd[1]: systemd-logind.service has no holdoff time, scheduling restart.
Aug 22 11:40:33 preciseserver systemd[1]: Stopping Login Service...
Aug 22 11:40:33 preciseserver systemd[1]: Starting Login Service...
Aug 22 11:40:33 preciseserver systemd[1]: Started Login Service.
Aug 22 11:40:33 preciseserver systemd-logind[275]: New seat seat0.
Aug 22 11:40:33 preciseserver systemd-logind[275]: Watching system buttons on /dev/input/event1 (Power Button)
Aug 22 11:40:33 preciseserver systemd-logind[275]: Watching system buttons on /dev/input/event0 (Power Button)
Aug 22 11:42:05 preciseserver systemd-logind[275]: New session c1 of user root.
which claims that it does eventually start the service but does not explain why I cannot login as anything other than root. Thanks for the help
Offline
How are you logging in? You have successfully set up a user account, presumably:
https://wiki.archlinux.org/index.php/Us … ing_a_user
Offline
I am trying to log in on the terminal, and I set up the user account exactly as shown in the wiki. My user is listed under /etc/passwd but if I use loginctl list-users it only lists the root user account. This is a very vanilla install, and I made sure to follow the wiki as closely as possible as this is the 4th time I have tried to get this box up and running.
to create my account I typed in :
useradd -m -G wheel -s /bin/bash cloudsmasher
which, returned no errors. Then I ran:
passwd cloudsmasher
which ran succesfully.
Offline
Try adding another user account, just to ensure that it does work.
Offline
Added the new user, following along with the wiki page you linked to me, and received the same results. I created the new user account by using the root accounte, then logged out and tried to log into the newly created account but it still doesn't work.
Maybe I'm not being completely clear. It's not that I can not log in with the user account, or that it tells me that I have the wrong password or anything like that. I log in with the normal user accounts and get brought right back to the log in prompt. When this happens I can see some text flash right before getting brought back to the login prompt.
Offline
Oh, that is different. What is supposed to happen when you login? A DM starts, or you just access the TTY?
Offline
I just access the TTY and then run startx if I so choose, nothing automatic set up.
Offline
This might also be interesting. I can SSH into the root account no problem, but I cannot SSH into a normal account. This is what I get when I try:
Could not chdir to home directory /home/jhudson: Permission denied
/bin/bash: Permission denied
Last edited by jodanlime (2014-08-22 23:26:03)
Offline
What are the permissions on /home/jhudson and on /home/cloudsmasher?
Offline
# ls -l /home
total 8
drwx------ 2 cloudsmasher cloudsmasher 4096 Aug 22 12:09 cloudsmasher
drwx------ 2 jhudson jhudson 4096 Aug 22 14:27 jhudson
Offline
Are cloudsmasher and jhudson valid groups? They should be in users.
What is the output of groups for each user?
Offline
# groups jhudson
wheel jhudson
# groups cloudsmasher
wheel cloudsmasher
Offline
Are cloudsmasher and jhudson valid groups? They should be in users.
Unless the user is created with a -M, the user is created with the same groupname , ie- it's pat:pat on my system
Offline
I didn't think that having a user in the group 'users' was required for logind to work, according to the wiki page on users it is not a reccomended setup for a multi user system, creating a group for each user is what it says. I have another arch box that I checked and the normal user accounts on that machine are not in the users group. Just in case something changed, I put the user jhudson in the users group, but this did not change my problem even after restarting the service and the machine. Really scratching my head on this one guys. Thanks for the help so far.
Offline
What's the output of 'ls -l /' and 'ls -l /bin/bash' ?
What happens when you switch to that user by 'su username', do commands work ?
'man loginctl':
list-users
List currently logged in users.
I agree that the --help text is misleading/unclear.
@Buddlespit: You mean '-N' .
Personal website: reboot.li
GitHub: github.com/rebootl
Offline
# ls -l /
total 52
lrwxrwxrwx 1 root root 7 Jul 4 08:44 bin -> usr/bin
drwx------ 4 root root 4096 Aug 22 13:37 boot
drwxr-xr-x 18 root root 2920 Aug 23 05:41 dev
drwxr-xr-x 54 root root 4096 Aug 23 13:40 etc
drwxr-xr-x 4 root root 4096 Aug 22 14:27 home
lrwxrwxrwx 1 root root 7 Jul 4 08:44 lib -> usr/lib
lrwxrwxrwx 1 root root 7 Jul 4 08:44 lib64 -> usr/lib
drwx------ 2 root root 16384 Aug 21 12:39 lost+found
drwxr-xr-x 2 root root 4096 Jul 4 08:44 mnt
drwxr-xr-x 2 root root 4096 Jul 4 08:44 opt
dr-xr-xr-x 124 root root 0 Aug 23 05:41 proc
drwxr-x--- 12 root root 4096 Aug 23 13:38 root
drwxr-xr-x 16 root root 400 Aug 23 05:41 run
lrwxrwxrwx 1 root root 7 Jul 4 08:44 sbin -> usr/bin
drwxr-xr-x 4 root root 4096 Jul 4 08:44 srv
dr-xr-xr-x 13 root root 0 Aug 24 06:48 sys
drwxrwxrwt 7 root root 140 Aug 23 13:40 tmp
drwxr-xr-x 8 root root 4096 Aug 21 12:44 usr
drwxr-xr-x 12 root root 4096 Aug 21 09:48 var
ls -l /bin/bash
-rwxr-xr-x 1 root root 783504 Aug 18 15:34 /bin/bash
su cloudsmasher
su: failed to execute /bin/bash: Permission denied
So does this mean that the problem lies with the permissions of the bin folder? I'm pretty rubbish at figuring permissions out, but I'll be looking into that.
I see what you mean about the loginctl help page, but I was probably just typing in all the things at that point too. Thanks for pointing that out!
Offline
So does this mean that the problem lies with the permissions of the bin folder?
No, it was just an idea because of the error you got, but the above permissions look okay to me. Surely you can further check those.
Currently it doesn't make any sense to me...
Personal website: reboot.li
GitHub: github.com/rebootl
Offline
Yeah, I've been checking into them all morning, and the permissions look okay to me as well. Thanks for the ideas.
If it makes a difference (not sure) for su I can only log into this box via SSH at the moment, I can surely try that again tomorrow when I can sit in front of the machine if it would make a difference.
Kinda glad I'm not the only one this doesn't make sense to.
Offline
Sitting at the box now: su cloudsmasher gives me the same permission error I recieved over SSH. I re-installed bash but that didn't make a difference (not that I thought it would), I then installed zsh, and created a user with the default shell as zsh. Still will not let me log in with that user, giving the same permissions error that I got with bash. I have checked the permissions on /bin and /usr/bin and they all seem to be in order.
I'm kinda at a loss as to what to do from here, I've triple checked everything I can think of.
Offline
So I downloaded a brand new ISO, bruned it to a new disc and reinstalled. I'm still getting the exact same problem. Could this be a problem with my hardware? It doesn't seem like a hardware problem at all, but I just dont know what to do from here. Any help would be appreciated.
Offline
What is the exact comand you are using to create a user account? I'll try and replicate.
Offline
useradd -m -G wheel -s /bin/bash cloudsmasher
passwd cloudsmasher
I did notice something though, the logind service fails to start even before I create a new user, so I dont really think that it has to do with the user creation process, but any help if appreciated.
Offline
That works fine for me. There is nothing unusual about your setup is there? /home isn't on an external drive or you aren't using any funky sort of filesystem?
Offline