From owner-freebsd-questions@freebsd.org Tue Jul 25 14:39:37 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A28E8C7DAB2 for ; Tue, 25 Jul 2017 14:39:37 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 74DDC7DA66 for ; Tue, 25 Jul 2017 14:39:37 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id 5E57B6217B for ; Tue, 25 Jul 2017 10:39:30 -0400 (EDT) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Kh6pjKPxrMUQ for ; Tue, 25 Jul 2017 10:39:29 -0400 (EDT) Received: from webmail.harte-lyne.ca (inet04.hamilton.harte-lyne.ca [216.185.71.24]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPSA id 06C8C6211F for ; Tue, 25 Jul 2017 10:39:29 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=harte-lyne.ca; s=dkim_hll; t=1500993569; bh=q7lD0OiSA/yVG86qDvwDdWN0W9cc3eDtj73zYeeygl8=; h=Date:Subject:From:To:Reply-To; b=leLj7CZ/A0gsqlrTVqLkY0bjTn2WGdzZJ+rLJZF82tHWiYUT6X05+EF/MlW0B52fE ZfwcAskWSUKf5E7/Mi4d5k/aOx+WcvnG05MfWIQb3561EehkHAJPEYHT7GcX+zYfsF mVyyDmM8YXSvbZ3GDf3b1Fe9WyvflzeZnrFRER/0p31LC4aaFs7fqoFLxDaPy1wQ6c oZhpl9CbtUImK/K5Vb+yo7rnIvtvmQ/WNVsJc+Xf8jxt4HQjE7mAri3OMuVv5koUXY zUiUKRnFfPTUuY1XCzM+5wjT6OqZr/X/C6hX4BX22pE2ljMQXHazbVXCh/vqpZTrZT bmgR4Y3n2Ef4A== Received: from 216.185.71.44 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Tue, 25 Jul 2017 10:39:29 -0400 Message-ID: Date: Tue, 25 Jul 2017 10:39:29 -0400 Subject: FreeBSD-11, Mate, Terminal, Gvim From: "James B. Byrne" To: freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.22-5.el6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jul 2017 14:39:37 -0000 I recently replaced my CentOS-6 based workstation with a FreeBSD-11 system running the Mate desktop. Behavior of this environment differs somewhat from what I am used to and I have run into one such situation where this difference is a real inconvenience. I log into my personal workstation with my personal, unprivileged account. I then run startx to get the mate desktop. My preferred editor is vim and more particularly gvim. When setting up new hosts I usually open an especially coloured terminal instance and use 'su -l' to become root. I also typically edit using gvim. However, this combination does not work for me on FreeBSD with Mate as it did for me under CentOD-6 and Gnome2. When inside a terminal window as root instead of opening an Xwindow editor when running gvim I get a 'E233: cannot open display' error. Is there some configuration step that I am required to perform to get this to work as I formerly experienced? -- *** 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