Search


About StarNet

StarNet Communications has been a leading developer of X Windows solutions since 1989. After establishing X-Win32 as the de facto standard in the higher education market during the early to mid-1990s -- 150 unlimited Campus Site Licenses worldwide -- X-Win32 has become of one the top three PC X servers in the government and commercial sectors as well.

Unlike its major rivals, Exceed (Hummingbird) and Reflection-X (WRQ/Attachmate), X-Win32 offers a highly focused PC X server that offers superior performance and productivity features, stability, ease of use and low cost (40% or better in most cases).

StarNet also delivers unequaled customer support. Our state-of-the-art engineering infrastructure allows us to fix problems and make a new release available quickly (overnight in many cases). As our testimonials page shows, StarNet customers consistently rate their X-Win32 experience as the best in the industry.




Invoking other Windows programs with X-Win32

X-Win32 can invoke other Windows programs as X-Win32 Sessions via the command connection module in X-Config. The command module allows you to start an arbitrary program on Windows (typically a batch file), passing it the session command variables as environment variables (e.g. DISPLAY, MYIP, DNUM, IPSMART, LOGIN, PASSWORD, and HOST).

Creating a command session

  1. Open X-Config
  2. Select the Sessions tab
  3. Click the Add… button
  4. Select command from the Connect Method dialog
  5. Enter the full path to your program or batch file in the Target field
  6. Enter the working directory in the Start In field
  7. Save the session
  1. Invoke the session by clicking the Launch button in X-Config

    Screenshot of a new command session

    new-session-command.png

    Example batch file (mybatch.bat)


    @echo off

    set DISPLAY=localhost:%DNUM%

    putty -X my_unix_host

    Category:Sessions -> command




How Can We Improve This KB Article?

Please rate the quality of this article: Excellent Good Fair Poor

Did this article answer your question? If not, we'd like to hear more about it:

Do you need additional assistance? If so, enter your email address:

Articles are periodically updated based on your feedback. If you enter an email address, then you will be given the opportunity to open a case, for which you will receive a response within 2 business days.