From owner-freebsd-questions@freebsd.org Thu Sep 19 19:51:12 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ED23C12CE6E for ; Thu, 19 Sep 2019 19:51:12 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: from mail-qt1-x841.google.com (mail-qt1-x841.google.com [IPv6:2607:f8b0:4864:20::841]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46Z6sq3hFDz4CcJ for ; Thu, 19 Sep 2019 19:51:11 +0000 (UTC) (envelope-from michaelsprivate@gmail.com) Received: by mail-qt1-x841.google.com with SMTP id j31so5820883qta.5 for ; Thu, 19 Sep 2019 12:51:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SXoO1utJU6TzcCK7/2i8tnxRFhxrJZTozVbtaBWF2bU=; b=jOVzwC237w3IhlLJTVChqRjiRn/56hejunZaDs6AM1eSP9DimWLUeWtvOZjAvxc8Ja JteSTC5eDP6+JIsAblgAQOJblBnu17ZnIIBFbszFAER35dkCQaLDf3gEmaQRUa8wvcKs LWRKTuqCZpSGfyZ2evVV3ZJYv5ch+D0/EHoMKxaz5Pjp87QnGZi5yE4QpU9umGuhFfib r57iNmIVWSIHVCf/OiYfkgEFVNjWZSwbERp0GOrZcUPzl6f4qpYwd/Z1n8AN+qz2JYN5 4Ig3Df30a0/EsC0eIKx+8ke7C/DTt+0uHFUq2SOY+1Kxh3VIqGLr70IEQEDOZeGW+dgo pohA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=SXoO1utJU6TzcCK7/2i8tnxRFhxrJZTozVbtaBWF2bU=; b=RYNgBRvsXLTMffvs3itmBJYYULESOsRGvN44PDiRwIpXCFWZ/c+9e5BOUThJl7FQie oZm8UrMtNt5s83bbEoLZ2QPYWGzYQEWRoI04Sna5rv/WgluqEt6Bf8E1OmZ6FWWorWf5 FqhXfEqZWPWBeUhlQ8lYeqw38mh1Oev/eAdFwOp9mUSTKagKPMqcPfAr5UKMiOu2r4PW x3JJva0lreA7yEnQrNV3LoSv4g8OBPoo6pii6eSAXX6/sDuw558q4sey3qYSMgowwXEK jeih8vhYU9PKaIwUOcj1o7XdhF39cTOyEp4d+JQSdHJ+J3vonXI2WgvXueFWkn6LheyN eEjg== X-Gm-Message-State: APjAAAXa7stuO7YzclWduJ0y0EZ4804Fd/+8ELMvYfXLjr6Hn89L9Bwp gi+pVxWIu5KCe0BCqpgR8RFiV1ARD5FCv73mjhA= X-Google-Smtp-Source: APXvYqxmMxqNm2PahRmNni4Mv6vI7y0ljCOUrzWCz4l+04dFEIq4QP2tOGEVEHhCHTHfFFTMio49hg9qdNpH/zgvy48= X-Received: by 2002:ac8:b42:: with SMTP id m2mr5190045qti.174.1568922670394; Thu, 19 Sep 2019 12:51:10 -0700 (PDT) MIME-Version: 1.0 References: <20190919214035.f617cae7.freebsd@edvax.de> In-Reply-To: <20190919214035.f617cae7.freebsd@edvax.de> From: Michael Schuster Date: Thu, 19 Sep 2019 21:50:55 +0200 Message-ID: Subject: Re: Can't get graphical desktop environment on FBSD12 To: Polytropon Cc: Trey Sizemore , freeBSD Mailing List X-Rspamd-Queue-Id: 46Z6sq3hFDz4CcJ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=jOVzwC23; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of michaelsprivate@gmail.com designates 2607:f8b0:4864:20::841 as permitted sender) smtp.mailfrom=michaelsprivate@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; URI_COUNT_ODD(1.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (2.48), ipnet: 2607:f8b0::/32(-2.67), asn: 15169(-2.22), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[1.4.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_CC(0.00)[fastmail.fm]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Sep 2019 19:51:13 -0000 Perhaps this is outdated: I seem to remember having to enable something in /etc/ttys... Maybe that's still the case? HTH Michael On Thu, Sep 19, 2019, 21:40 Polytropon wrote: > On Thu, 19 Sep 2019 15:21:21 -0400, Trey Sizemore wrote: > > HI all- > > > > Just did an install recently of FreeBSD 12 on a Thinkpad X! Carbon (Gen > 5). > > > > Following the directions here[1] as well as here[2] I'm unable to get > > anything other than a command prompt when I restart the machine. > > The instructions sometimes don't match reality. :-( > > > > > I should say when I reboot, it appears to hang and I only get a black > > screen (issuing either 'reboot' or 'shutdown -r now') and I have to > > power down and back up using the laptop's power button. > > That looks strange, but let's keep this as a different problem for > the moment. > > > > > I'm actually wanting to get Cinnamon (which I've installed as well) > > up and running as the DE. > > Good choice - I find it superior to Gnome 3. > > > > > I've installed gnome-desktop, gdm, xorg, and gnome3 > > It looks you missed to install the graphics driver for X, right? > What kind of graphics does your system include? From there on, > find out if you need to load the KMS driver via /boot/loader.conf > or /etc/rc.conf. Then do diagnostics in _small_ steps, i. e., > start X first without anything. For testing, a .xinitrc file > with something like "exec xterm" should be fully sufficient. > Examine /var/log/Xorg.0.log for possible errors when you do _not_ > get a desktop running an X terminal. > > Use "pciconf -lv | less" to find out what graphics card is in > your system. > > Example for Intel graphics in a Lenovo R61i: > > In /boot/loader.conf: > > i915kms_load="YES" > > Installed for X: > > xf86-video-intel > > Example for ATI / AMD "card" in a HP DM-1: > > In /boot/loader.conf: > > drm_load="YES" > > In /etc/rc.conf: > > kld_list="/boot/modules/radeonkms.ko" > > Installed for OS: > > drm-fbsd12.0-kmod > > Installed for X: > > xf86-video-ati > > However, in this specific setup, 3D support does not work (X uses > the software renderer). > > > > > I have the following in my /etc/rc.conf: > > $ less /etc/rc.conf > > hostname="lenovo" > > wlans_iwm0="wlan0" > > ifconfig_wlan0="WPA DHCP" > > sshd_enable="YES" > > ntpdate_enable="YES" > > ntpd_enable="YES" > > powerd_enable="YES" > > # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable > > dumpdev="AUTO" > > gnome_enable="YES" > > moused_enable="YES" > > dbus_enable="YES" > > hald_enable="YES" > > gdm_enable="YES" > > Looks correct so far. Suggestion to add: > > background_fsck="NO" > > Just in case. :-) > > > > > This is /etc/fstab: > > $ less /etc/fstab > > # Device Mountpoint FStype Options Dump Pass# > > /dev/nvd0p2 / ufs rw 1 1 > > /dev/nvd0p3 none swap sw 0 0 > > proc /proc procfs rw 0 0 > > Probably not relevant here, but looks correct. > > > > > And I have an .xinitrc file with the following: > > $ less .xinitrc > > exec /usr/local/bin/gnome-session > > That's probably wrong. If I remember correctly, Gnome resuires you > to use "ck-launch dbus-something -with-something-polkit gnome-esseion", > but I don't remember because I dumped Gnome long time ago. :-) > > > > > $ ls -alF | grep xinitrc > > -rw-r--r-- 1 trey trey 34 Sep 19 11:29 .xinitrc > > Correct permissions. > > > > > Have I mis-typed something or what am I missing? > > Probably not. I assume you simply forgot to install the _drivers_ > needed for graphics (as mentioned above), which has become a > significant hurdle in recent FreeBSD (as compared to the past > when things were a lot simpler, and better documented), but > well, that's the price of "modern" hardware... ;-) > > Summary: Find out what graphics card you need to support, install > the appropriate drivers, test with a minimal configuration first, > then extend to what you need for your desktop environment; in case > of errors, examine the X log file. > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >