From nobody Sun Feb 4 01:10:43 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TSBK64FCqz58qS1 for ; Sun, 4 Feb 2024 01:10:50 +0000 (UTC) (envelope-from grog@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TSBK63f89z4Zqy; Sun, 4 Feb 2024 01:10:50 +0000 (UTC) (envelope-from grog@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707009050; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=35Njp53YyPu7fbGF2Q8NNU6C4ToVoKINHwBpMzeR6jk=; b=tIS7F4vSl3iS7nSvZ74yJ1f8RqmnXcBC9YLqNweHPMj0lWeFwvJo3RIbVzCA/63ok5+TvI 5umGH57iIV3JPUz7o/1ekP5SvzxzkCZOGUCBvqjy0N2JVMnicPzUbFbgao//jouh8AVLV2 wSpLL2375R8+s/NeDOF6N8tszUfQepl3iCfXy7j8yn/5TaAukFRrxBaRX1xKUeqCEhwjO3 xDTqJmgZA7Mzbk1tPSGFWvi/lvJwFZI6Ok99vD9olgEKIvDTZwuxsQ3Tp46jQAqKRtLw64 ckXMKVX9IeQu3X0KL5u6sgaPpP0IvYaJHWJbyDS/P8ICvOE6t0AuCYtIXGtkCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707009050; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=35Njp53YyPu7fbGF2Q8NNU6C4ToVoKINHwBpMzeR6jk=; b=IbE5iaxBt7OYJ0Ar+tB7opvaQ89ZzzyEKRJYKKnrFr3mKNGmlpv0laPoJYVwkQoXt63/2q FnMkJrBrZ3NKWF+Qu/o5s2iwqVPR3xyvR0eD2By9gKqugt4r+XgW6VygDks5eVhrpoIWBl TFABfYdPFGxU1tQbgCuM0IcZrtwycK+h3qM5F5vhpmMiECZCxfly09pKcJ/xJMrgzsaiwx 3Mn2NR1am86/ImpFYDRt0erjZ0xseao+MlvAm+LX5kLmRD4R3YJGQU/KH+xF4kNBZxMsmv /5LJ2Im2VqlD3RzTIQP5JI19b8bif241sfBX3ypXO+inHQFUDD5o45s8eNz4hw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707009050; a=rsa-sha256; cv=none; b=Be269vb/UjEsKnRZJHFGGiVttAT42RCgvOygIBbBZSaD1CKVHE/fKNUxUYPwS73S0YtGkC +kOSWRgqSpsbfR+rAIuw2YRBIcAccNpTNM5gTgUpu6pHDzcjsje5qb86DNWBNRk1u6s5Wp IDLQYgWRF9Bblk1OqgT2tjgdigJ/teHSKE3SF0meXcGTau+sUjPMTCgSdBJMLjZhSapdgI 5RVREisGRwBhcYb5pi2eVORg7MzaFSd9yjML9UgC3euRjT628x+CAVLPZMRFBx7/BiTA9T QrtEYiRyiOxhnTLDN1OaFE6Vjy9uofDkA5qyecK7nPzB8lTvaipzwfQcWRbIIg== Received: from hydra.lemis.com (121-200-11-253.79c80b.mel.nbn.aussiebb.net [121.200.11.253]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: grog/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4TSBK51qG9zKJr; Sun, 4 Feb 2024 01:10:48 +0000 (UTC) (envelope-from grog@freebsd.org) Date: Sun, 4 Feb 2024 12:10:43 +1100 From: Greg 'groggy' Lehey To: Paul M Foster Cc: freebsd-questions@freebsd.org Subject: Re: Installing/running X11 Message-ID: References: <20240203144851.d47zguvjtisjdsz4@yosemite.mars.lan> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hi1lhbPtuqpqGGrz" Content-Disposition: inline In-Reply-To: <20240203144851.d47zguvjtisjdsz4@yosemite.mars.lan> Organization: The FreeBSD Project Phone: +61-3-5309-0418 Mobile: +61-490-494-038. Use only as instructed. WWW-Home-Page: https://www.FreeBSD X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 --hi1lhbPtuqpqGGrz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Saturday, 3 February 2024 at 9:48:51 -0500, Paul M Foster wrote: > Folks: > > For context, I have a fresh install of version 14. I've made myself part of > the wheel and video groups. I've installed drm-kmod, xdm, xf86-video-intel, > xfce, xorg and xterm. I've added hald_enable="YES", dbus_enable="YES" and > kld_list="i915kms" to /etc/rc.conf. > > At this point, advice diverges significantly. Some sites say I should be > able to just run startx and all will be fine. Some want you to run xorg > -configure. Some want you to hack X11 config files. X has been around for a long time, and installation has changed. In the latest versions, all those steps *should* be unnecessary. I've forgotten the details, but IIRC it's a good idea to install dbus for some clients, including web browsers, but it shouldn't be necessary for starting X. My newly installed system doesn't have hald, and Xorg -configure (not xorg, which doesn't exist) hasn't worked properly for years. Hacking config files has also changed dramatically over the years, and I'm not sure that all drivers respect the semantics. I don't know what i915kms is, though it suggests it has something to do with the Intel 915 chipsets. But looking through my system, it seems to have gone out with FreeBSD re1ease 12. Where did you get this information from? If it's in the official FreeBSD documentation, we need to fix it. Also, does kldstat show anything with a similar name? This is probably not the cause of your problem, though. > What I can tell you is that X won't start with startx. For one thing, it > outputs these errors: > > (EE) > Fatal server error: > (EE) no screens found(EE) > (EE) It outputs more than that, including a reference to the log file that contains the real reason for not starting. in this case almost certainly /var/log/Xorg.0.log. Look in particular for references to config files (there shouldn't be one in the situation you describe) and any lines starting with (WW) (warning) or (EE) (error). If that doesn't help you identify the problem, report what you find. > Also, for what it's worth, service dbus start works. But service hald start > doesn't. The error is: > > hald does not exist in /etc/rc.d or the local startup directories > (/usr/local/etc/rc.d), or is not executable. > > I have no idea how to proceed. If you want to install hald (and can find a reason to do so), you will have to install the package. But this isn't relevant to your real problem. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html Sent from my desktop computer. See complete headers for address and phone numbers. This message is digitally signed. If your Microsoft mail program reports problems, please read http://lemis.com/broken-MUA.php --hi1lhbPtuqpqGGrz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSaG4ICvM64RvkvCawi5vKQUHpCIwUCZb7kDgAKCRAi5vKQUHpC I7wwAKCHpLideriJO5g0sP7sExH/8QVdDQCcD12vaDY6o79SNwzrKlzvgKYPkas= =fCEk -----END PGP SIGNATURE----- --hi1lhbPtuqpqGGrz--