From: Jim M. <jam@McQuil.Com> - 2001-12-28 20:47:33
|
Serge, The DISPLAY environment variable will tell you the workstation name. If you do echo $DISPLAY you will see something like "ws001:0.0" you can extract the hostname from that using awk or cut or a handfull of other utilities. Take a look at the LTSP 3.0 documentation for starting local apps, it shows an example of getting the hostname. Hope that helps, Jim McQuillan ja...@lt... Serge B Bromow wrote: > LTSP Rocks, > > That being said, My application running on the server needs to > know which workstation it is being run from so that I can > configure certain features that are work station specific. > > Is there a call/routine/program/scheme that I can call to determine > which station the application was started from? > > Any help appreciated. > > > > > _____________________________________________________________________ > 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 > |