[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: vi trying to connect to X



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 <asimonelli7@yahoo.com> 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, try it... i had similar issues
> > using icewm (a window manager similar to KDE) after some upgrades.
> >
> > HTH,
> >
> > Shawn
>
> Hiya
>
> Why not try "unset DISPLAY" at the shell command prompt? vi will not assume
> that it is in an X environment then.
>
> cheers
> Duncan
>
>
> ___________________________________________________________
> NEW Yahoo! Cars - sell your car and browse thousands of new and used cars
> online! http://uk.cars.yahoo.com/

I logged out, used Ctrl + Alt + Backspace to reset X and logged back in.  It 
appears to have fixed the problem!  Thank you for your help.  I wonder why 
that fixed it?  Also, 'unset' isn't a command, do I use it as an option of 
vi?

i.e. vi unset DISPLAY?

Sorry if that is a stupid question...



Reply to: