Middle East Technical University Computer Center
  >> Licensed Software >>X-WinPro and Cygwin/XFree86 Software
X-WinPro and Cygwin/XFree86 Software

X-WinPro and Cygwin/XFree86

 

XWINPRO

 

X-WinPro is a program that will turn your PC into an X-Window client. You can take the files needed for the installation of X-WinPro16 for MS Windows 3.x from the FTP site with the address ftp://ftp.cc.metu.edu.tr/Utils/XWinPro/XWinPro16/ and X-WinPro32 for MSWindows 95/98/NT/2000/XP from the FTP site with the address ftp://ftp.cc.metu.edu.tr/Utils/XWinPro/XWinPro32/

Notice: Users, who would connect to the FTP licensed software site with a browser other than Internet Explorer, shall write ftp://user_name@ftp.cc.metu.edu.tr to the address line. Due to the license agreements that are made, this site is accessible to METU personnel only.

Installation of X-WinPro

Important Notice!

Please do not try to install license.exe on top of version 4.0, 4.0.6 or 4.1. If you are using one of these, uninstall it before continuing.

A) If you have X-WinPro 4.2 installed on your PC already:

1. Uninstall existing X-WinPro using uninstall shield from X-WinPro's program group.

2. Run/extract this license.exe to the same directory where you have stored X-WinPro's installation files (default is c:\xinstall). If you have deleted c:\xinstall directory and xwp32.exe or xwp16.exe, you need to download it again after step 1.

3. License.exe file includes the files disk1.id and xwpdllid.dll. When you extract license.exe to X-WinPro's installation directory, you have to replace the existing disk1.id and xwpdllid.dll with the files which come with license.exe

4. Install X-WinPro again (run c:\xinstall\setup.exe)

B) If you do NOT have X-WinPro 4.2 installed on your PC yet:

1. Run downloaded xwp32.exe or xwp16.exe, but in the first WinZip Self-Extractor dialog screen, remember to disable "When Done Unzipping Run: SETUP.EXE" option.

2. Run/extract this license.exe to the same directory where you just stored X-WinPro's installation files (default is c:\xinstall).

3. License.exe file includes the files disk1.id and xwpdllid.dll. When you extract license.exe to X-WinPro's installation directory, you have to replace the existing disk1.id and xwpdllid.dll with files which come with license.exe

4. Install X-WinPro (run c:\xinstall\setup.exe)

To be able to run the software that require X-Window environment, install X-WinPro and run the "XSession" file which is available in the directory that the software is insatlled in. Then, you must enter the following command on the command line of server systems (such as orca, beluga etc.);

export DISPLAY=IP_NO:0.0

(You should enter the IP number of your system on the IP_NO section of this command.) Having performed these steps, you are now able to run the software you would like to use with X-Winpro. If you would not prefer to write the same command each time you log on to the system, you must create a file named ".profile" on the server system and enter that command into that file.

SYSTEM REQUIREMENTS

X-WinPro is a simple but powerful 32-bit software package, which provides a cost effective way to transform your PC into a powerful X Window System workstation. To get started, all you need is the, WinPro package and a standard 32-bit networked PC and Windows 95, 98, NT, 2000 or XP. X-WinPro provides full support for multiple X applications and sophisticated window managers, including TWM, Motif and Open Look. You have a consistent graphical user interface for all your applications, and get more productivity with less effort.

Frequently Asked Questions About X-Win Pro

Q: A little while after X-WinPro starts to operate, the program displays a warning message telling that it is going to disconnect itself; and it does disconnect itself a minute later. I am in the middle of my work. How do I fix this problem?
A: After the program runs Xsession, right-click the mouse and select "About" option in the menu displayed. In the next window displayed, please check whether the following statement is diplayed or not;

For demonstration use only
Demo
Serial Number: Evaluation license for...

If you encounter this statement on the window, it means that the software is still running the demo version. You have to reinstall the software in accordance with the installation procedures which are available at the installation pages.

Cygwin/XFree86

Cygwin/XFree86 software can be a free alternative to XWinPro software. You can download this software from the following web address;

http://cygwin.com/xfree/

During installation, in addition to the standard options selected, Xfree86 category should be selected as well -and if the connections will be established through ssh program, "openssh" option under the Net category should be selected.

After completing the installation of Cygwin/XFree86, the following instructions should be performed to run on server systems the software that require X-Windows environment.

1- Click the Cygwin icon and start the program. (The icon is will be available on "Start menu" and/or on the desktop according to the settings you have previously defined during the installation)

2- The following commands should be entered respectively on the command line of the window displayed:

cd /usr/X11R6/bin/
startxwin.bat
telnet "the name of the server you want to connect to" or
ssh "user_name@the name of the server you want to connect to"

In the next step, the user connects himsel/herself to the server system with his/her user code.

e.g.

The "user", who would like to run "spss" software by connecting to "beluga" server through ssh, should enter the following commands at this step (the same example is maintained in the 3rd and 4th steps to explain the commands) :

cd /usr/X11R6/bin/
startxwin.bat
ssh user@beluga.cc.metu.edu.tr

3- In the second step,

xhost "the name of the server you have connected to"

command should be entered on the window that is displayed;

e.g.

xhost beluga

4- After the following command is entered on the Telnet/ssh screen (if this command is available in .profile file, you do not have to enter it once again) , you should enter the command that is required to run the software that necessitates X-Windows environment. Then, the software shall start on the second window.

export DISPLAY=IP_NO:0.0

e.g.

export DISPLAY=IP_NO:0.0
spss

For more information about Cygwin/XFree86 software, please refer to the following web address, http://cygwin.com/xfree/

You can ask related questions to the e-mail address swadminmetu.edu.tr