Re: $DISPLAY
-- Chris Burns <fooberman@mail.utexas.edu> wrote
(on Wednesday, 18 December 2002, 05:37 AM -0600):
> I dotn' think my $DISPLAY variable is set correctly. I'm trying to run
> an X program on a remote computer through ssh. It says:
>
> Cannot create window - please check your DISPLAY environment variable.
>
> So i checked the value of $DISPLAY and it is blank. I'm not sure what
> to set it to. I used to be able to do this on a previous Linux
> installation (i think it was Mandrake 8) but it has never worked on
> Debian Woody. Thanks for any help,
And one other thing to check (in addition to the X11Forwarding) is
whether or not you're trying to ssh via a login shell or a regular term
console; if you're using a login shell, your $DISPLAY won't be set on
the client machine anyways.
In the terminal from which you'll be initiating your ssh session, check
and see if $DISPLAY is set; if not, open a non-login shell and try it
again.
--
Matthew Weier O'Phinney
matthew@weierophinney.net
Reply to:
- References:
- $DISPLAY
- From: Chris Burns <fooberman@mail.utexas.edu>