Cygwin Shell – Set up X Server

on

cygwin
step by step:
Create the file~/.xinitrc. with just this one line:

exec wmaker

There are several possibilities for doing so:

  • Edit/create it in the Cygwin shell, e.g.,
    nano ~/.xinitrc

    or

    vim ~/.xinitrc
  • Edit/create it in Windows. The file name is probably:
    c:\cygwin\home\MY_WINDOWS_LOGIN\.xinitrc

Then start the X server from the Cygwin shell:

$ xinit

This should start the WindowMaker window manager. The terminal you need, xterm, is easily activated by double-clicking the blue terminal icon on the right-hand side. A more complete menu (which may not be too useful) can be gotten by right-clicking on the screen. This should start the openbox window manager. You should be able to right-mouse-click on the screen and bring up the menu which says Openbox at the top. Choose the first menu item, an xterm. Again, if you have an account on the WCU computer science student Linux server, you can use X-forwarding from this server to your computer running Cygwin/X. As an example, we forwardxemacs as follows:

$ ssh -Y -l MY_TAZ_LOGIN taz.cs.wcupa.edu
Password:
[taz]$ xemacs &

Note that the usual option to invoke X-forwarding is “-X”, but we need to use the fake-authenticated replacement “-Y” in this situation.

Download Cygwin in original website [Download]

Link Sumber: http://www.cs.wcupa.edu/

One Comment Add yours

  1. google mengatakan:

    Everyone loves it when people get together and share ideas.

    Great site, keep it up!

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s