Hi Adam, There are a number approaches to the problem. Here are 2 of the most common.
1. Edit the "/etc/X11/gdm/Init/ws00X:0" file to include you app. This file is used to set the workstation background color and image. Add a line at the end of the file to execute your app. There is also a "Default" file that can be used to load your app on all of the work stations. The downfall to this approach is when the app is terminated the GDM login screen will appear. Also the GDM parent will trap a number of alarm signals including SIGALRM. (often used to display information during periods of inactivity) 2. Change the "/opt/ltsp/i386/etc/rc.local" to create a different /tmp/start_ws" script. LTSP out of the box will create a file that looks like; "/usr/X11R6/bin/XFree86 -ac -query 192.168.0.254" This invokes the workstations Xserver and sends out the XDMCP request to the host. GDM then responds by invoking "gdmlogin" on the work station after executing the "/etc/X11/gdm/Init/ws00X:0" init script. If you are interested in a POS or Kiosk app to run on the WS. You can do the following; a) Edit the rc.local file to create an "start_ws" entry like "/usr/X11R6/bin/XFree86 -ac". This will start the Xserver and allow other hosts to write/read it. The WS just sits there with a gray hatch waiting for step b). b) From the host you can start the app and redirect XIO to the WS. If your app was say "/usr/bin/xpos", the you start the X app with the -display argument i.e "/usr/bin/xpos -display ws00X:0" Your app will run on the work station just as though it was stared there. You may want to create a table of apps that are to be run on different work stations. A daemon process can start the apps on the designated work station and in the event a WS terminates can re-start the app. Hope this helps Serge http://www.omensys.com/ -------- Original Message -------- Subject: [Ltsp-discuss] Starting an X app other than a DM Date: Thu, 31 Jan 2002 19:34:30 -0800 From: Adam Wiggins <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] I want the terminal apps to boot straight to a specific X application, bypassing the login. What's the easiest way to do that? Do I need to cut-n-paste the xdm server code out of xdm/kdm/gdm and paste it into my app so that it acts as an X server? Ideally there's an xdm that just serves as a pass-through, logging in a user and executing a certain app. But I have been unable to find such a thing. Thanks, - Adam Wiggins http://www.trustcommerce.com _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.openprojects.net _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.openprojects.net