hotfiles icon indicating copy to clipboard operation
hotfiles copied to clipboard

even weirder issue

Open hcesaropz opened this issue 2 years ago • 11 comments

copypasted from #4 because i’m pretty sure no one reads it anymore

so… i just reinstalled arch (its plain arch this time) and it works! well, sort of.

when i start slim (yeah i start slim with systemctl lol), it looks pretty good, but when i try to log in, it just returns “Failed to execute login command”

hcesaropz avatar Jun 13 '22 14:06 hcesaropz

Ok a fix for this would be, you need to edit /etc/slim.conf file and uncomment the session_dir line

Then replace your .xinitrc with this one:

#!/bin/sh
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi
exec $1

Make sure you only have worm installed as your de/wm, before doing this remove any desktop environment or window manager other than worm or slim will act weird

Syndrizzle avatar Jun 15 '22 06:06 Syndrizzle

now, after "successfully" logging in, worm instantly crashes and restarts.

dug up something from journald, looks like its due to an "unknown user"

hcesaropz avatar Jun 15 '22 12:06 hcesaropz

Ok how about

#!/bin/sh
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

exec worm 

sorry i was busy with life so i couldn't reply on time :/

Syndrizzle avatar Jun 18 '22 08:06 Syndrizzle

sorry for the late reply

so...

  • uncommented session_dir in /etc/slim.conf
  • replaced exec $1 with exec worm in ~/.xinitrc

now, instead of crashing, slim just freezes (the login prompt disappears, but the wallpaper behind it stays the same).

pam says something about a "daemon control file", if that helps

hcesaropz avatar Jun 28 '22 05:06 hcesaropz

are you using PAM?

Syndrizzle avatar Jun 28 '22 10:06 Syndrizzle

are you using PAM?

the pam package is a dependency of the base meta-package (which you should install, if you havent already!) so yeah i use pam

$ pacman -Q pam
pam 1.5.2-1

hcesaropz avatar Jul 03 '22 09:07 hcesaropz

I don't use pan, so I don't have any idea about the issue you are having, and also I think you should try to do it without PAM to see if it works

Syndrizzle avatar Jul 03 '22 10:07 Syndrizzle

i can't just remove pam...

pam's part of base, so if i try to remove pam, i'd probably end up breaking my entire system

hcesaropz avatar Jul 05 '22 09:07 hcesaropz

Can you try to use any other dm rather than slim? see if it works

Syndrizzle avatar Jul 05 '22 11:07 Syndrizzle

tried out lightdm, didnt work

hcesaropz avatar Jul 06 '22 05:07 hcesaropz

I cant seem to reproduce your issue :/

Syndrizzle avatar Jul 21 '22 05:07 Syndrizzle