I'mTesting out a kiosk setup with a desktop chooser GUI application. I have set the Generic kiosk from the URL:
http://wiki.sun-rays.org/index.php/SRSS_Addon:_Kiosk_Mode_Generic_Session And following the concept of the cam chooser at : http://blogs.sun.com/ThinkThin/entry/cam_chooser_applicationI'm running my own little Java gui to do the same thing as the cam chooser. My Java gui shows four buttons: on to connect to a Windows desktop using uttsc; Second button to connect to a Linux destop using Xnest; Third button to connect to a Solaris destop again using Xnest; fourth button to reset the kiosk session. My problem I'm seeing is when I try to connect to another Linux or Solaris workstation from the Java gui using Xnest, the keyboard doesn't work. Mouse is fine. This is my script the Jave gui executes:
#!/bin/sh HOST="machine_name" WINDOW_SIZE="1600x1200" WINDOW_POS="0+0" GEOMETRY="$WINDOW_SIZE"+"$WINDOW_POS"HIGHEST_DISP=`netstat -an -P sctp | grep X11 | awk '{print $NF}' | sort -nut X -
k 3,3 | tail -1 |sed 's/\/tmp\/.X11-unix\/X//'`
if [ "$HIGHEST_DISP" = "" ]; then
HIGHEST_DISP="0"
fi
# add a small offset
FREE_DISPLAY=`expr $HIGHEST_DISP + 10`
/usr/openwin/bin/Xnest :$FREE_DISPLAY -pn -geometry $GEOMETRY -once
-query $HOST
## End ScriptI got the guts of this from a posting on this list. Now funny thing, if I first try to connect to a Windows server using uttsc, exit from that and then try to connect to a Linux or Solaris station from the Java gui the keyboard works?? What I'm I missing when executing the Xnest command? Using basic Sun keyboards model 6 usb.
-- C. J. Keist Email: [email protected] UNIX/Network Manager Phone: 970-491-0630 Engineering Network Services Fax: 970-491-5569 College of Engineering, CSU Ft. Collins, CO 80523-1301 All I want is a chance to prove 'Money can't buy happiness'
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ SunRay-Users mailing list [email protected] http://www.filibeto.org/mailman/listinfo/sunray-users
