Page History
...
By default the vrlclient.xml location is /Users/YourUsername/.ChaosGroup folder.
In order for the variable to be valid for both terminal and GUI, you need to set it using either enviroment.plist or launchctl depending on your macOS version.
If you are running OS X Yosemite or newer, you should add the variable using an environment.plist file.
- Download the attached setenv.chaos_group.VRAY_AUTH_CLIENT_FILE_PATH.plist example file and edit the location of vrlclient.xml file using a text editor.
...
If you are running OS X Mavericks or older you should add the variable in the launchd.conf file.
Open the file using super-user privileges: sudo vi /etc/launchd.conf
Next, add the variable as follows: setenv VRAY_AUTH_CLIENT_FILE_PATH //SERVER/path/to/directory
Then save the file.
UI Text Box | ||
---|---|---|
| ||
Note that you need to reboot the machine after that in order for the changes to take effect. |
You can check the web for more details on setting environment variables for your Mac version.
Linux
...
By default the vrlclient.xml location is /home/YourUsername/.ChaosGroup folder.
Set the VRAY_AUTH_CLIENT_FILE_PATH environment variable to point to the vrlclient.xml file.
...
For csh/tcsh: setenv VRAY_AUTH_CLIENT_FILE_PATH=//SERVER/path/to/directory/
To set the variable system wide create a custom.sh shell script in /etc/profile.d/