Cadence
From FarmShare
(Created page with "== Troubleshooting VNC == Instructions for running Cadence may recommend sourcing the script that sets up its environment, DOT.cshrc, in ~/.cshrc. This script makes changes to $L...") |
|||
Line 1: | Line 1: | ||
- | == Troubleshooting VNC == | + | == Troubleshooting VNC == |
+ | |||
Instructions for running Cadence may recommend sourcing the script that sets up its environment, DOT.cshrc, in ~/.cshrc. This script makes changes to $LD_LIBRARY_PATH that can break other applications, including '''vncserver''' If you find that you are unable to start a new VNC session after following such instructions you can restore the default shell environment by running updaterc. | Instructions for running Cadence may recommend sourcing the script that sets up its environment, DOT.cshrc, in ~/.cshrc. This script makes changes to $LD_LIBRARY_PATH that can break other applications, including '''vncserver''' If you find that you are unable to start a new VNC session after following such instructions you can restore the default shell environment by running updaterc. | ||
- | /usr/pubsw/bin/updaterc | + | <pre>/usr/pubsw/bin/updaterc</pre> |
The DOT.cshrc file can then be sourced manually after connecting successfully. Alternatively, you can set $LD_LIBRARY_PATH in ~/.cshrc before sourcing the file, to ensure that VNC can find its libraries. | The DOT.cshrc file can then be sourced manually after connecting successfully. Alternatively, you can set $LD_LIBRARY_PATH in ~/.cshrc before sourcing the file, to ensure that VNC can find its libraries. | ||
- | setenv LD_LIBRARY_PATH /lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu | + | <pre>setenv LD_LIBRARY_PATH /lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu |
source /usr/class/ee315a/DOT.cshrc | source /usr/class/ee315a/DOT.cshrc | ||
+ | </pre> | ||
Setting or changing this environment variable in ~/.cshrc or ~/.login is '''NOT''' recommended, however. If sourcing DOT.cshrc manually is inconvenient, a better solution would be to create a local wrapper script for Cadence that sets up the environment before starting the application. | Setting or changing this environment variable in ~/.cshrc or ~/.login is '''NOT''' recommended, however. If sourcing DOT.cshrc manually is inconvenient, a better solution would be to create a local wrapper script for Cadence that sets up the environment before starting the application. | ||
+ | |||
---- | ---- | ||
+ | |||
Search the farmshare-discuss archives for posts about [https://mailman.stanford.edu/mailman/swish?query=Cadence&submit=Search+farmshare-discuss%21&metaname=swishdefault&sort=unixdate&listname=farmshare-discuss Cadence]. | Search the farmshare-discuss archives for posts about [https://mailman.stanford.edu/mailman/swish?query=Cadence&submit=Search+farmshare-discuss%21&metaname=swishdefault&sort=unixdate&listname=farmshare-discuss Cadence]. |
Revision as of 12:04, 26 April 2012
Troubleshooting VNC
Instructions for running Cadence may recommend sourcing the script that sets up its environment, DOT.cshrc, in ~/.cshrc. This script makes changes to $LD_LIBRARY_PATH that can break other applications, including vncserver If you find that you are unable to start a new VNC session after following such instructions you can restore the default shell environment by running updaterc.
/usr/pubsw/bin/updaterc
The DOT.cshrc file can then be sourced manually after connecting successfully. Alternatively, you can set $LD_LIBRARY_PATH in ~/.cshrc before sourcing the file, to ensure that VNC can find its libraries.
setenv LD_LIBRARY_PATH /lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu source /usr/class/ee315a/DOT.cshrc
Setting or changing this environment variable in ~/.cshrc or ~/.login is NOT recommended, however. If sourcing DOT.cshrc manually is inconvenient, a better solution would be to create a local wrapper script for Cadence that sets up the environment before starting the application.
Search the farmshare-discuss archives for posts about Cadence.