Alternative to x11/gnome3 ?

Victor Sudakov vas at mpeks.tomsk.su
Fri May 4 02:16:44 UTC 2018


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


More information about the freebsd-questions mailing list