Re: Cygwin, $DISPLAY, & xterm

From: Danny Kaffki (kaffki_at_yahoo.com)
Date: 05/24/04


Date: 24 May 2004 09:33:28 -0700

I downlaoded cygin last week with all the X window stuff. All I did
was run the command startx and it started the Xserver and xterm for me
by default.

by the way
export DISPLAY=127.0.0.1:0.0
is the command your looking for.
but you rarely to never set it if your working with an X server
locally. Its more when you are using a remote machine and want to
setup the display to appear on your console. The command xhost + is
used to allow the remote machine to access your Xserver. if your
running everything locally like you mentioned there is no need for
this command.

puma <nowhere@nospam.net> wrote in message news:<1qhsc.72458$qP4.7118@newssvr25.news.prodigy.com>...
> I want to run xterm under Cygwin under Windows ME.
>
> I'm not interested in using it to run a shell remotely on another host,
> I just want to run it as a local shell to run emacs in because I'm told
> that xterm windows can be resized arbitrarily, whereas I find the normal
> Cygwin windows cannot and are much smaller than I want.
>
> Looking at the news groups, I see talk about having to run xhost
> +something in order to run xterm, but that may just be for remote
> execution, not local execution, I don't know. And I really am not sure
> exactly what the "something" should be.
>
> I think the $DISPLAY environment variable has to be set up in a certain
> way, and I've experimented setting it up a bunch of ways, but nothing
> has worked.
>
> My hostname is vaio. Suppose my ip address is 1.2.3.4. Can anybody
> tell me exactly what I have to do to get an xterm going, hopefully
> without compromising the security of my machine?
>
> If there is a more appropriate group to be posting Cygwin questions,
> please let me know. The only Cygwin group I could find was in German.



Relevant Pages

  • Re: [TIN] Reading groups from active file
    ... "Primary DNS suffix of this computer:". ... do a "ipconfig /all" command (in a Command Prompt ... Windows utilities and the Windows "Command Prompt" window and its ... Cygwin - have 'set', ...
    (news.software.readers)
  • Re: Gnome-Terminal - Why Cant I Get Escape Sequences to Work?
    ... certain that my main problem is I'm still thinking in Windows terms. ... First- will it matter whether I use xterm, gnome-terminal, or aterm? ... Next- am I missing command line arguments? ... line mentioning SCO and another for "old function keys". ...
    (alt.os.linux.redhat)
  • Re: Cygwin, $DISPLAY, & xterm
    ... is the command your looking for. ... > I want to run xterm under Cygwin under Windows ME. ... > Cygwin windows cannot and are much smaller than I want. ...
    (comp.os.linux.misc)
  • Re: Cygwin, $DISPLAY, & xterm
    ... is the command your looking for. ... > I want to run xterm under Cygwin under Windows ME. ... > Cygwin windows cannot and are much smaller than I want. ...
    (comp.os.linux)
  • Cygwin, $DISPLAY, & xterm
    ... I want to run xterm under Cygwin under Windows ME. ... Cygwin windows cannot and are much smaller than I want. ... execution, not local execution, I don't know. ...
    (comp.os.linux.misc)