diff --git a/programs/dtlogin/dm.c b/programs/dtlogin/dm.c index 256e2e06..ccbc27ad 100644 --- a/programs/dtlogin/dm.c +++ b/programs/dtlogin/dm.c @@ -1061,6 +1061,13 @@ StartDisplay( #endif } + /* + * The server reads its -auth file now (it runs as root) and enforces + * access control; this process has to present the cookie as well. + * Without it: "Authorization required, but no authorization protocol + * specified", "Server for display :0 can't be started" (2026-11-18). + */ + SetAuthorization (d); if (!WaitForServer (d)) exit (OPENFAILED_DISPLAY);