<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi Xavier,<br>
    <br>
    lightdm does not support root-less X:<br>
    <span style="color: rgb(32, 33, 34); font-family: sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"><span> </span>Note
      that some popular<span> </span></span><a href="https://wiki.archlinux.org/title/Display_manager" title="Display manager" style="text-decoration: none; color: rgb(0, 119, 187) !important; background: none rgb(255, 255, 255); font-weight: bold; font-family: sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;">display
      managers</a><span style="color: rgb(32, 33, 34); font-family: sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"><span> </span>do
      not support rootless Xorg (e.g.<span> </span></span><a rel="nofollow" class="external text" href="https://github.com/canonical/lightdm/issues/18" style="text-decoration: none; color: rgb(0, 119, 187) !important; background: url("/resources/src/mediawiki.skinning/images/external-ltr.svg?59558") right center no-repeat rgb(255, 255, 255); padding-right: 13px; font-weight: bold; font-family: sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;">LightDM</a><span style="color: rgb(32, 33, 34); font-family: sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"><span> </span>or<span> </span></span><a href="https://wiki.archlinux.org/title/XDM" title="XDM" style="text-decoration: none; color: rgb(0, 119, 187) !important; background: none rgb(255, 255, 255); font-weight: bold; font-family: sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;">XDM</a><span style="color: rgb(32, 33, 34); font-family: sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">).</span><br>
    <br>
    I use greetd for this, and there should be more alternatives.<br>
    <br>
    artist<br>
    <br>
    <pre class="moz-signature" cols="72">On a bended knee, or systemd, you will never live free</pre>
    <div class="moz-cite-prefix">On 5/24/23 19:45, Xavier B. wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:20230524194531.d79023b2450e675e913e8966@posteo.net">
      <pre class="moz-quote-pre" wrap="">Hi,

I want to run Xorg without root. I want to follow this guide [1] but obviously it's systemd centric.
How can I achieve this?

I confirm Xorg runs as root:

$ ps -o user= -C Xorg
root


I have lightdm installed

$ ps aux | grep lightdm
root      2499  0.0  0.0 378868  8372 ?        SLsl 19:16   0:00 /usr/bin/lightdm
root      2513  3.7  0.6 646632 99836 tty7     Ssl+ 19:16   1:04 /usr/lib/Xorg :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
root      2903  0.0  0.0 234224  8008 ?        Sl   19:16   0:00 lightdm --session-child 14 21
xan       5774  0.0  0.0   9112  2304 pts/0    S+   19:44   0:00 grep --colour=auto lightdm


Can you please provide an specific steps I have to make to achieve that.

Thanks in advance,
Xavier

[1] <a class="moz-txt-link-freetext" href="https://wiki.archlinux.org/title/Xorg#Rootless_Xorg">https://wiki.archlinux.org/title/Xorg#Rootless_Xorg</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>