11
I can't get rootless xorg to work
(reddthat.com)
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Shouldn't you replace "x11-user" with your username?
If you still can't get it to work, take a look here and try the startx comand on a tty first (a display-mamager is yet another layer of complexity and potential blockers). If you get permission errors, try adding your user to the
videogroup.If you want to do it manually (without some limitations of startx), take a look at sx.
No apparently you don't need to replace it, if you do it just starts it as root. I can start xfce4 with startxfce4 as user but i can't start sddm as user from console, only as root. I did try changing it to x11-(username) and just (username) it was the same as just doing x11 or not having the file, although I could also have done something wrong there.
At this point just changing the dm might be easier tbh. Although idk if that woulf actually work. I believe it starts x with the sddm user and not your actual user because, well, you're not logged in