Using Linux on Windows with Cygwin


Typing startx connects the X server to a window manager running locally in Cygwin. For example, /usr/bin/wmaker adds Windowmaker window decorations to the program window. Parameters for the X server itself follow the -- delimiter; startx interprets text before the delimiter as the program to be launched in the Cygwin environment, with any necessary options trailing:

$ startx /usr/bin/wmaker -- -nodecoration

The preceding command initiates a Windowmaker environment on the client side, which occupies the entire desktop above the taskbar. The command

$ startx /usr/bin/wmaker -- -mwextwm

is quite different. It hides the Linux desktop background, keeping the Windows desktop visible. For more information, check out the man page for startx [10].


Cygwin ports the X Window System, OpenSSH, and many other Unix and Linux programs to Windows, allowing Windows users to access Linux computers remotely. Cygwin performance is only satisfactory over a fast local network connection with low latency – a limitation currently only lifted by the no-cost NX Client [11] for remote X on Windows.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Windows Vista File Sharing

    If you want to share files your own way, Vista might need some help.

  • Free Software Projects

    In this month’s Projects on the Move, we observe the battle between man and (chess) machine and check out the free Colonization clone. Also in this issue, tools for Linux users who find themselves facing the Windows prompt.

  • Security Lessons: OpenSSH VPNs

    OpenSSH VPN technology, installed by default on most Linux, BSD, and Unix systems, lets you mix and match different clients and servers easily.

  • Table of Contents
  • Vista and Linux

    Will your strategies of coexistence work for the newest version of Windows? We examined Windows Vista with an emphasis on issues of Linux compatibility.

comments powered by Disqus

Direct Download

Read full article as PDF:

Price $2.95


njobs Europe
Njobs Netherlands Njobs Deutschland Njobs United Kingdom Njobs Italia Njobs France Njobs Espana Njobs Poland
Njobs Austria Njobs Denmark Njobs Belgium Njobs Czech Republic Njobs Mexico Njobs India Njobs Colombia