#[Solved] Lightdm doesn't load DWN config

42 messages · Page 1 of 1 (latest)

strange forge
#

I wish to use a lightdm with my dwm setup, i also have a i3 currently installed.
I managed to create a dwm.desktop, but it doesn't seem to use .xinitrc file, is there a way to fix this?

#

DWM lightdm doesn't load .xinitrc

strange forge
#

Lightdm doesn't load DWN config

coarse cove
#

Alternatively you can just add the extra stuff in your xinitrc into .xprofile instead, those run whenever the x server starts independent of how it starts

#

Looks like you can just install xinit-session from the aur

#

All it does is just exec ~/.xinitrc though which is probably better than my startx idea

#

Does mean it has to be marked as executable and you probably need to add a #!/bin/bash shebang

strange forge
#

Woah, i'll give the xinit-session a shot

strange forge
#

Well, it didn't go exactly as planned. It started like usual, but not with .xinitrc

coarse cove
#

Make sure you selected the xinit session in lightdm's session drop-down thing

#

Probably should delete dwm.desktop to avoid confusion

strange forge
#

How should i configure xinit.desktop?

coarse cove
#

but its probably in like /usr/share/Xsessions

strange forge
#

alright, the xinit-session blinks a black and then returns to lightdm login screen

coarse cove
#

you can also look at the /var/log/lightdm/ directory to look for error messages

coarse cove
strange forge
#

It worked!

#

IT WORKED!

#

😩

coarse cove
#

nice nice

strange forge
#

Perhaps, now i can change the name of it?

#

to make it look as dwm

#

Thank you for your help though

#

much appreciated!

#

[Solved] Lightdm doesn't load DWN config

strange forge
coarse cove
coarse cove
strange forge
#

I've mainly been on i3 and that's why i wanted to have a lightdm with dwm. I changed the "name" of the xinitrc to dwm.

#

But if i ever install something else, i have to let go one of them 😅

coarse cove
#

theres no reason to reinstall just to switch your wm

strange forge
#

fair enough

#

Right, now i'm just trying to get this xinitrc.desktop as a default on lightdm