[workaround] vi trying to connect to X

2006-03-29 Thread Daniel Kabs
Hello! When I "su" to root and start "vi", a bunch of these messages appear: Xlib: Invalid MIT-MAGIC-COOKIE-1 key Xlib: connection to ":0.0" refused by server Chris Howie explained: > vim tries to connect X for access to the X clipboard. > > :help x11-selection I think this is not a clever thing

[workaround] vi trying to connect to X

2006-03-29 Thread Daniel Kabs
Hello! When I "su" to root and start "vi", a bunch of these messages appear: Xlib: Invalid MIT-MAGIC-COOKIE-1 key Xlib: connection to ":0.0" refused by server Chris Howie explained: vim tries to connect X for access to the X clipboard. :help x11-selection I think this is not a clever thing t

Re: vi trying to connect to X

2006-02-06 Thread Anthony Simonelli
On Monday 06 February 2006 03:20 am, Karsten M. Self wrote: > You've apparently got the gvim variant of vim installed, and it may be > doing stupid things presuming it's got an X display active. > > Try: > >unset DISPLAY >vi foo > > ... and see if that resolves the issue. If it doesn't, po

Re: vi trying to connect to X

2006-02-06 Thread Chris Howie
Kumar Appaiah wrote: > I think vim is trying to change the title of the Konsole window to > Vim. Setting the title is done through escape codes, not X: echo -e '\033]2;Hello, World!\a' -- Chris Howie http://www.chrishowie.com -BEGIN GEEK CODE BLOCK- Version: 3.1 GCS/IT d-(--) s:- a--->

Re: vi trying to connect to X

2006-02-06 Thread Kumar Appaiah
On Mon, Feb 06, 2006 at 01:20:04AM -0800, Karsten M. Self wrote: > > Xlib: connection to ":0.0" refused by server > > Xlib: No protocol specified > > > > Xlib: connection to ":0.0" refused by server > > Xlib: No protocol specified > > > > Xlib: connection to ":0.0" refused by server > > Xlib: No

Re: vi trying to connect to X

2006-02-06 Thread Chris Howie
Karsten M. Self wrote: > You've apparently got the gvim variant of vim installed, and it may be > doing stupid things presuming it's got an X display active. vim tries to connect X for access to the X clipboard. :help x11-selection -- Chris Howie http://www.chrishowie.com -BEGIN GEEK CODE

Re: vi trying to connect to X

2006-02-06 Thread Karsten M. Self
on Sun, Feb 05, 2006 at 05:08:15PM -0600, Anthony Simonelli ([EMAIL PROTECTED]) wrote: > Hi there. I'm tried to get used to vi as an editor since it is found on > nearly every Unix and Unix-like system and I've heard that those who are > proficient at it are able to edit files faster than using

Re: vi trying to connect to X

2006-02-05 Thread Duncan Anderson
On Monday, 6 February 2006 04:58, Anthony Simonelli wrote: > On Sunday 05 February 2006 08:50 pm, Duncan Anderson wrote: > > On Monday, 6 February 2006 04:19, Shawn Lamson wrote: > > > On Sun, 05 Feb 2006 17:08:15 -0600 > > > > > > Anthony Simonelli <[EMAIL PROTECTED]> wrote: > > > > I'm running KD

Re: vi trying to connect to X

2006-02-05 Thread Anthony Simonelli
On Sunday 05 February 2006 08:50 pm, Duncan Anderson wrote: > On Monday, 6 February 2006 04:19, Shawn Lamson wrote: > > On Sun, 05 Feb 2006 17:08:15 -0600 > > > > Anthony Simonelli <[EMAIL PROTECTED]> wrote: > > > I'm running KDE and use Konsole but everytime I invoke vi from Konsole, > > > I get t

Re: vi trying to connect to X

2006-02-05 Thread Duncan Anderson
On Monday, 6 February 2006 04:19, Shawn Lamson wrote: > On Sun, 05 Feb 2006 17:08:15 -0600 > > Anthony Simonelli <[EMAIL PROTECTED]> wrote: > > I'm running KDE and use Konsole but everytime I invoke vi from Konsole, I > > get the following: > > > > Xlib: connection to ":0.0" refused by server > > X

Re: vi trying to connect to X

2006-02-05 Thread Shawn Lamson
On Sun, 05 Feb 2006 17:08:15 -0600 Anthony Simonelli <[EMAIL PROTECTED]> wrote: > I'm running KDE and use Konsole but everytime I invoke vi from Konsole, I get > the following: > > Xlib: connection to ":0.0" refused by server > Xlib: No protocol specified have you restarted X recently? If not,

vi trying to connect to X

2006-02-05 Thread Anthony Simonelli
Hi there. I'm tried to get used to vi as an editor since it is found on nearly every Unix and Unix-like system and I've heard that those who are proficient at it are able to edit files faster than using any other editor. I'm running KDE and use Konsole but everytime I invoke vi from Konsole, I