Am 30.07.2010 05:58, schrieb Walter Dnes:
On Thu, Jul 29, 2010 at 01:35:46PM -0700, Kevin O'Gorman wroteI'm not exactly sure when, but starting a month or so ago, vim has been acting weird when I run it as root. For one thing, there are messages Xlib: connection to ":0.0" refused by serverGeneral rule... by default X apps cannot be run by any user other than the one who started the X session. This bites you when you launch X as regular user, and then "su -". Is vim considered an X app? Yes, if you've emerged vim with the X USE flag enabled. You have two options. 1) Get rid of the X-integration by going into /etc/portage/package.use and adding the line... app-editors/vim -X You'll have to re-emerge vim after making that change. This gets rid of X-integration for vim.
... or you start with: ~# vim -X regards, Steffen

