Re: Cygwin, $DISPLAY, & xterm
From: Danny Kaffki (kaffki_at_yahoo.com)
Date: 05/24/04
- Next message: Jonathan Day: "Looking for Distro/Live CD with parted"
- Previous message: Bit Twister: "Re: Cygwin, $DISPLAY, & xterm"
- In reply to: puma: "Cygwin, $DISPLAY, & xterm"
- Next in thread: puma: "Re: Cygwin, $DISPLAY, & xterm"
- Reply: puma: "Re: Cygwin, $DISPLAY, & xterm"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: Jonathan Day: "Looking for Distro/Live CD with parted"
- Previous message: Bit Twister: "Re: Cygwin, $DISPLAY, & xterm"
- In reply to: puma: "Cygwin, $DISPLAY, & xterm"
- Next in thread: puma: "Re: Cygwin, $DISPLAY, & xterm"
- Reply: puma: "Re: Cygwin, $DISPLAY, & xterm"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|