diff --git a/programs/dtlogin/config/Xservers.src b/programs/dtlogin/config/Xservers.src index 432bc102..2ae5c07d 100644 --- a/programs/dtlogin/config/Xservers.src +++ b/programs/dtlogin/config/Xservers.src @@ -104,10 +104,13 @@ XCOMM * Local local@console /usr/bin/X :0 #elif defined (__OpenBSD__) :0 Local local_uid@console root /usr/X11R6/bin/X :0 #elif defined (__NetBSD__) -XCOMM The server runs as root, as it does under NetBSD's xdm: it has to read -XCOMM its -auth file (0600 root) and the console devices; as nobody it could -XCOMM do neither and the session could not open the display (2026-11-18). - :0 Local local_uid@console root /usr/X11R7/bin/X :0 +XCOMM The server runs as the pseudo-user, as CDE does on Solaris: it cannot +XCOMM read the root-only -auth file and therefore turns access control off, +XCOMM which is what lets the greeter and the session connect; the session's +XCOMM own cookie is ~/.Xauthority (dtlogin writes it). Running it as root +XCOMM made the parent's own connection fail ("no authorization protocol +XCOMM specified", 2026-11-18), so this stays as CDE has it. + :0 Local local@console /usr/X11R7/bin/X :0 #elif defined (__FreeBSD__) :0 Local local@console /usr/local/bin/X :0 #else