[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference csc32::consolemanager

Title:POLYCENTER Console Manager
Notice:Kits, Scans, Docs on CSC32:: as PCM$KITS:,PCM$DOCS:, PCM$SCANS:
Moderator:CSC32::BUTTERWORTH
Created:Thu Aug 06 1992
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1541
Total number of notes:6564

67.0. "C3 display to remote workstations" by VLNVAX::EMOND () Wed Apr 07 1993 22:26

    How can I send a C3 window to a workstation everytime CM starts up?
    
    I've tried a few script files, but had no luck. 
    
    #/bin/csh
    su - mr2sys
    setenv DISPLAY ssmino:0.0
    cm &
    
    Val
    
T.RTitleUserPersonal
Name
DateLines
67.1Where are you calling this?OPG::SIMONThu Apr 08 1993 17:2324
Val,
    are you trying to call this script from the rc.local  startup 
file after the cm startup itself?

There is an error in your procedure if that is what you are trying.
Startup uses sh and setenv don't work.


Your first line should read:
#!/bin/csh

Also when calling from the startup shell always fully qualify your
command path.


Try this instead:

#!/bin/csh
     /bin/su - mr2sys -c "setenv DISPLAY ssmino:0.0 ; /usr/bin/cm &"

This worked for me

Cheers SImon....
              
67.2remote C3 windowVLNVAX::EMONDThu Apr 08 1993 22:545
    
    Thanks, that did the trick, now the next question, where is the best
    place for it. cm_startup or rc.local?
    
    Val
67.3rc.localOPG::PHILIPAnd through the square window...Fri Apr 09 1993 10:077
Val,

  The best place would be rc.local, as the next release of Console Manager
  will replace cm_startup.

Cheers,
Phil
67.4 exit on Console Manager ShutdownVLNVAX::EMONDFri Apr 09 1993 16:084
    Thanks again, in the next release will the C3 windows exit on Console
    Manager Shutdown? 
    
    Val
67.5Go persuade Dave BigelowOPG::PHILIPAnd through the square window...Fri Apr 09 1993 22:5414
Val,

>>    Thanks again, in the next release will the C3 windows exit on Console
>>    Manager Shutdown? 
    
  We had no plans for the C3 work this way, although it could be something
  the user could set I suppose, just like we have done this for the event
  list.

  Dave Bigelow is writing the C3 and he reads this conference, so, if he
  has time, you never know what may happen.

Cheers,
Phil