xterm fails even when DISPLAY is set

Justin Patrin papercrane@gmail.com
Fri Sep 1 18:36:00 GMT 2006


On 9/1/06, Jeffrey Stephen <Stephen.Jeffrey@nrm.qld.gov.au> wrote:
> Hi,
>
> I have just installed cygwin-1.5.19, and cannot open an xterm.
>
> I start the XWin server and the task manager shows that XWin.exe is
> running. When I type "xterm" on the command line nothing happens - no
> window appears and no error message is reported. The return status from
> the xterm command in 53.
>
> XWin is started as follows:
>
> $ export DISPLAY=127.0.0.1:0.0
> $ /usr/X11R6/bin/startxwin.sh
>
> The output is shown below, and also the log file /tmp/XWin.log
>
> When I run xterm, nothing happens:
>
> $ xterm
> $ echo $?
> 53
>

DISPLAY needs to be set for the client programs, not for the X server. Try:
$ export DISPLAY=:0
$ xterm

-- 
Justin Patrin

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/



More information about the Cygwin-xfree mailing list