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 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...
"unset" is a shell built-in command which allows you to remove an environment variable. You use it at the shell prompt: eg. unset DISPLAY cheers Duncan ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]