Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2017 10:39:29 -0400
From:      "James B. Byrne" <byrnejb@harte-lyne.ca>
To:        freebsd-questions@freebsd.org
Subject:   FreeBSD-11, Mate, Terminal, Gvim
Message-ID:  <a973035703bd510d1226163df5ac9a34.squirrel@webmail.harte-lyne.ca>

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




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