Duck hunt
HomeBlogAbout Me

How To Install Xfce On Cygwin



3- Installing CygWin 4- Setting PATH environment variable. 1- C/C Compiler. C-Compiler is a compiler. It compile your C/C code to computer code. Open the executable Cygwin setup file. Run the set-up as normal. Click on Next on the Cygwin Setup screen. When choosing Installation Type, select Install from Internet (default). When choosing the Installation Directory, you can leave the root directory by default, which will be C: cygwin64 (64 bit). Install for all users. Using a Cygwin bash shell, I can log into an XFCE desktop just fine with the command 'X -query sila:1', (then I choose XFCE session at GDM). See attached screenshot cygwintoremotexfcenoproblem.png.

Debian

Download/Install the Cygwin Toolset

Cygwin is a collection of GNU and Open Source tools that provide a Linux-like environment for Windows: using it we can install and use llvm (which includes the GCC compilers), Clang (which includes Clang compilers), GDB (a debugger used by both compilers), and make/cmake (tools that which we use to specify how to build -compile and link- C++ programs). Cygwin and it toolset occupy about 14 GB on disk.

In this handout you will download and install the Cygwin toolset; in the next you will download a version of CLion, an Integrated Development Environment (IDE) for using these tools (or you can choose to use these tools via a command-line).

You may want to print these instructions before proceeding, so that you can refer to them while downloading and installing Cygwin and its toolset. Or, just keep this document in your browser. You should read each step completely, before performing the action that it describes.

Cygwin Toolsest

Downloading and Installing

Xfce Install Ubuntu

  1. Click Cygwin64

    The following Cygwin home page should appear in your browser.

  2. Click the setup-x86_64.exe link on that page, and use it to download that executable file: executing this file will install the 64-bit version of Cygwin.
    On some browswers you will be prompt to Run or Save this file. Choose to Save it.
    After downloading this file, its icon will appear on your screen as follows.

    Save this file for future use, in case you need to install more Cygwin tools: on my system I stored this file as C:ZDataInstalled Softwaresetup-x86_64.exe; I mention this because that directory will appear in later screen-shots.

  3. Double-click the setup-x86_64.exe file.

    When run, your screen will be show a message with the questions, Do you want to allow this app from an unknown publisher to make changes to your device.

  4. Click the Yes button on your screen.

    The following Cygwin Setup pop-up window should appear on your screen.

  5. Click the Next> button on this window.

    The following Cygwin Setup - Choose Installation Type pop-up window should appear on your screen.

    Map packs for starcraft brood war download. Ensure the Install from Internet radio button is pushed (the default).

  6. Click the Next> button on this window.

    The following Cygwin Setup - Choose Installation Directory pop-up window should appear on your screen.

    For simplicity and consistency, ensure the Root Directory is C:cygwin64 (the default); the All Users (RECOMMENDED) radio button should be pushed (the default).

  7. Click the Next> button on this window.

    The following Cygwin Setup - Select Local Package Directory pop-up window should appear on your screen.

    This is a temporary directory in which Cygwin will create folders that it downloads files into; it will delete the files/folders here before finishing. For simplicity and consistency, use the default Local Package Directory.

  8. Click the Next> button on this window.

    The following Cygwin Setup - Select Connection Type pop-up window should appear on your screen.

    Ensure the Direct Connection radio button is pushed (this second radio button is the default).

  9. Click the Next> button on this window.

    A progress window might temporarily flash on the screen. The following Cygwin Setup - Choose Download Site(s) pop-up window should appear on your screen.

    There are many sites from which Cygwin can be downloaded. I would leave the top one (http://cygwin.mirror.constant.com) selected (the default).

  10. Click the Next> button on this window.

    A progress window might temporarily flash on the screen. In the View pull-down list, select Category if it is not already selected. The following Cygwin Setup - Select Packages pop-up window should appear on your screen. (I have midimized this window and enlarged the result horizontally)

    Notice that the Search textbox is empty.

    In the steps below you enter tool names and will specify installing Develment for each.

    At the end of this process, after selecting all packages, you will click the Next> button. Do not prematurely click the Next> button.

    First, click on the + in the square to the left of All. The contents of the Cygwin Setup - Select Packages pop-up window should now appear as

    • Type llvm into the textbox; the possible tools related to this name will appear in the window. When they do, to the right of just Devel(4) click the pull-down menu and select Install.

      The following Cygwin Setup - Select Packages pop-up window should appear on your screen.

      Do NOT click Next> yet! Follow the instructions below, to type a new word in the Search textbox.

    • Type clang into the textbox; the possible tools related to this name will appear in the window. When they do, to the right of just Devel(5) click the pull-down menu and select Install (although it should already be showing Install, because Devel was selected prior).

      The following Cygwin Setup - Select Packages pop-up window should appear on your screen.

      Do NOT click Next> yet! Follow the instructions below, to type a new word in the Search textbox.

    • Type libiconv into the textbox; the possible tools related to this name will appear in the window. When they do, to the right of just Devel(1) click the pull-down menu and select Install (although it should already be showing Install, because Devel was selected prior).

      The following Cygwin Setup - Select Packages pop-up window should appear on your screen.

      Do NOT click Next> yet! Follow the instructions below, to type a new word in the Search textbox. Rome total war for mac free.

    • Type gdb into the textbox; the possible tools related to this name will appear in the window. When they do, to the right of just Devel(4) click the pull-down menu and select Install (although it should already be showing Install, because Devel was selected prior).

      The following Cygwin Setup - Select Packages pop-up window should appear on your screen.

      Do NOT click Next> yet! Follow the instructions below, to type a new word in the Search textbox.

    • Type make into the textbox; the possible tools related to this name will appear in the window. When they do, to the right of just Devel(27) click the pull-down menu and select Install (although it should already be showing Install, because Devel was selected prior).

      The following Cygwin Setup - Select Packages pop-up window should appear on your screen.

      Do NOT click Next> yet! Follow the instructions below, to type a new word in the Search textbox.

    • Type cmake into the textbox; the possible tools related to this name will appear in the window. When they do, to the right of just Devel(5) click the pull-down menu and select Install (although it should already be showing Install, because Devel was selected prior).

      The following Cygwin Setup - Select Packages pop-up window should appear on your screen.

      Do NOT click Next> yet!

      Cygwin automatically installs the vim text editor. If you would like to install the emacs editor

      Type emacs into the textbox; the possible tools related to this name will appear in the window. When they do, to the right of just Devel(5) click the pull-down menu and select Install (although it should already be showing Install, because Devel was selected prior) and do the same with Editors(9).

      The following Cygwin Setup - Select Packages pop-up window should appear on your screen.

  11. (Finally!) Click the Next> button on this window.

    If this is your first installation of Cygwin, you may see the following Cygwin Setup - Review and confirm changes pop-up window on your screen (its pane contents might display different installs).

    If you have a previous installation of Cygwin, you may see the following Cygwin Setup - Review and confirm changes pop-up window on your screen (its pane contents might display different uninstalls). Xline 2 1 1.

    If you see either of these pop-up windows, click Next>.

    If this is your first installation of Cygwin, you may see the following Cygwin Setup - Resolving Dependencies pop-up window on your screen (its pane contents might display different information).

    If you see this pop-up window, click Next>.

  12. The following Cygwin Setup progress pop-up window should appear on your screen.

    It will cycle through the Downloading, Installing, and Running tasks. Downloading itself might take minutes (depending on your connection speed); Installing and Running can also take minutes. On my machine, with a fast connection speed, the entire process took about 15 minutes; sometimes it will pause for up to tens of seconds (often with 0% progress showing on the window); let it finish. My installation also occupied about

    Eventually this window will be replaced by the following Cygwin Setup - Installation Status and Create Icons window on your screen.

    I recommend that you leave checked the Create icon on Desktop checkbox, and uncheck the Add icon to Start Menu checkbox.

  13. Click the Finish button on this window. Place the (Cygwing64 Terminal icon) on your desktop in convenient place (especially if you plan to use this Cygwin toolset with a Command Line instead of CLion).
  14. Finally, place C:cygwin64bin on the Path, so that the Cygwin toolset is available for use.
    • Right-click Start (lower-left on Start menu)
    • Click Search
    • Type env into search box
    • Click Edit the system environment variables/Control Panel
    The following System Properties pop-up window should appear on your screen.
  15. Click the Environment Variables. button.

    The following Environment Variables pop-up window should appear on your screen.

  16. In the System variables (lower) part, scroll to line starting with Path and click that line (which should become highlighted).
    IMPORTANT: Even though you see a Path in the User variables (top part) look for Path in the lower part to change it.
  17. Click Edit. beneath this part.
  18. Copy the text C:cygwin64bin An Edit environment variable pop-up window should appear on your screen.
  19. Click New (upper-right)
  20. Paste the copied text (or just retype it) in the line at the bottom created by New.

    When done, the Edit environment variable pop-up window should look something like

  21. Click OK for each of the pop-up windows above, to terminate them (3 OKs total), and delete (X) the System window.

The Cygwin toolset (all the necessary programming tools) are now installed. You are now ready to install the CLion IDE; as an alternative you can also first test that you downloaded Cygwin correctly by following the instructions in Command Line Cygwin Tools.

Described below are several methods of starting up the Cygwin/X X Serverwith a startup utility that optionally starts initial clients (for example,a terminal, a window manager, or a desktop environment) and performsX server configuration (for example, loading a keyboard map).

Starting in multiwindow mode (startxwin)

The custom XWin startup utility startxwin[1] starts the X server in multiwindow mode.

startxwin is included in the xinit package(installed by following the instructions in the Section called Installing Cygwin/X in Chapter 2). Virtual dj serato skin download.

Run startxwin by:[2]

  • using the 'XWin Server' shortcut under 'Cygwin-X' on the Start Menu

  • Starting /usr/bin/startxwin in a Cygwin shell:

You may create a ~/.startxwinrc script to customize theclient programs started, rather than using the default/etc/X11/xinit/startxwinrc script.

Full documentation for startxwin can be read withman startxwin.

Starting an X desktop environment session or X window manager in windowed mode

Several X desktop environments are packaged for Cygwin.

  • GNOME Flashback Desktop Environment: install the gnome-flashback package

  • KDE Plasma Desktop Environment: install the kde-workspace package

  • LXDE Desktop Environment: install the lxde-common package

  • MATE Desktop Environment: install the mate-session-manager package

  • Xfce Desktop Environment: install the xfce4-session package

and use the provided Start Menu shortcut. [3]

Several X window managers are packaged for Cygwin.

Install Xfce On Debian

  • aewm++ window manager: install the aewm++ package

  • dwm window manager: install the dwm package

  • FVWM window manager: install the fvwm package

  • Openbox window manager: install the openbox package

  • twm window manager: install the twm package

  • WindowMaker window manager: install the WindowMaker package

Starting an X session with XLaunch

XLaunch is a GUI wizard for starting the Cygwin/X X server and a local or remote X client. These sessions can be saved and shared as .xlaunch files. Logic pro x alchemy manual.

XLaunch is included in the xlaunch package (installed by following the instructions in the Section called Installing Cygwin/X in Chapter 2).

Run xlaunch using the 'XLaunch' shortcut under 'Cygwin-X' on the Start Menu.

Arch Linux Install Xfce

Documentation for xlaunch is available at http://x.cygwin.com/docs/xlaunch/ and as online help within the program.

Starting in windowed mode (startx)

Ubuntu Install Xfce Command Line

Use the standard X Window Systemstartx command and its associated~/.xinitrc configuration file.

Run startx in a Cygwin shell:

Full documentation for startx can be read withman startx.

You maycreate a ~/.xinitrc from the template in /etc/X11/xinit/xinitrc and then customize~/.xinitrc to start client programs and configureyour X server.

Note: startx waits until ~/.xinitrc exits(which is often waiting for a window manager started by it to exit) andthen kills X, so the last client started by should be startedwith exec and without &.

Alternatively, if you just want to start a single client program (perhaps a windowmanager), you don't need to use a ~/.xinitrc, andcan start the client directly from startx, e.g.[4]

Note: The client name supplied to startx must begin with / or .,otherwise it is treated as an option to the default xterm client.

Notes for advanced users

Advanced users may wish to start the X server by invoking XWin directly,for example, to start XDMCP sessions (See the Section called Remote sessions via XDMCP).

If you want to have a Start Menu shortcut which runs startxwin with custom options, you shoulduse a copy of the Start Menu shortcut installed by xinit, so that yourchanges are not overwritten when the xinit package is updated.

Obsolete startup methods

The MS-DOS batch file startxwin.bat and bash shell script startxwin.shpreviously used to start the X server are no longer provided. This implementation made it difficultto reliably wait until the the X server had started before starting any clients.Use startxwin instead.

The executable startxwin.exe previously used to start the Xserver has been retired and replaced with a shell script startxwin.

Notes[1]

startxwin is a specialized version of startxwith a few differences appropriate to running in multiwindow mode, rather than windowed mode.

  • startxwin supplies the -multiwindow option toX

  • It uses a different script to start clients (~/.startxwinrcrather than ~/.xinitrc), because ~/.xinitrcwill normally end by starting a window manager, which would be incorrect for ~/.startxwinrc (as it would discover the internal window manageris already running and exit immediately).

  • Note that startxwinno longer exits after~/.startxwinrc has completed, leaving Xrunning, but, similar to startx, waits until~/.startxwinrc exits and then kills X.

    If you don't want the X server to exit until explicitly told to do so, end your~/.startxwinrc with something like exec sleepinfinity.

[2]

It's not recommended to start startxwin from a MS-DOS shell or by double-clicking it inWindows Explorer. To do so means that the X server is not started from a login shell, and programs started fromthe notification area icon menu will not inherit the environment of a login shell. This may lead to unexpectedbehaviour, for example, if you have customizations to your login shell start-up scripts which set environment variables.

How To Install Xfce 4.14

[3]

Alternatively, these sessions can be started from the command line, e.g. or and then running startx.

[4]

Note that startxwin and startx use thespecial option -- to mark the end of client options and thebeginning of server options, So, for example, if you wish to also start the Xserver with the options -emulate3buttons and-noclipboard, as described in the Section called Command line parameters in Chapter 4, use the following command:

PrevHomeNextSetting Up Cygwin/XDisplaying local clients




How To Install Xfce On Cygwin
Back to posts
This post has no comments - be the first one!

UNDER MAINTENANCE