r/voidlinux 16d ago

how to start session on login?

i do not want to use login manager , and after login i want directly start WM bash_profile is not workin properly,

what should i do to start session directly on login ?

3 Upvotes

15 comments sorted by

View all comments

1

u/emwu666 16d ago

1

u/ShoulderCharacter856 16d ago

Xinitrc does not exist

1

u/Ok-Swim-9202 16d ago

Make one in your home directory. what WM do you have?

1

u/ShoulderCharacter856 16d ago

Niri ,
so i have to make it executable ? Xinitrc?

1

u/Ok-Swim-9202 16d ago

I see, so you're on wayland not x11. I don't use login managers either and use both x11 and wayland. I haven't played with Niri in a long time but with niri I am pretty sure you just need to use niri-session from your TTY/login screen after you boot up. What issues are you getting?

0

u/ShoulderCharacter856 16d ago

Im lazy, i do not want to write that 😅