Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 May 2018 15:24:14 +0100
From:      tech-lists <tech-lists@zyxst.net>
To:        freebsd-questions@freebsd.org
Cc:        vas@mpeks.tomsk.su
Subject:   Re: Alternative to x11/gnome3 ?
Message-ID:  <bbe08290-b65a-e244-db6e-2b67a7425d10@zyxst.net>
In-Reply-To: <20180503054621.GA55633@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>

next in thread | previous in thread | raw e-mail | index | archive | help
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)

[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 because it's not xfce4 
that is responsible for the session, it's xdm. So log out of xfce4 
(which should return the screen to xdm) and enter the other user details 
in xdm.
-- 
J.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bbe08290-b65a-e244-db6e-2b67a7425d10>