Trouble within screen
William O'Higgins Witteman
william.ohiggins-H217xnMUJC0sA/PxXw9srA at public.gmane.org
Tue Feb 6 20:24:22 UTC 2007
On Tue, Feb 06, 2007 at 01:23:02PM -0500, Lennart Sorensen wrote:
>> Everything seems to be fine, until I launch vim (not gvim - this is for
>> things like email composition in mutt). Once I do that, I see the
>> following errors:
>>
>> Xlib: connection to ":0.0" refused by server
>> Xlib: Invalid MIT-MAGIC-COOKIE-1 key
>Did you start screen while running X, then detach, and come back later
>and attach to screen without X running? In that case you would still
>have the DISPLAY variable set inside screen since it was present when
>you created the screen session. vim likes to set xterm title bars to
>useful information, which may need X access, so perhaps when it sees a
>DISPLAY variable set, it tries to access X and fails since it is no
>longer a valid DISPLAY to talk to.
You hit the nail on the head! It was as simple as unsetting the
$DISPLAY variable. The only problem was, I didn't know how, so I tried
Google "Linux unset display". Heh, it turns out that "unset" is a
command :-) Who knew? Thanks a ton.
--
yours,
William
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://gtalug.org/pipermail/legacy/attachments/20070206/cc22a004/attachment.sig>
More information about the Legacy
mailing list