Reply To: Environment Variables to run hcismat

Homepage 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

Forum Statistics

Registered Users
5,116
Forums
28
Topics
9,292
Replies
34,432
Topic Tags
286
Empty Topic Tags
10