StarNet Communcations Home Innovative X Server Solutions for Windows
Store Products Support Downloads About Us Contact
X-Win32 Command-Line Feature



X-Win32 now offers a command-line feature that allows users to dynamically invoke a session. This is useful in cases where there are multiple Unix/Linux servers and you are using a server load-balancing utility.

Using this feature, an algorithm can be written to determine the best Linux/Unix host (based upon system load) for a new session, and then use this information to direct the user to the appropriate server. Suppose, for instance, that there are three Unix servers on a local departmental network. After determining that "server 2" has the smallest load, it is possible to direct a new user session to that server. This allows optimum server utilization to be realized.

The command-line feature is used as follows:

XWin32.exe -m flags session_type args

Where:
Flags (one of the window modes must be chosen):
M - Switch to multiple-window mode
S - Switch to single-window mode
D - Switch to default-window mode
W - Show messages
Session_type: XDMCP, REXEC, RSH, and SSH
args (dependent on session type):
Xdmcp Session:
none - Use broadcast mode
hostname - Use query mode to "host_name"
hostname, hostname,... - Use multicast mode to all listed hosts
~hostname - Use indirect mode
Rexec, rsh, or ssh Sessions:
hostname:userID::command
Examples:
XWin32 -m WS XDMCP server2
XDMCP query-mode session to "Server2" showing messages and switching to single-window mode
XWin32 -m WD REXEC apollo1:mike::/usr/bin/X11/xterm -display $MYIP:$DNUM
REXEC session to "apollo1" logging in as "mike" and starting an xterm using the current IP address and isplay number. Use default window mode.

Back To Top