Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2017 21:59:47 +0100
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD-11, Mate, Terminal, Gvim
Message-ID:  <20170725215947.3a2f7504@gumby.homeunix.com>
In-Reply-To: <VI1PR02MB1200CA799271D535917ED023F6B80@VI1PR02MB1200.eurprd02.prod.outlook.com>
References:  <a973035703bd510d1226163df5ac9a34.squirrel@webmail.harte-lyne.ca> <20170725210647.6f4c8fcd.freebsd@edvax.de> <VI1PR02MB1200A48204221928325FC148F6B80@VI1PR02MB1200.eurprd02.prod.outlook.com> <20170725215338.41ea83f0.freebsd@edvax.de> <VI1PR02MB1200CA799271D535917ED023F6B80@VI1PR02MB1200.eurprd02.prod.outlook.com>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170725215947.3a2f7504>