You are not logged in.
Hello,
recently after a while of gaming and work I was doing I wanted to do something with the terminal. Suddenly I didn't have the permission to do any command. Not even cd. Then I tried to restart the terminal. Shortcut didn't work. Terminal vanished from my list of programs. So I just tried to restart my system and ended with this:
https://s32.postimg.org/nhxm4qj2t/IMG_2 … 124401.jpg
It just stays there. The cursor is blinking under the last line, but I can't do anything. At least it don't know anything I can do.
I used Arch Linux for quiet a while now without any problems. I did not changed anything with the passwords, user or groups. At least not in the past two weeks.
I would be very happy if anyone could give me a hint on how to approach this problem.
- Fritz
PS.: Arch Linux is the first Linux I am using.
Mod note: Converted img to url. Please see the Community Code of Conduct regarding acceptable image sizes -- WorMzy
Last edited by Fritzendgltig (2016-06-17 13:09:31)
Offline
See if you can boot to single user mode and check the journal etc for the error from there.
If not try a CD:
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Thank you for your response! So I looked into the journal and I don't really know what I am looking for ...
I can see the all services that try to start fail due to insufficient permissions. Some lines in front of that there is something that might be interesting:
https://s32.postimg.org/51huy8xrp/IMG_2 … 142230.jpg
EDIT: Seems like something is wrong with the permissions for the /usr/bin/ directory or the files in it.
Last edited by Fritzendgltig (2016-06-15 13:37:07)
Offline
Can you explain "wrong with the permissions"? Nothing in the screenshots provided indicate such a problem.
Can you provide a paste of pacman -Qkk ?
Last edited by promarbler14 (2016-06-15 16:50:18)
Offline
So I now got the boot log:
http://pastebin.com/yGRhGJj1
the output of pacman -Qkk:
http://pastebin.com/YfH9c9t3
and whats missing in the output of pacman -Qkk:
https://s31.postimg.org/navh7li17/IMG_2 … 113243.jpg
What you can see in the picture is the output during the pacman -Qkk command, which didn't land in the log file. I get one of those errors for everything listed in the pacman -Qkk log.
Offline
You need to fix the permissions, which can be done by running this handy command:
chmod --changes --recursive go-w,a+rx /usr/bin/ >/tmp/chmod.log
This will fix most program issues, however some files may require more exact permissions. You *may* need to reinstall some of these files.
Run pacman -Qkk >/tmp/pacmanQkk.log 2>&1; and resync (pacman -S) the packages with "permission" issues.
Also: it seems you had once installed lightdm before replacing it with gdm. The command userdel 'lightdm'; will eliminate the shadow.service error.
Offline
Thank you so much! My system is working again!
Offline