James Thornton logo
James Thornton
Google
Web jamesthornton.com
Internet Business Consultant
Home Blog Bio Projects Contact
JamesThornton.com -\> Writing -\> Securing X-Win32 Sessions

Securing X-Win32 Sessions with SSH: HOWTO

Summary: Explains how to set up SSH and X-Win32 to secure X-Win32 sessions.

Configure X-Win32

  1. Open the X-Win32 Configurator: click Start -> Programs -> Network Apps -> X-Win32 x.x -> X-Config
  2. Click the tab labeled "Security"
  3. Click "Add..."
  4. Enter 127.0.0.1 and then click "OK"
  5. Check "Access Control"
  6. Check "Use XAuth"
  7. Click the tab labeled "Display"
  8. Ensure that an available IP is checked, and then write it down or click "Copy"
  9. Click "OK"

Configure SSH

SSH's default configuration has X11 tunneling enabled, but you can double check to be sure:
  1. Open SSH: click Start -> Programs -> Network Apps -> SSH Secure Shell -> Secure Shell Client
  2. Click "Profiles"
  3. Click "Edit profiles..."
    Note: "Quick Connect" will be highlighted, but if you have a custom profile, then you should edit it instead.
  4. Click the tab labeled "X11 Tunneling"
  5. Ensure that "Tunnel X11 connections" is checked
  6. Click "OK"

Start X-Win32

  1. Open the X-Win32 Configurator: click Start -> Programs -> Network Apps -> X-Win32 x.x -> X-Win32
  2. On the window labeled XDMCP Selector, click "Cancel"

SSH to a UNIX/Linux System

  1. Open SSH: click Start -> Programs -> Network Apps -> SSH Secure Shell -> Secure Shell Client
  2. Click "Quick Connect"
  3. Enter the parameters and then click "Connect" (the following parameters are for Baylor ECS students):
    Host Name: molar
    
    User Name: <your username>
    
    Port Number: 22
    
    Authentication: Password
  4. Enter your password
  5. Test that it works by running an X-app:
    $ xeyes

Follow espeed on Twitter