This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Starting a xterm window


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]