From owner-freebsd-questions@freebsd.org Tue Apr 25 20:16:38 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8035ED509CF for ; Tue, 25 Apr 2017 20:16:38 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cdptpa-oedge", Issuer "cdptpa-oedge" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47B6FFFF for ; Tue, 25 Apr 2017 20:16:37 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from [65.186.81.207] ([65.186.81.207:37524] helo=raspberrypi.bildanet.com) by cdptpa-omsmta01 (envelope-from ) (ecelerity 3.6.9.48312 r(Core:3.6.9.0)) with ESMTP id 89/EB-03423-E9EAFF85; Tue, 25 Apr 2017 20:16:30 +0000 Received: from [192.168.1.143] (helo=desktop.example.com) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1d36sv-0000Ow-LZ for freebsd-questions@freebsd.org; Tue, 25 Apr 2017 16:16:29 -0400 Subject: Re: New question on Mate and FreeBSD To: freebsd-questions@freebsd.org References: <07197ae8f00a48f5ea7d098fb75145ca.squirrel@webmail.harte-lyne.ca> <20170424224534.91448acb.freebsd@edvax.de> <5793f2002bc6eff17b2831bede1056e6.squirrel@webmail.harte-lyne.ca> <20170425142210.16ab619a.freebsd@edvax.de> From: Baho Utot Message-ID: <0d3ec69e-75c8-1f11-286a-faa86981cb76@columbus.rr.com> Date: Tue, 25 Apr 2017 16:16:29 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.0.1 MIME-Version: 1.0 In-Reply-To: <20170425142210.16ab619a.freebsd@edvax.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.6:25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2017 20:16:38 -0000 On 04/25/17 08:22, Polytropon wrote: > On Mon, 24 Apr 2017 17:25:11 -0400, James B. Byrne wrote: >> >> On Mon, April 24, 2017 16:45, Polytropon wrote: >>> On Mon, 24 Apr 2017 16:10:10 -0400, James B. Byrne via >>> freebsd-questions wrote: >>>> How does one drop out of slim to the console? I installed FreeBSD-11 >>>> on a spare laptop and I am having some difficulty logging on through >>>> slim. I have installed mate and slim but when I run slim it prompts >>>> for a login and then fails with 'unable to execute login'; or >>>> something similar. >>>> >>>> However when this happens I do not know how to get out of the >>>> graphical logon screen without rebooting the system. >>> >>> Solution A: switch consoles with Ctrl+Alt+PF1 / PF2 / PF3 / ... >>> >>> Solution B: do A, followed by "killall -9 slim" >>> >>> This of course doesn't work anymore when you're using sc "as" >>> the console driver, so you must use "vt". This _might_ indtroduce >>> new problems with character sizes, fonts, and locale support. :-) >>> >>> Sidenote: In normal text mode, you use Alt+PF1 / PF2 / PF3 / ... >>> to switch between the virtual consoles, the "Print / Sys Rq" key >>> can be used to iterate through the consoles. >>> >>> >> >> My usual practice on CentOS is to configure the host to boot into text >> mode and then run startx from the console to start the graphical >> desktop. > > This can also be done on FreeBSD. Both a display manager and > the actual X session (running a window manager or a whole desktop > environment) can be initiated from the text mode. > > > >> I have installed mate on the FreeBSD system but cannot seem >> to hit upon the correct manner to start it. Well, it sort of starts >> but what shows up is not recognisable as desktop. This is just >> ignorance on my part. I had similar problems when I decided to use >> mate instead of gnome when I was testing RHEL/CentOS7. > > I have recently switched an installation of a Gnome 2 "destroyed > by update" to MATE (and slim instead of gdm), now ~/.xinitrc and > ~/.xsession get honored as expected. Interestingly, some of the > Gnome settings were "inherited", but others needed to be set up > manually. > > > >> Does PF1 == F1 (function key 1) or does this refer to something else? > > Sorry, that's my typical "IBM speak": The name PF key refers to > the correct term "programmable function key", but PF1 and F1 are > exactly the same thing. Must be the result of using a keyboard > where the actual labels were PF1, PF2, and so on... ;-) > > > add this to .shrc in your home directory.... if [ -z "$DISPLAY" ] && [ $(tty) == /dev/ttyv0 ]; then startx fi