FreeBSD-11, Mate, Terminal, Gvim

James B. Byrne byrnejb at
Tue Jul 25 19:13:39 UTC 2017

On Tue, July 25, 2017 15:06, Polytropon wrote:

> 2. Use "su -m" instead, which will preserve the environment of
>    your user, and $DISPLAY will be kept set.

Thank you.  The second option works perfectly well for my purposes.

I had been using sudo su -l for decades on CentOS.  It did not occur
to me that the behaviour might be different on FreeBSD.  Well, it did
actually, I just could not see how that would affect this.

Thanks again.

***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:ByrneJB at
Harte & Lyne Limited
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3

More information about the freebsd-questions mailing list