From owner-freebsd-questions@freebsd.org Mon Apr 24 22:17:44 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 8C15ED4EB3B for ; Mon, 24 Apr 2017 22:17:44 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.20.71]) by mx1.freebsd.org (Postfix) with ESMTP id 4CB2A991 for ; Mon, 24 Apr 2017 22:17:44 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id 59551CB8CC6; Mon, 24 Apr 2017 16:47:07 -0500 (CDT) Received: from 128.135.52.6 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Mon, 24 Apr 2017 16:47:07 -0500 (CDT) Message-ID: <50747.128.135.52.6.1493070427.squirrel@cosmo.uchicago.edu> In-Reply-To: <5793f2002bc6eff17b2831bede1056e6.squirrel@webmail.harte-lyne.ca> References: <07197ae8f00a48f5ea7d098fb75145ca.squirrel@webmail.harte-lyne.ca> <20170424224534.91448acb.freebsd@edvax.de> <5793f2002bc6eff17b2831bede1056e6.squirrel@webmail.harte-lyne.ca> Date: Mon, 24 Apr 2017 16:47:07 -0500 (CDT) Subject: Re: New question on Mate and FreeBSD From: "Valeri Galtsev" To: byrnejb@harte-lyne.ca Cc: "Polytropon" , byrnejb@harte-lyne.ca, "James B. Byrne via freebsd-questions" Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal 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: Mon, 24 Apr 2017 22:17:44 -0000 On Mon, April 24, 2017 4:25 pm, James B. Byrne via freebsd-questions 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. 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. > > However, if someone else has already done this then a recipe with the > requisite packages and suitable configuration would not be refused. I > can live easily without the pretty start up graphical interface if > that is going to cause other issues. Here is what I did: pkg install xorg pkg install mate - each of them is metaport that brings a bunch of actual packages. E-mail me off the list if you want whole list of packages I have on my box. Then I boot the same as you into "runlevel 3" ;-) In which you can access multiple virtual consoles as usually (ctrl+alt+[F1,F@,...]). In my ~/.xinitrc file I have: exec mate-session I log in as regular user "myself" (that is account that has that ~/.xinitrc file). And as myself I execute the command exec startx (I prefer "exec startx" so that if my X session is killed, say by someone at my keyboard going to virtual console which I started it from and pressing CTRL+C then he doesn't get my shell, it just quits upon killing x session and presents login prompt - I believe everybody does that). That is all, such simple my life is. Valeri > > P.S. > > Does PF1 == F1 (function key 1) or does this refer to something else? > > -- > *** e-Mail is NOT a SECURE channel *** > Do NOT transmit sensitive data via e-Mail > Do NOT open attachments nor follow links sent by e-Mail > > James B. Byrne mailto:ByrneJB@Harte-Lyne.ca > Harte & Lyne Limited http://www.harte-lyne.ca > 9 Brockley Drive vox: +1 905 561 1241 > Hamilton, Ontario fax: +1 905 561 0757 > Canada L8E 3C3 > > _______________________________________________ > 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" > ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++