Hi,

Odd question this. Using my PC (RH6.1 with KDE) I telnetted to another linux
box. From there I went to vi a file and briefly saw an error message before
vi started. Quitting vi showed the error still on the screen:

  Xlib: connection to "jhorne.csd.plymouth.ac.uk:0.0" refused by server
  Xlib: Client is not authorized to connect to Server

(jhorne is my PC). I don't allow other X window access to my PC using 'xhost
-' and ipchains (only just started with this). But what I cannot understand
is why vi is trying to open an X window? As said, vi does work and edits the
file fine. Setting 'xhost +' on the local PC and then running vi on the
remote it works with no message, but doesn't seem any different.

Another thing is - why does 'vimx' give an ordinary X session, even on the
local system, whereas gvim does as expected and opens an X window? vimx is
just a link to gvim.

I'm running Redhat 6.1 (on both machines), and vim rpms:
vim-X11-5.4-2
vim-enhanced-5.4-2
vim-common-5.4-2

Many thanks for any help - as said not really a problem. Just curious.

John.

--------------------------------------------------------------------------
John Horne, University of Plymouth, UK             Tel: +44 (0)1752 233914
E-mail: [EMAIL PROTECTED]
Finger for PGP key: [EMAIL PROTECTED]

Reply via email to