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 SBOx-smartcamera to display complex bitmap-graphics on a remote display.
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 and has the -nolisten tcp
option set ⇒ goto 2.) else goto 3.)
-nolisten tcp
tells X to do not listen to any incoming TCP connections, hence, it prevents X clients to connect to your X server. Change to superuser and edit the kdmrc (the location of this file depends on your Linux distribution and version) filesu 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
xhost +192.168.2.10
if the camera has the IP 192.168.2.10 to explicitely allow X client connections from this address.
⇒ now all visualization from the camera is sent to a X11 view on the Linux-PC
Multiple Windows
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 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
export DISPLAY=<host-ip>:0.0
To test the installation start the minimal-application xeyes on your FESTO SBOx-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