From owner-freebsd-questions@freebsd.org Wed Aug 8 17:28:24 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D8D0A1063A36 for ; Wed, 8 Aug 2018 17:28:24 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 8BB2C887B3 for ; Wed, 8 Aug 2018 17:28:24 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from point.uchicago.edu (point.uchicago.edu [128.135.52.6]) by kicp.uchicago.edu (Postfix) with ESMTP id B663D7180FC for ; Wed, 8 Aug 2018 12:28:23 -0500 (CDT) Subject: Re: Alternative to x11/gnome3 ? To: freebsd-questions@freebsd.org References: <20180511090813.GA21919@admin.sibptus.transneft.ru> <1526039986.18202.5.camel@k1.com.br> <20180731014358.GA925@admin.sibptus.transneft.ru> <20180731195608.40cee639.freebsd@edvax.de> <20180801024324.GA20419@admin.sibptus.transneft.ru> <20180801165950.6bb77eabf97c862866d13ecf@sohara.org> <20180808161156.GA66626@admin.sibptus.transneft.ru> <20180808172413.9759288eaa75f6a8024417c8@sohara.org> <20180808163722.GA67368@admin.sibptus.transneft.ru> From: Valeri Galtsev Message-ID: <2b5cf789-e846-aac0-d33a-39dd71d55f65@kicp.uchicago.edu> Date: Wed, 8 Aug 2018 12:28:23 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180808163722.GA67368@admin.sibptus.transneft.ru> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2018 17:28:25 -0000 On 08/08/18 11:37, Victor Sudakov wrote: > Steve O'Hara-Smith wrote: >> >>> No, this is not the way it works on Linux. Linux users don't run >>> startx from a text session, nor do they switch between GUI sessions >>> with Ctrl-Alt-Fn. They click "Switch user" and the graphical login >>> screen appears where you can get authenticated. >> >> You can use startx and Ctrl-Alt-Fn in Linux to do this, at least >> you could last time I used Linux and X. > > You can but nobody does because it's inconvenient and contraintuitive > for the majority of users. I for one do it occasionally. On multi-user number crunchers in the server room which normally run in "runlevel 5". > > Besides it's insecure unless you enable some X screen locking > mechanism and start your X session with something like "startx & && exit" Yes, or simpler thing does the same . Log in to virtual console then execute the command exec startx If somebody is at the keyboard in your absence and kills your X using Ctrl+C, then you will be logged off your virtual console session as well. That, BTW this is what I always do on my FreeBSD workstation (virtyally single user machine): same convenient, and one less process belonging to user root (display manager process). Incidentally one may need to create ~/.xinitrc for that, what someone else had mentioned. My ~/.xinitrc on workstation has one line: exec mate-session Thanks. Valeri > -- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++