Reply To: Environment Variables to run hcismat

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Environment Variables to run hcismat Reply To: Environment Variables to run hcismat

#57583
Anonymous
Participant

    AS hci user with the tcsh you should be able to execute an alais that will set your DISPLAY variable

    it is called

    setdisplay

    and would look like this in your /home/hci/.cshrc.local.end

    alias setdisplay setenv DISPLAY `who am i | awk “‘”‘{ print $6}'”‘” | sed “‘”s/”[()]”//g”‘”`:0.0

    or you could execute the entire cmd yourself

    setenv DISPLAY `who am i | awk ‘{ print $6}’ | sed ‘s/[()]//g’`:0.0