FreeBSD-11, Mate, Terminal, Gvim
rwmaillists at googlemail.com
Tue Jul 25 20:59:53 UTC 2017
On Tue, 25 Jul 2017 20:36:54 +0000
Manish Jain wrote:
> > That is correct. Like "su -m", "xhost" is to be executed from
> > the (non-root) user that controls the display. But when you're
> > using the "su -m" approach, it usually isn't even needed.
> I tried this from my normal user shell (zsh)
> su - -m root -c 'echo $SHELL'
- (equivalent to -l) and -m are contradictory options. Presumably the
second (-m) overrides the first.
More information about the freebsd-questions