Article 4R8EP Issues running startx as non-root user

Issues running startx as non-root user

by
permaroot
from LinuxQuestions.org on (#4R8EP)
Hey all, I have a weird issue.

I use arch linux (but I figured this applies to all linux distros?) and have multiple installs.

On my desktop I installed xorg, xorg-xinit, etc as root after installation. I can log in as my non-privileged user and startx.

However, on my laptop I get errors such as xinit permission denied, or I/O permission denied (and keyboard wont work if it runs)

I then came across a post that said " You set it up as root so all the permissions were for root, which is a horrendous idea for X"

Link to Post

My questions are:

Why would it work with an identical install on my desktop but not my laptop?

How can you install packages as a non-root user when using sudo is basically doing the same thing?

How do you personally install xorg? As root?

Any help appreciated.latest?d=yIl2AUoC8zA latest?i=JhpEXL4N6Cc:h5lAvfeiD5k:F7zBnMy latest?i=JhpEXL4N6Cc:h5lAvfeiD5k:V_sGLiP latest?d=qj6IDK7rITs latest?i=JhpEXL4N6Cc:h5lAvfeiD5k:gIN9vFwJhpEXL4N6Cc
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments