From owner-freebsd-questions@freebsd.org Fri May 4 02:16:44 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 03F28FC3AC5 for ; Fri, 4 May 2018 02:16:44 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id 5130586A79 for ; Fri, 4 May 2018 02:16:42 +0000 (UTC) (envelope-from vas@mpeks.tomsk.su) X-Virus-Scanned: by clamd daemon 0.98.5_1 for FreeBSD at relay2.tomsk.ru Received: from [212.73.125.240] (HELO admin.sibptus.transneft.ru) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPS id 40004742; Fri, 04 May 2018 09:16:41 +0700 Received: from admin.sibptus.transneft.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.transneft.ru (8.15.2/8.15.2) with ESMTP id w442GdVq095143; Fri, 4 May 2018 09:16:40 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.transneft.ru (8.15.2/8.15.2/Submit) id w442GZ7R095140; Fri, 4 May 2018 09:16:35 +0700 (+07) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.transneft.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Fri, 4 May 2018 09:16:35 +0700 From: Victor Sudakov To: tech-lists Cc: freebsd-questions@freebsd.org Subject: Re: Alternative to x11/gnome3 ? Message-ID: <20180504021635.GA94279@admin.sibptus.transneft.ru> References: <20180429140256.GA8201@admin.sibptus.transneft.ru> <042bf1a7-32fb-8bfa-16d1-9cbc54e19a61@zyxst.net> <20180503043605.GA49385@admin.sibptus.transneft.ru> <20180503054621.GA55633@admin.sibptus.transneft.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 May 2018 02:16:44 -0000 tech-lists wrote: > On 03/05/2018 06:46, Victor Sudakov wrote: > > I've just tried x11/xdm with x11-wm/xfce, starting /usr/local/bin/xfce4-session from ~/.xsession > > > > I login via the xdm login widget, the xfce desktop launches, all seems > > fine, but the "Switch user" menu is grey (inactive). > > > > What is it I've missed? How is it supposed to work? > > Hi, > > [xdm] > > You'll need to modify /etc/ttys like this: > ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure > > change the off to on, save then then reboot (as per > https://www.freebsd.org/doc/handbook/x-xdm.html) Why would you want to reboot instead of "init q"? But I digress. > > [xsession] > > In $HOME/.xsession I have this: > > #!/bin/sh > LC_ALL=en_GB.UTF-8; export LC_ALL > > > > exec /usr/local/bin/startxfce4 --with-ck-launch > > so each user will need this in their $HOME > > I don't use the 'switch user' facility of xfce4 You should have said it from the very beginning :-( > because it's not xfce4 > that is responsible for the session, it's xdm. No, xdm cannot 'switch user' in the sense I was looking for. Please read the beginning of the thread. > So log out of xfce4 > (which should return the screen to xdm) and effectively close all your running X-programs. No, that's not what is needed. > and enter the other user details in xdm. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN AS43859