Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 May 2018 09:16:35 +0700
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        tech-lists <tech-lists@zyxst.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Alternative to x11/gnome3 ?
Message-ID:  <20180504021635.GA94279@admin.sibptus.transneft.ru>
In-Reply-To: <bbe08290-b65a-e244-db6e-2b67a7425d10@zyxst.net>
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> <bbe08290-b65a-e244-db6e-2b67a7425d10@zyxst.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20180504021635.GA94279>