X-Win32 provides a secure remote login to USC UNIX hosts; it is an application that allows Windows Vista, Windows 7, and Windows 8 systems to run X-Windows applications over the USC network. NOTE: If you are using X-Win32 from an off-campus location, you will need to connect to USC’s VPN.
- After downloading the software from software.usc.edu/x-win32, double-click the x-win32-2014.46-USC.exe file to begin the installation process.
- The X-Win32 Setup Wizard will launch. Click Next to continue with the installation.
- On the End-User License Agreement screen, review the license agreement and then check I accept the terms in the License Agreement. Click Next.
- On the Destination Folder screen, choose a folder in which to install X-Win32 or accept the default location and click Next.
- On the Ready to install X-Win32 screen, click Install.
- After a few moments, the completion notice will come up. Click Finish.
Connecting to USC Servers with X-Win32
X-Win32 consists of several components: the X-Win32 application, the X-Win Config, and the F-Secure SSH Client.
To run the X-Win32 application and open a xterm session from a Windows 10 computer, follow these steps:
- From the Start menu, select All Apps and then X-Win32 2014. The X server program will start.
- Click Shared Sessions in the Connections tab to bring up a list of pre-configured hosts (BCF, RCF, SCF, ITS, or HSC) .
- Select the host you wish to connect to and double-click Launch to begin your X-Win session.
- You’ll be prompted for a login (your USC username) and a password (your USC password).
- If your login and password are accepted, X-Win32 will display an xterm window. From there, you may run other X-windows applications.
Note: The directory /usr/usc/X11/bin must be in your UNIX path environment variable to run most common X-applications.
Creating Sessions for X-Win32
The second program, X-Config, is used to edit sessions and configure various aspects of X-Win32’s behavior. You may use X-Config to do several things that will modify the way X-Windows look and run.
To create a new session, the steps are as follows:
- Select X-Config from the X-Win32 menu.
- Under New Connection on the right-hand side of the screen, click the Manual button to begin session creation.
- If you are connecting to an ITS host, select ssh as your
Connect Method. Click the Next button
- Enter relevant information into the New Session box.
- The session name is just the name that will appear in the menu (i.e. HSC).
- The host name you wish to connect to (i.e. hsc.usc.edu)
- Your login user id on that host (i.e. ttrojan)
- The command to be executed. The command to be executed for the session must include a display parameter.
Typically, this is provided as follows:
xcommand -display string:X.Y [options]
xcommandis the X-Windows client command.
stringwith the actual name of the computer whose X-server is to receive the client display, and X.Y is a code indicating on which screen it will be displayed.
If you are on campus, an example would be
mymachine.usc.edu:0.0(if your machine were named mymachine)
If you are working from a ResNet or USC VPN connection, you can use the string
The command above becomes
/usr/usc/X11/bin/xterm -display $MYIP:0.0
You can make modifications to the way your xterm window appears by placing the following on the command field:
/usr/usc/X11/bin/xterm -display $MYIP:0.0 -ah -bg
Black -fg Gray -ls -sb -sl 500 -geom 80x24+0+0 -T "xterm"
Please refer to the command
man xtermfor information on what these modifications do.
If you would like your entire X session to be tunneled and encrypted
with SSH, use the command
-ah -bg Black -fg Gray -ls -sb -sl 500 -geom 80x24+0+0 -T "xterm"
Using the command without the
flag can be slower and problematic, but will securely encrypt all
ITS recommends that you quit all currently running X-applications before exiting from the xterm. If you do not quit all applications properly, they may stay running after you exit. You can check running processes with the
ps -gx command.
To quit X-Win, right-click the X-Win icon in the notification area at the far right of the taskbar located at the bottom of your screen and select Exit.
X-Win32 Menu Options
X-Win32 has numerous menu options. These menu options are accessed by right-clicking the X-Win icon in the notification area at the far right of the taskbar. Several essential options are included below.
- The Shared Sessions menu has several sessions pre-configured for use with USC Systems; you may select one of those sessions to initiate an X client program
on a properly configured remote system.
- Help may be selected to bring up a menu from which you can view Release Notes, Licenses, or Request Support. This is useful to diagnose problems that you are having connecting to the server or launching applications.
- The X-Config menu option will start the X-Config program. This tool will allow you to manage and edit your sessions.
- The Reset menu option will end all active sessions. You will lose unsaved data in open applications when you choose this option.
Note: If you have multiple user accounts on your PC, the sessions that the installer creates are only available for the user who installed it. You willneed to manually create sessions from other user accounts in order to use X-Win32.