This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Starting a xterm window
- From: cyg Simple <cygsimple at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 8 Jun 2017 13:13:39 -0400
- Subject: Re: Starting a xterm window
- Authentication-results: sourceware.org; auth=none
- References: <CAKqBF1jXD9+D6UzXzu0Q=F-_iYL4vz2bCk9_VeRAT_y_FTYWYA@mail.gmail.com> <cca9d074-461a-1bc0-53ed-5d0629df15ee@t-online.de>
On 6/7/2017 12:29 PM, Hans-Bernhard Bröker wrote:
> Am 07.06.2017 um 17:18 schrieb Ugly Leper:
>> If I want to enter xterm straight from a Windows command prompt I try
>>
>> G:\> bin\run bin\XWin -clipboard -nolock -multiwindow 2>nul &
>> G:\> bin\xterm -display :0.0
>
> I'm less than convinced that the '&' at the end of the first command is
> a valid idea.
>
Probably not since this is from a Windows CMD.
>> /usr/bin/xterm: Xt error: Can't open display: :0.0
>> /usr/bin/xterm: DISPLAY is not set
>>
>> Any ideas? (This used to work, it really did ...)
>
> WFM, without the '&', and each line copy-pasted individually, so there's
> some time for X to start before its services are required.
>
And you're using a Cygwin shell instead of a Windows shell. That may be
more of an issue for the OP.
--
cyg Simple
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple