You are not logged in.

#26 2024-04-30 15:32:48

seth
Member
Registered: 2012-09-03
Posts: 51,849

Re: [SOLVED] Machine Stuck at Black Background and Mouse Pointer

~/.zprofile?
Can you as root "su varolbora"?

When you log in as root from the multi-user.target, is there a running dbus process or can you start it and if not, does the strace still cause the ENOENT despite the socket beign present?

Online

#27 2024-04-30 15:50:01

varolbora5
Member
Registered: 2022-07-17
Posts: 74

Re: [SOLVED] Machine Stuck at Black Background and Mouse Pointer

There is no .zprofile
I can not su to my user, I get the same Permission denied error
dbus fails twice before I get my tty and also fails when I try to start it
This is the strace I get now
http://0x0.st/XXiu.txt

Also I can not start neither NetworkManager or iwd

Last edited by varolbora5 (2024-04-30 15:50:29)

Offline

#28 2024-04-30 15:56:29

seth
Member
Registered: 2012-09-03
Posts: 51,849

Re: [SOLVED] Machine Stuck at Black Background and Mouse Pointer

The access is after sending a message to the journal what makes more sense.
Before that it looks up the user database… it's whacko, but add a pulse user to the system.

Also please post the output of

find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f

Online

#29 2024-04-30 20:07:41

varolbora5
Member
Registered: 2022-07-17
Posts: 74

Re: [SOLVED] Machine Stuck at Black Background and Mouse Pointer

I have added a pulse user

and here is the output
https://0x0.st/XXo1.txt
I also still get permission denied trying to login to my user from multi-user and dbus still fails

Last edited by varolbora5 (2024-04-30 20:12:35)

Offline

#30 2024-04-30 21:01:58

seth
Member
Registered: 2012-09-03
Posts: 51,849

Re: [SOLVED] Machine Stuck at Black Background and Mouse Pointer

I also still get permission denied trying to login

What's the exact error message?
Please post a complete system journal after attempting to login as your regular user.
Is zsh still in /etc/shells?

grep zsh /etc/shells

Does it help to chsh to /usr/bin/bash for your regular user

chsh -s  /usr/bin/bash varolbora5 # replace your nick w/ your actual username on the system

Online

#31 2024-04-30 22:44:10

varolbora5
Member
Registered: 2022-07-17
Posts: 74

Re: [SOLVED] Machine Stuck at Black Background and Mouse Pointer

-- <user>: /home/<user>: change directory failed: Permission denied

is the full error
Yes there still is zsh in the shells file
And after chsh to bash for my user and trying to su to it from the root user I get an error saying

su: failed to execute /usr/bin/bash: Permission denied

Offline

#32 2024-04-30 22:54:45

seth
Member
Registered: 2012-09-03
Posts: 51,849

Re: [SOLVED] Machine Stuck at Black Background and Mouse Pointer

At least we found an oddity

stat /home/<user>
stat /usr/bin/bash
id <user>

Online

#33 2024-04-30 22:56:24

varolbora5
Member
Registered: 2022-07-17
Posts: 74

Re: [SOLVED] Machine Stuck at Black Background and Mouse Pointer

also here is the journal from trying to login with my user
http://0x0.st/XXXQ.txt
I'll reply in a bit with the stat commands

Offline

#34 2024-04-30 22:59:57

varolbora5
Member
Registered: 2022-07-17
Posts: 74

Re: [SOLVED] Machine Stuck at Black Background and Mouse Pointer

Offline

#35 2024-04-30 23:17:55

seth
Member
Registered: 2012-09-03
Posts: 51,849

Re: [SOLVED] Machine Stuck at Black Background and Mouse Pointer

Your $HOME is 777, but should be 700 - that doesn't explain permission errors, though - rather the opposite.

There's also

May 01 00:47:47 ihateeduroam login[825]: pam_motd(login:session): error scanning directory /etc/motd.d: Permission denied
May 01 00:47:47 ihateeduroam login[825]: pam_motd(login:session): error scanning directory /run/motd.d: Permission denied
May 01 00:47:47 ihateeduroam login[825]: pam_motd(login:session): error scanning directory /usr/lib/motd.d: Permission denied
May 01 00:47:47 ihateeduroam login[825]: pam_systemd(login:session): Failed to create session: The name org.freedesktop.login1 was not provided by any .service files

And

May 01 00:44:36 ihateeduroam systemd-fstab-generator[280]: Failed to create unit file '/run/systemd/generator/-.mount', as it already exists. Duplicate entry in '/etc/fstab'?
May 01 00:44:36 ihateeduroam systemd-fstab-generator[280]: Failed to create unit file '/run/systemd/generator/home.mount', as it already exists. Duplicate entry in '/etc/fstab'?

Please post your /etc/fstab …

Online

#36 2024-05-01 09:34:57

varolbora5
Member
Registered: 2022-07-17
Posts: 74

Re: [SOLVED] Machine Stuck at Black Background and Mouse Pointer

http://0x0.st/XXZ8.txt
Seems the entries duplicated for some reason

Offline

#37 2024-05-01 12:49:50

seth
Member
Registered: 2012-09-03
Posts: 51,849

Re: [SOLVED] Machine Stuck at Black Background and Mouse Pointer

Well… did you try to remove the duplicates?

Online

#38 2024-05-01 14:57:21

varolbora5
Member
Registered: 2022-07-17
Posts: 74

Re: [SOLVED] Machine Stuck at Black Background and Mouse Pointer

I generated a new fstab and booted but nothing much changed
Here is the journal of the boot, I also tried to su to my user but the same error persisted
http://0x0.st/XXqG.txt

Offline

#39 2024-05-01 15:37:30

seth
Member
Registered: 2012-09-03
Posts: 51,849

Re: [SOLVED] Machine Stuck at Black Background and Mouse Pointer

May 01 16:51:36 ihateeduroam su[1044]: (to slave) root on tty1
May 01 16:51:36 ihateeduroam su[1044]: pam_unix(su:session): session opened for user slave(uid=1000) by root(uid=0)
May 01 16:51:36 ihateeduroam su[1044]: pam_unix(su:session): session closed for user slave

The session opens and immediately closes without any error - this has to be some session script, can you create and log into a fresh user account?

Online

#40 2024-05-01 16:01:40

varolbora5
Member
Registered: 2022-07-17
Posts: 74

Re: [SOLVED] Machine Stuck at Black Background and Mouse Pointer

I had created the pulse user as you suggested and trying to login to that I get the same exact error

varolbora5 wrote:
-- <user>: /home/<user>: change directory failed: Permission denied

is the full error

varolbora5 wrote:
su: failed to execute /usr/bin/bash: Permission denied

Offline

#41 2024-05-01 16:26:46

seth
Member
Registered: 2012-09-03
Posts: 51,849

Re: [SOLVED] Machine Stuck at Black Background and Mouse Pointer

su pulse -c "bash -lx" 2>&1 | tee /tmp/bash_fail.txt
cat /tmp/bash_fail.txt | curl -F 'file=@-' 0x0.st

Online

#42 2024-05-01 16:33:56

varolbora5
Member
Registered: 2022-07-17
Posts: 74

Re: [SOLVED] Machine Stuck at Black Background and Mouse Pointer

Offline

#43 2024-05-01 16:36:50

seth
Member
Registered: 2012-09-03
Posts: 51,849

Re: [SOLVED] Machine Stuck at Black Background and Mouse Pointer

su: failed to execute /usr/bin/bash: Permission denied
stat /usr/bin/bash

Online

#44 2024-05-01 16:43:21

varolbora5
Member
Registered: 2022-07-17
Posts: 74

Re: [SOLVED] Machine Stuck at Black Background and Mouse Pointer

Offline

#45 2024-05-01 17:07:00

seth
Member
Registered: 2012-09-03
Posts: 51,849

Re: [SOLVED] Machine Stuck at Black Background and Mouse Pointer

stat /
stat /usr
stat /usr/bin

Online

#46 2024-05-01 20:14:10

varolbora5
Member
Registered: 2022-07-17
Posts: 74

Re: [SOLVED] Machine Stuck at Black Background and Mouse Pointer

Offline

#47 2024-05-01 20:17:24

seth
Member
Registered: 2012-09-03
Posts: 51,849

Re: [SOLVED] Machine Stuck at Black Background and Mouse Pointer

  File: /
  Size: 4096      	Blocks: 8          IO Block: 4096   directory
Device: 259,7	Inode: 2           Links: 17
Access: (0750/drwxr-x---)  Uid: (    0/    root)   Gid: (    0/    root)

You didn't change the permissions of /root but of "/"

chmod 755 /

Online

#48 2024-05-01 20:31:04

varolbora5
Member
Registered: 2022-07-17
Posts: 74

Re: [SOLVED] Machine Stuck at Black Background and Mouse Pointer

IT WORKED
Thank you so much
One thing, its not a problem but maybe you know better about it, I use NetworkManager and nmtui to connect to wifi and now it puts a "1" next to the networks that I connect to and asking for wifi passwords even though the wifi profiles already exist

Offline

#49 2024-05-01 20:49:54

seth
Member
Registered: 2012-09-03
Posts: 51,849

Re: [SOLVED] Machine Stuck at Black Background and Mouse Pointer

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

NM will depends on how the wifi password is supposed to be stored and whether that's working or not.
https://wiki.archlinux.org/title/Networ … _passwords
If you end up needing more help with that, please open a new thread - this one's long enough already wink

Online

#50 2024-05-01 21:02:34

varolbora5
Member
Registered: 2022-07-17
Posts: 74

Re: [SOLVED] Machine Stuck at Black Background and Mouse Pointer

Yeah you're right, thanks again

Offline

Board footer

Powered by FluxBB