Jesper, Sure, just look at the $DISPLAY environment variable. It should be something like: ws001:0.0
You just need to split the field on the ':', and grab the first part of the field. Jim McQuillan [EMAIL PROTECTED] On Sat, 16 Oct 2004 [EMAIL PROTECTED] wrote: > hi is it posible to get the clients hostname to use in a shell script?? > > i want to run a script and it should only affect "this" client i am using ... > > Cheers > Jesper > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _____________________________________________________________________ > 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.freenode.net > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _____________________________________________________________________ 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.freenode.net
