Talk:Dwm: Difference between revisions

From Alpine Linux
(Change to adduser section, xinit fails if not part of video and input groups, only tested in VM)
 
(No difference)

Latest revision as of 17:17, 25 March 2021

Hey,

So I tried to use this guide to set up DWM and ran into a few xinit related problems. When I tried to run startx, xinit would abort due to plentiful lacking permissions, I fixed it by usermod-ing my user into the video and input groups.

I want to add that I am running Alpine in a VM and this could be a specific problem relating to that, but if not I would suggest changing

# adduser myname

to this:

# useradd -m -G wheel,video,input myname

I did not get it to work by just using the adduser command due to unfamiliarity, if anyone wants to change my command to correctly using adduser I will not cry. But the important thing seems to be that the user is part of the video and input groups for DWM to launch properly.

--aa-83 March 2021