From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CCjDNHwVWGCcaQAA0tVLHw (envelope-from ) for ; Mon, 22 Mar 2021 03:56:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id oO+FMHwVWGAsFAAAB5/wlQ (envelope-from ) for ; Mon, 22 Mar 2021 03:56:44 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 032A810614 for ; Mon, 22 Mar 2021 04:56:44 +0100 (CET) Received: from localhost ([::1]:37062 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOBgH-0004JY-V4 for larch@yhetil.org; Sun, 21 Mar 2021 23:56:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44468) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOBg4-0004IL-K1 for help-guix@gnu.org; Sun, 21 Mar 2021 23:56:28 -0400 Received: from forward102p.mail.yandex.net ([77.88.28.102]:57788) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOBfz-0004fr-GH for help-guix@gnu.org; Sun, 21 Mar 2021 23:56:28 -0400 Received: from iva4-9c2d34c47e67.qloud-c.yandex.net (iva4-9c2d34c47e67.qloud-c.yandex.net [IPv6:2a02:6b8:c0c:804:0:640:9c2d:34c4]) by forward102p.mail.yandex.net (Yandex) with ESMTP id 66F231D426CC; Mon, 22 Mar 2021 06:56:17 +0300 (MSK) Received: from iva6-2d18925256a6.qloud-c.yandex.net (iva6-2d18925256a6.qloud-c.yandex.net [2a02:6b8:c0c:7594:0:640:2d18:9252]) by iva4-9c2d34c47e67.qloud-c.yandex.net (mxback/Yandex) with ESMTP id R55JTTYmu7-uHtiiwsI; Mon, 22 Mar 2021 06:56:17 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oneofus.la; s=mail; t=1616385377; bh=FJDkEsfau1iRAwknS1MXJzpcrsZfr7pG9I7HkLsqH4A=; h=In-reply-to:Subject:Cc:From:To:Date:References:Message-ID; b=gvlhVGiiMB4Sl3OmElxK8D2IxQ+a3sM0MMTXDRqRQxOlceg0MeVr03ea7NUfWGQEQ eGaOKJWs6CeORci9xiustuQC0K/v0GVHTvA4xgq0f3Iexva4cKJzcWeEdjWuSq5kBp U7RSLJeabX8K2VMrvYBJg/sAd7BgBA9VOCGKHgCM= Received: by iva6-2d18925256a6.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id 5nZwQxcLd6-uEKCOFV7; Mon, 22 Mar 2021 06:56:15 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) References: <87sg4ob1sb.fsf@disroot.org> User-agent: mu4e 1.4.15; emacs 27.1 From: Vladimir Sedach To: bone.baboon@disroot.org Subject: Re: Start Xorg server using xinit manually In-reply-to: <87sg4ob1sb.fsf@disroot.org> Date: Sun, 21 Mar 2021 20:29:41 -0700 Message-ID: <87wntz50ii.fsf@t510.orion.oneofus.la> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=77.88.28.102; envelope-from=vas@oneofus.la; helo=forward102p.mail.yandex.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616385404; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=FJDkEsfau1iRAwknS1MXJzpcrsZfr7pG9I7HkLsqH4A=; b=ud87PIUBPAL0A9QHppfuUOl0awh/MkRJzHJbAxRt4UaAfOStU600/nY8XfeifKcuxplJ4s PQRWNxHPeEoK3tGYPdSn8sXypR7UJf4cftA/1x4RfftZcUcyW+KibVVEoin8PlDRmdB1Ld Y8ytMtuPtIvtd4ZMNwMWIAcl+WTgRQwFCiV9/fZuTgOudUb5QfcwAeSrgdD6fW96IyDiST k4+OZKlHpdh2l0Uwg3NMV+ZN4H5MDoXxxF7gQuJdogkN+YzHN5UeP3EKiD/AD2agpPTa3J Mb2E3jWUb2gdHrhA9hlPxU+BerdYzjrLUq7OMRAfuBx9qdgbcM2OldO+VUbiMw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616385404; a=rsa-sha256; cv=none; b=XpSnPy+LazY6DcKde+zcVRu0zKsVAbuXxxs/6N/WxFgrOx7cIaUcSEbjSkDoMRfwH/6O83 voig4EDrTttN54JCj5MYULd56zCITRkeHGXYMp/uF3U8/bZyJK0rPvz6GlGiqMl23kV6Sk 113bgPuL2ki+1a7oQTw81BNySCiUD/vugxjXJvnVFBEVDGf634S3wV/dSAnuWx3S4cwAv/ UFEJ14vLEeSdFyD9wsd6nL8TA0eU9A8soGOmrxdtOyfqq32JmRTVP0V/RF0RjA/0u9xPHP RRKIsbpP5ZnBNR3KCmWR2QDdC+Q0nj20GfXwcZKKsQk/sZdvwMaQ3j+fD7GpcA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=oneofus.la header.s=mail header.b=gvlhVGii; dmarc=pass (policy=none) header.from=oneofus.la; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=oneofus.la header.s=mail header.b=gvlhVGii; dmarc=pass (policy=none) header.from=oneofus.la; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 032A810614 X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: iwiviRUTPwpz Bone Baboon writes: > The command also fails with a similar log when prefixed with sudo. Well, that rules out the setuid issue. Do you get graphics with a login manager service? I tried getting xinit running as you have, but gave up at the same step: no /dev/dri/card0 device node. Looking at my configuration now, I think the problem might be dbus. Do you have dbus-service enabled? I suspect there might be an implicit dependence between X and udev (which is probably what is responsible for creating /dev/dri/card0) on dbus, that might not be producing any log messages. The minimal X configuration I have is: (dbus-service) (service slim-service-type) > [ 95.135] _XSERVTransmkdir: ERROR: euid !=3D 0,directory /tmp/.X11-uni= x will not be created. =E2=80=A6 > [ 95.427] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not= permitted) This part indicates that you might need to figure out the setuid issue anyway (or run as root) if you make further progress. Debian has a setuid wrapper executable (at /usr/lib/xorg/Xorg.wrap) that could be a starting point. I think something like that might need to go to xinit upstream. See https://issues.guix.gnu.org/25865 If dbus-service does indeed get you farther along, can you please report that back to the list? In that case, it would seem that dbus-service is a necessary dependency for running X and should become part of the provided login manager services. -- Vladimir Sedach Software engineering services in Los Angeles https://oneofus.la