From FarmShare

Jump to: navigation, search

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.


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.

Personal tools