xterm

Ronald Fischer ronald.fischer@venyon.com
Fri Aug 31 12:18:00 GMT 2007


> Cole Radcliffe wrote:
> > When I try to run "xterm -e /usr/bin/bash -l" from the 
> cygwin shell I
> > get an error that says "xterm Xt error: "Can't open 
> display" "DISPLAY
> > is not set"
> 
> 
> Make sure the X server is running first (run 'startxwin').

This might not sufficient - at least it is not in my system: 
Even when you start the X server (in my case in multiwindow
mode), but then try to start xterm from a CMD Cygwin shell
(such as from the shell you get when opening the Cygwin
icon which is created by default when you setup Cygwin initially),
you get the above error message.

The trick is that in your startxwin, you have to create at
least one xterm (or rxvt) initially. From this, you can then 
open others.

Ronald

--
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