How can I use ssh instead of rsh to launch tvdsvr processes?
To use ssh instead of rsh to launch tvdsvr processes, you will need to change the server launch string. Begin by opening the File > Preferences Dialog Box and selecting the Launch Strings Page.
Look at the Enable single debug server launch area. At version 7.0.1, the launch string on a Linux machine is:
%C %R -n "%B/tvdsvr%K -working_directory %D ...
This string can differ for each architecture that you run on and you can set it differently for each. This launch string is a pattern that TotalView uses when it builds the command that launches the tvdsvr process. You'll find information on what you can type in this area in our Reference Guide.
The %C replacement character indicates which command TotalView uses to launch the tvdsvr process. Here is how you tell TotalView what to do:
If you want a change you've made to your local preferences to be used by
everyone at your site, you can change TotalView's global initialization file.
Here's how:
- Go to your saved preferences file, which is located in your ~/.totalview/preferences6.tvd file, and locate an entry that looks something like the following:
dset -version 2 \
-version {[string compare $TV::platform linux-x86] == 0}\
TV::server_launch_string {ssh %R -n \
"%B/tvdsvr -working_directory %D -callback %L
-set_pw %P -verbosity %V %F"}
- Copy this setting to your site's preferences file. This will be located in a directory that looks something like:
installation_dir/toolworks/totalview.7.0.1-0/arch/lib/.tvdrc
Place the copied string at the end of this file.
After you do this, users who do not set their own server launch string will use this one.
You can find tips that we've already sent out in our Tip Archive
Help us improve these tips!