From Alpine Linux
Revision as of 17:17, 25 March 2021 by Aa-83 (talk | contribs) (Change to adduser section, xinit fails if not part of video and input groups, only tested in VM)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


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