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: How to run xinit without first entering a cygwin terminal

Thanks for your reply:-)

I followed your advice, now it seems that rdesktop is running, but the
window that xinit showed was just plain black. rdesktop is supposed to
be a remote desktop client that runs on linux and connect to a windows
remote desktop. When I use the command "/usr/bin/xinit.exe
./rdesktop/rdesktop.exe -f" in a cygwin terminal, it can
show the desktop of

Could this be due to the same reason  that startx can't show the
cygwin desktop? What should I do? Thanks;-)

On 29 October 2015 at 21:23, Jon Turney <> wrote:
> On 29/10/2015 06:25, Xuehan Xu wrote:
>> Hi, everyone
>> I'm trying to run xinit.exe to start a GUI program in a windows cmd
>> prompt. The command I run:
>> "c:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/xinit.exe
>> /home/Administrator/rdesktop.exe -f
>> But, it seems that rdesktop.exe isn't running, the window was just
>> showing a terminal prompt.
> Using the command lines from the start menu items created for the xinit
> package as a template (see [1]), I think you need something like:
> c:\cygwin\bin\run.exe -quote /usr/bin/bash.exe -l -c "/usr/bin/xinit.exe
> /home/Administrator/rdesktop.exe -f"
> The command string being given to bash -c needs quoting, otherwise
> subsequent words are assumed to be parameters to that command.
> run needs to be given the -quote option to protect those quotes.
> [1]
> --
> Volunteer Cygwin/X X Server maintainer

Problem reports:
Unsubscribe info:

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