Table of Contents

Overview and history

In computing, the X Window System (commonly X11 or X) is a display protocol which provides windowing on bitmap displays. X provides the basic framework, or primitives, for building GUI environments: drawing and moving windows on the screen and interacting with a mouse and/or keyboard. Unlike previous display protocols, X was specifically designed to be used over network connections rather than on an integral or attached display device thus enabling your Festo SBO-smartcamera to display complex bitmap-graphics on a remote display.

X Windows principle

Prepare your host-pc

Linux (Suse 9.3)

  1. check whether your X11 settings are correct
    ps -elf |grep X

    if an entry

    /usr/X11R6/bin/X -br -nolisten tcp :0 vt7 -auth /var/lib/xdm/authdir/authfiles/A:0-gGevH0

    exists ⇒ goto 2.) else goto 3.)

  2. change to superuser and edit the kdmrc 1) file
    su
    cd /etc/opt/kde3/share/config/kdm/
    vi kdmrc

    changing the line at block [X-:*-Core]

     ServerArgsLocal=nolisten tcp 

    to

     ServerArgsLocal= 

    and restart your X11 session (logoff and log on) if modifications of kdmrc are made

  3. in a shell enter
    xhost +192.168.2.10

    if the camera has the IP 192.168.2.10

⇒ now all visualization from the camera is sent to a X11 view on the Linux-PC

Windows X-Server

Hummingbird Exceed

  1. start the program Exceed

X-Ming

  1. download the xming setup files (versions > 6.9.0.5 DO NOT support Windows 2000!!) from
    http://sourceforge.net/projects/xming or
    http://www.straightrunning.com/XmingNotes/
    further information is also found at http://freedesktop.org/wiki/Xming
  2. install the xming-server
  3. if you have downloaded the 6.9.0.5 version ⇒ download also an actual XLaunch version and replace the 6.9.0.5 Xlaunch executeable with the newest one
  4. start XMing always via xlaunch and follow the wizard
    • Select Multiple Windows
    • set display number: 0
    • Select Without access control !!!!

in case of a saved configuration you can use

     xlaunch -run <configfile>

⇒ now all visualization from the camera is sent to a X11 view on the Windows-PC

If not check your firewall settings if port 6000 is open

Cygwin

Cygwin contains a version of the Xfree86 X-server. You need to select appropriate X-server packages when installing cygwin on your development machine.
To use this server you need the command:

user@myhost /cygdrive/c
$ startx

Enable your Festo SBO-smartcamera to work with X11

export DISPLAY=<host-ip>:0.0

To test the installation start the minimal-application xeyes on your Festo SBO-smartcamera

xeyes

If no eyes are visible on your remote display try the following steps changing the local firewall settings. The following
command-sequences are valid for SuSE 9.3 for instance:

vi /etc/sysconfig/SuSEfirewall2
FW_SERVICES_EXT_TCP="ssh 6000"
/etc/init.d/SuSEfirewall2_setup restart
1) the location of this file depends on your Linux distribution and version