Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2017 15:13:36 -0400
From:      "James B. Byrne" <byrnejb@harte-lyne.ca>
To:        "Polytropon" <freebsd@edvax.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD-11, Mate, Terminal, Gvim
Message-ID:  <05fccc1437e343765da6f0c944b5b2bf.squirrel@webmail.harte-lyne.ca>
In-Reply-To: <20170725210647.6f4c8fcd.freebsd@edvax.de>
References:  <a973035703bd510d1226163df5ac9a34.squirrel@webmail.harte-lyne.ca> <20170725210647.6f4c8fcd.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help

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@Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3




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