Skip to content

startx as non-root with OpenRC

Hopefully this is the right place to ask.
I've switched to OpenRC (by migrating to Artix), and now I'm only able to successfully run startx as root. I played a little with user groups and managed to get it to print something about insufficient permissions to xf86-something, but I've fiddled around with some other settings and now it doesn't say that anymore. What can I do?

0 points10 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 100% up
Kind
Text
ID
8302pd

Author

10
posts
25
comments
3
media
View profile

10 comments

That's a mistake on your part and it's already telling you a warning about permissions, so did you check them all? Always check permissions, always! This is a very common mistake of newbies to create xinitrc as root and forget to change it to their username :) Also add yourself to the video group. If still broken, check out /etc/X11/xorg.conf.d/ for 20-intel.conf or sth and delete it. You won't get support for OpenRC here, most users here use everything default and keep the cancer systemd, which even if you switch to, you'll get the same error =)

1 points

Thanks! I'll try this when I get home.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.